nRF Connect SDK API 2.8.99
|
int hw_unique_key_derive_key | ( | enum hw_unique_key_slot | key_slot, |
const uint8_t * | context, | ||
size_t | context_size, | ||
uint8_t const * | label, | ||
size_t | label_size, | ||
uint8_t * | output, | ||
uint32_t | output_size ) |
#include <include/hw_unique_key.h>
Derive a key from the specified HUK, using the nrf_cc3xx_platform API on CryptoCell. Cracen PSA driver APIs on Cracen.
See nrf_cc3xx_platform_kmu_shadow_key_derive() for more info.
[in] | key_slot | Keyslot to derive from. |
[in] | context | Context for key derivation. |
[in] | context_size | Size of context. |
[in] | label | Label for key derivation. |
[in] | label_size | Size of label. |
[out] | output | The derived key. |
[in] | output_size | Size of output. |