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

◆ identity_key_write_random()

int identity_key_write_random ( void  )

#include <include/identity_key.h>

Function to write a random identity key to KMU.

The identity key will be encrypted using the Master Key Encryption Key (MKEK).

Note
This function is generally only used in provisioning of the device and hence is not part of the code running on the end-product.
Returns
IDENTITY_KEY_SUCCESS on success, otherwise a negative identity key error code