nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ cracen_kmu_block()

psa_status_t cracen_kmu_block ( const psa_key_attributes_t * key_attr)

#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_kmu.h>

Block a key in the KMU.

This function blocks a key stored in KMU, preventing its use in cryptographic operations.

Parameters
[in]key_attrAttributes of the key to block.
Note
The underlying operation performed is a BLOCK on devices that support it, and a PUSHBLOCK on those that do not.
Return values
PSA_SUCCESSThe operation completed successfully.
PSA_ERROR_INVALID_HANDLEThe key handle is invalid.
PSA_ERROR_DOES_NOT_EXISTThe key does not exist.