nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ cc3xx_import_key()

psa_status_t cc3xx_import_key ( const psa_key_attributes_t * attributes,
const uint8_t * data,
size_t data_length,
uint8_t * key_buffer,
size_t key_buffer_size,
size_t * key_buffer_length,
size_t * key_bits )

Import a key.

Parameters
[in]attributesAttributes of the key to use
[in]dataBuffer to hold the imported key
[in]data_lengthSize in bytes of the key_buffer buffer
[out]key_bufferInternal buffer to hold the key
[in]key_buffer_sizeSize in bytes of the internal buffer
[out]key_buffer_lengthLength in bytes of the imported key
[out]key_bitsLength in bits the imported key
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure