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

◆ nrf_cc3xx_platform_derived_key_set_info()

int nrf_cc3xx_platform_derived_key_set_info ( nrf_cc3xx_platform_derived_key_ctx_t * ctx,
uint32_t slot_id,
unsigned int key_size,
uint8_t const * label,
size_t label_size )

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

Function to set the key derivation information.

Parameters
[in,out]ctxPointer to the derived key context.
[in]slot_idThe slot id of the derivation key.
[in]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.