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
diff --git a/plat/st/common/stm32mp_crypto_lib.c b/plat/st/common/stm32mp_crypto_lib.c
index 373a008..ea2b8db 100644
--- a/plat/st/common/stm32mp_crypto_lib.c
+++ b/plat/st/common/stm32mp_crypto_lib.c
@@ -650,6 +650,7 @@
crypto_lib_init,
crypto_verify_signature,
crypto_verify_hash,
+ NULL,
crypto_auth_decrypt,
crypto_convert_pk);
@@ -659,5 +660,6 @@
crypto_verify_signature,
crypto_verify_hash,
NULL,
+ NULL,
crypto_convert_pk);
#endif