mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Basic interface for key policies
Get/set the policy of a key slot. Opaque structure for key policies and field access functions.
This commit is contained in:
committed by
itayzafrir
parent
92b3073e36
commit
7698bcf338
@ -118,4 +118,10 @@ struct psa_aead_operation_s
|
||||
} ctx;
|
||||
};
|
||||
|
||||
struct psa_key_policy_s
|
||||
{
|
||||
psa_key_usage_t usage;
|
||||
psa_algorithm_t alg;
|
||||
};
|
||||
|
||||
#endif /* PSA_CRYPTO_STRUCT_H */
|
||||
|
Reference in New Issue
Block a user