mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-02 16:11:01 +00:00
2f0eb51aae
On dual world platforms, we want to run the PK module (pk.c) on the NS side so TLS can use PSA APIs via the PK interface. PK currently has a hard dependency on mbedtls_ecc_group_to_psa() which is declared in crypto_extra.h, but only defined in psa_crypto.c, which is only built for the S side. Without this change, dual world platforms get error messages like the following. [Error] @0,0: L6218E: Undefined symbol mbedtls_ecc_group_to_psa (referred from BUILD/LPC55S69_NS/ARM/mbed-os/features/mbedtls/mbed-crypto/src/pk.o) Make mbedtls_ecc_group_to_psa() inline within crypto_extra.h so that it is available to both NS and S world code. Fixes #3300 Signed-off-by: Darryl Green <darryl.green@arm.com> Signed-off-by: Jaeden Amero <jaeden.amero@arm.com> |
||
---|---|---|
.. | ||
crypto.h | ||
crypto_accel_driver.h | ||
crypto_compat.h | ||
crypto_driver_common.h | ||
crypto_entropy_driver.h | ||
crypto_extra.h | ||
crypto_platform.h | ||
crypto_se_driver.h | ||
crypto_sizes.h | ||
crypto_struct.h | ||
crypto_types.h | ||
crypto_values.h |