nrfxlib API 2.8.99
|
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.
[in] | attributes | Attributes of the key to use |
[in] | data | Buffer to hold the imported key |
[in] | data_length | Size in bytes of the key_buffer buffer |
[out] | key_buffer | Internal buffer to hold the key |
[in] | key_buffer_size | Size in bytes of the internal buffer |
[out] | key_buffer_length | Length in bytes of the imported key |
[out] | key_bits | Length in bits the imported key |
PSA_SUCCESS | on success. Error code from psa_status_t on failure |