nRF Connect SDK API 2.8.99
|
int hw_unique_key_write | ( | enum hw_unique_key_slot | key_slot, |
const uint8_t * | key ) |
#include <include/hw_unique_key.h>
Write a Hardware Unique Key to the KMU.
This can only be done once (until a mass erase happens). This function waits for the flash operation to finish before returning.
[in] | key_slot | The keyslot to write to, see HUK_KEYSLOT_*. |
[in] | key | The key to write. Must be HUK_SIZE_BYTES bytes long. |