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

◆ cc3xx_generate_key()

psa_status_t cc3xx_generate_key ( const psa_key_attributes_t * attributes,
uint8_t * key_buffer,
size_t key_buffer_size,
size_t * key_buffer_length )

Generate a random key.

Parameters
[in]attributesAttributes of the key to use
[out]key_bufferBuffer to hold the generated key
[in]key_buffer_sizeSize in bytes of the key_buffer buffer
[out]key_buffer_lengthSize in bytes of the generated key
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure