#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_key_management.h>
Get a built-in key.
- Parameters
-
| [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. |
- Return values
-
| 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. |