![]() |
nRF Connect SDK API 3.4.99
|
| psa_status_t cracen_get_builtin_key | ( | psa_drv_slot_number_t | slot_number, |
| psa_key_attributes_t * | attributes, | ||
| uint8_t * | key_buffer, | ||
| size_t | key_buffer_size, | ||
| size_t * | key_buffer_length ) |
#include <cracen_psa_key_management.h>
Get a built-in key.
| [in] | slot_number | Key slot number. |
| [out] | attributes | Key attributes. |
| [out] | key_buffer | Buffer representing the built-in key. |
| [in] | key_buffer_size | Size of the key buffer in bytes. |
| [out] | key_buffer_length | Length of key buffer for the built-in key in bytes. |
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_DOES_NOT_EXIST | The key does not exist. |
| PSA_ERROR_BUFFER_TOO_SMALL | The key buffer is too small. |