Skip to content

Commit 672712c

Browse files
author
itayzafrir
committed
Add SPM_PANIC macro for TARGET_TFM
1 parent 99032f6 commit 672712c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_access_control.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,15 @@
1919

2020
#include "psa_crypto_access_control.h"
2121
#include "psa_crypto_slot_management.h"
22+
23+
#if defined(TARGET_TFM)
24+
#define SPM_PANIC(format, ...) \
25+
{ \
26+
while(1){}; \
27+
}
28+
#else
2229
#include "spm_panic.h"
30+
#endif
2331

2432
typedef struct psa_crypto_access_control_s {
2533
psa_key_handle_t key_handle;

0 commit comments

Comments
 (0)