]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(auth)!: unify REGISTER_CRYPTO_LIB
authorYann Gautier <yann.gautier@st.com>
Wed, 15 Mar 2023 10:31:25 +0000 (11:31 +0100)
committerManish V Badarkhe <Manish.Badarkhe@arm.com>
Fri, 21 Apr 2023 08:46:01 +0000 (09:46 +0100)
commitdee99f10b1dcea09091f4a1d53185153802dfb64
treef66b7778fff2d041c14cee44a00db10842fc375a
parent4ac5b3949d874c4e0cd74fce8360a554bfd4cd3f
refactor(auth)!: unify REGISTER_CRYPTO_LIB

Have only one definition for REGISTER_CRYPTO_LIB macro, with all the
possible fields. Worst case adds 4 u64 to crypto_lib_desc.
While at it, correct some MISRA violations:
MC3R1.R12.1: (advisory) The precedence of operators within expressions
should be made explicit.

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: I1342a20e6eef2354753182c2a81ff959e03e5c81
drivers/auth/cryptocell/712/cryptocell_crypto.c
drivers/auth/cryptocell/713/cryptocell_crypto.c
drivers/auth/mbedtls/mbedtls_crypto.c
drivers/nxp/crypto/caam/src/auth/nxp_crypto.c
include/drivers/auth/crypto_mod.h
plat/st/common/stm32mp_crypto_lib.c