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