nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ cracen_kmu_get_slot_count()

psa_status_t cracen_kmu_get_slot_count ( const psa_key_attributes_t * key_attr,
unsigned int * slot_count )

#include <cracen_kmu.h>

Get the number of KMU slots a key occupies.

If the key exists, the count is determined from the metadata in its primary slot. Otherwise it is determined from key_attr, which must then be complete (type, bits, algorithm).