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:
parent
92b3073e36
commit
7698bcf338
2 changed files with 82 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue