nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_cc3xx_platform_shadow_key_init()

int nrf_cc3xx_platform_shadow_key_init ( nrf_cc3xx_platform_shadow_key_ctx_t * ctx,
uint32_t slot_id,
unsigned int deriv_key_size,
uint8_t const * label,
size_t label_size )

#include <crypto/nrf_cc310_platform/include/nrf_cc3xx_platform_shadow_key.h>

Function to initialize the derived key context.

Parameters
[in,out]ctxPointer to the derived key context.
[in]slot_idThe slot id of the derivation key.
[in]deriv_key_sizeThe key size of the derivation key.
[in]labelPointer to the derivation label.
[in]label_sizeDerivation label size.
Returns
NRF_CC3XX_PLATFORM_SUCCESS on success, otherwise a negative value.