Skip to content

Commit 4dca821

Browse files
frkvrlubos
authored andcommitted
nrf_security: Moving block_cipher.c to libmbedcrypto
-Due to a complex link order dependency, the fairly recent block_cipher module could end up without access to AES symbols and certain PSA convenience functions. This change moves the block_cipher API from libmbedcrypto_base.a to libmbedcrypto.a which ensures that block_cipher can link locally Note: PSA Crypto APIs is not influenced by this change, this is only relevant for certain legacy functionalities Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent f95f3e1 commit 4dca821

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

subsys/nrf_security/src/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ append_with_prefix(src_crypto_base ${ARM_MBEDTLS_PATH}/library
117117
base64.c
118118
bignum.c
119119
bignum_core.c
120-
block_cipher.c
121120
nist_kw.c
122121
oid.c
123122
padlock.c

subsys/nrf_security/src/legacy/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ if(CONFIG_MBEDTLS_LEGACY_CRYPTO_C OR
2424
CONFIG_PSA_CRYPTO_DRIVER_OBERON OR
2525
CONFIG_PSA_CRYPTO_DRIVER_CRACEN)
2626
append_with_prefix(src_crypto_legacy ${ARM_MBEDTLS_PATH}/library
27+
block_cipher.c
2728
aes.c
2829
cmac.c
2930
ccm.c

0 commit comments

Comments
 (0)