Move legacy definitions to crypto_extra.h

Types and functions that are not used in the attribute-based key
creation API are now implementation-specific extensions, kept around
until we finish transitioning to the new API.
This commit is contained in:
Gilles Peskine 2019-04-19 19:42:26 +02:00
parent 2062859496
commit a3dd737be4
3 changed files with 155 additions and 179 deletions

View file

@ -252,6 +252,7 @@ struct psa_key_policy_s
psa_key_usage_t usage;
psa_algorithm_t alg;
};
typedef struct psa_key_policy_s psa_key_policy_t;
#define PSA_KEY_POLICY_INIT {0, 0}
static inline struct psa_key_policy_s psa_key_policy_init( void )