]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(auth): replace plat_convert_pk
authorYann Gautier <yann.gautier@foss.st.com>
Tue, 24 Jan 2023 08:39:47 +0000 (09:39 +0100)
committerManish V Badarkhe <Manish.Badarkhe@arm.com>
Fri, 21 Apr 2023 08:46:01 +0000 (09:46 +0100)
commit4ac5b3949d874c4e0cd74fce8360a554bfd4cd3f
tree54a40c8c0f9a3efd4db297cff66cb8091fe6c383
parent0ca7b32623041acca0e505a07fca458fe0876d79
refactor(auth): replace plat_convert_pk

Following discussions in the reviews of the patch that introduced
plat_convert_pk() function [1], it was decided to deprecate it to
avoid weak function declaration.
A new optional function pointer convert_pk is added to crypto_lib_desc_t.
A new function crypto_mod_convert_pk() will either call
crypto_lib_desc.convert_pk() if it is defined, or do the same
as what was done by the weak function otherwise.

[1] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/17174

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Change-Id: I9358867f8bfd5e96b5ee238c066877da368e43c6
docs/design/auth-framework.rst
docs/porting-guide.rst
drivers/auth/auth_mod.c
drivers/auth/crypto_mod.c
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
include/plat/common/platform.h
plat/st/common/stm32mp_crypto_lib.c