![]() |
nrfxlib API 3.3.99
|
| int nrf_cc3xx_platform_identity_key_store | ( | uint32_t | slot_id, |
| const uint8_t | key[32] ) |
Function to store an identity key.
This API encrypts 32 bytes of raw key material and stores it in two consecutive KMU slots. The key is encrypted using a key derived from the Master Key Encryption Key (MKEK).
The key is stored in the KMU in a way that makes it accessible to read it from the CPU, but only in encrypted form. To decrypt the key for usage, please use nrf_cc3xx_platform_identity_key_retrieve.
| [in] | slot_id | The first KMU slot ID for the new key (uses 2). |
| [in] | key | The key material to encrypt and store. |