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

◆ identity_key_read()

int identity_key_read ( uint8_t  key[(32)])

#include <include/identity_key.h>

Function to read the identity key from KMU.

The key is read from KMU and decrypted using the Master Key Encryption Key (MKEK).

Parameters
keyBuffer to hold the decrypted identity key
Returns
IDENTITY_KEY_SUCCESS on success, otherwise a negative identity key error code