Skip to content

Commit 1dc79a6

Browse files
frkvde-nordic
authored andcommitted
nrf_security: Add psa_purge_key to PSA core lite
-This API does nothing, but it is added to make sure ifdefs can be avoided in MCUboot which needs to support both PSA core lite and other implementations of PSA crypto core and drivers Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent aa445d6 commit 1dc79a6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

subsys/nrf_security/src/core/lite/psa_core_lite.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,13 @@ psa_status_t psa_lock_key(mbedtls_svc_key_id_t key_id)
448448
return cracen_kmu_block(&attr);
449449
}
450450

451+
psa_status_t psa_purge_key(mbedtls_svc_key_id_t key_id)
452+
{
453+
(void) key_id;
454+
/* Do nothing */
455+
return PSA_SUCCESS;
456+
}
457+
451458
#endif /* PSA_NEED_CRACEN_KMU_DRIVER */
452459

453460
/* Initialization function */

0 commit comments

Comments
 (0)