New usage flag PSA_KEY_USAGE_COPY
Document the new flag and allow its use.
This commit is contained in:
parent
4318dfc8ec
commit
8e0206aa26
3 changed files with 26 additions and 0 deletions
|
@ -1344,6 +1344,7 @@ static psa_status_t psa_set_key_policy_internal(
|
|||
const psa_key_policy_t *policy )
|
||||
{
|
||||
if( ( policy->usage & ~( PSA_KEY_USAGE_EXPORT |
|
||||
PSA_KEY_USAGE_COPY |
|
||||
PSA_KEY_USAGE_ENCRYPT |
|
||||
PSA_KEY_USAGE_DECRYPT |
|
||||
PSA_KEY_USAGE_SIGN |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue