mbedtls: compile FFDH support in PSA mode

Include `psa_crypto_ffdh.c` when compiling MbedTLS with PSA support, as
`MBEDTLS_PSA_BUILTIN_KEY_TYPE_DH_PUBLIC_KEY` references the included
functions.

Signed-off-by: Jordan Yates <jordan@embeint.com>
This commit is contained in:
Jordan Yates 2024-04-13 15:31:28 +10:00 committed by Anas Nashif
commit 586882f003

View file

@ -119,6 +119,7 @@ zephyr_interface_library_named(mbedTLS)
${ZEPHYR_CURRENT_MODULE_DIR}/library/psa_crypto_cipher.c
${ZEPHYR_CURRENT_MODULE_DIR}/library/psa_crypto_driver_wrappers_no_static.c
${ZEPHYR_CURRENT_MODULE_DIR}/library/psa_crypto_ecp.c
${ZEPHYR_CURRENT_MODULE_DIR}/library/psa_crypto_ffdh.c
${ZEPHYR_CURRENT_MODULE_DIR}/library/psa_crypto_hash.c
${ZEPHYR_CURRENT_MODULE_DIR}/library/psa_crypto_mac.c
${ZEPHYR_CURRENT_MODULE_DIR}/library/psa_crypto_rsa.c