mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-25 13:43:31 +00:00
Move enum definition to satisfy check_names.py
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
This commit is contained in:
parent
5567e3a34b
commit
34d6a5c3df
@ -33,16 +33,18 @@
|
|||||||
*/
|
*/
|
||||||
int psa_can_do_hash(psa_algorithm_t hash_alg);
|
int psa_can_do_hash(psa_algorithm_t hash_alg);
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
PSA_SLOT_EMPTY = 0,
|
||||||
|
PSA_SLOT_OCCUPIED,
|
||||||
|
} psa_key_slot_status_t;
|
||||||
|
|
||||||
/** The data structure representing a key slot, containing key material
|
/** The data structure representing a key slot, containing key material
|
||||||
* and metadata for one key.
|
* and metadata for one key.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
psa_core_key_attributes_t attr;
|
psa_core_key_attributes_t attr;
|
||||||
|
|
||||||
enum {
|
psa_key_slot_status_t status;
|
||||||
PSA_SLOT_EMPTY = 0,
|
|
||||||
PSA_SLOT_OCCUPIED,
|
|
||||||
} status;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Number of locks on the key slot held by the library.
|
* Number of locks on the key slot held by the library.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user