Skip to content

Commit b446bf4

Browse files
tomi-fontnordicjm
authored andcommitted
nrf_security: update duplicated header file for TF-M 2.1.2
Update one of the header files we have duplicated from TF-M for the update to 2.1.2. This is needed to bring in psa_can_do_hash(), otherwise we ened up with duplicate definition linker errors. Only crypto_spe.h is updated as the others don't seem to be needed (e.g. psa_util.h only has comment changes) and provoke compliance issues due to licenses. Those duplicated headers will be removed. Signed-off-by: Tomi Fontanilles <[email protected]>
1 parent b5e6fbc commit b446bf4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

subsys/nrf_security/include/crypto_spe.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* Copyright (c) 2021 Nordic Semiconductor ASA
33
*
44
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*
56
*/
67

78
/**
@@ -23,6 +24,10 @@
2324

2425
#define psa_crypto_init \
2526
PSA_FUNCTION_NAME(psa_crypto_init)
27+
#define psa_can_do_hash \
28+
PSA_FUNCTION_NAME(psa_can_do_hash)
29+
#define psa_can_do_cipher \
30+
PSA_FUNCTION_NAME(psa_can_do_cipher)
2631
#define psa_key_derivation_get_capacity \
2732
PSA_FUNCTION_NAME(psa_key_derivation_get_capacity)
2833
#define psa_key_derivation_set_capacity \

0 commit comments

Comments
 (0)