![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_kmu_get_key_slot | ( | mbedtls_svc_key_id_t | key_id, |
| psa_key_lifetime_t * | lifetime, | ||
| psa_drv_slot_number_t * | slot_number ) |
#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_kmu.h>
Retrieve the slot number for a given key handle.
| [in] | key_id | Key handle identifier. |
| [out] | lifetime | Lifetime for the key. |
| [out] | slot_number | The key's slot number. |
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_INVALID_HANDLE | The key handle is invalid. |
| PSA_ERROR_DOES_NOT_EXIST | The key does not exist. |