commit | 7698bcf338e5d3f6ac1ef20264ebae3be837da77 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Sat Mar 03 21:30:44 2018 +0100 |
committer | itayzafrir <itay.zafrir@arm.com> | Wed Sep 05 11:53:25 2018 +0300 |
tree | d0ad92767d211c96d020d1806f7f23b94ff64e4c | |
parent | 92b3073e36247d34edbf56674b6b4a28516bbb6a [diff] [blame] |
Basic interface for key policies Get/set the policy of a key slot. Opaque structure for key policies and field access functions.
diff --git a/include/psa/crypto_struct.h b/include/psa/crypto_struct.h index 9e70512..c0a6738 100644 --- a/include/psa/crypto_struct.h +++ b/include/psa/crypto_struct.h
@@ -118,4 +118,10 @@ } ctx; }; +struct psa_key_policy_s +{ + psa_key_usage_t usage; + psa_algorithm_t alg; +}; + #endif /* PSA_CRYPTO_STRUCT_H */