mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-01-02 14:50:09 +01:00
Update psa_validate_key_policy() for the new policy
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
c7f8dbe837
commit
805251b70c
|
|
@ -1571,6 +1571,7 @@ static psa_status_t psa_validate_key_policy( const psa_key_policy_t *policy )
|
|||
PSA_KEY_USAGE_DECRYPT |
|
||||
PSA_KEY_USAGE_SIGN_HASH |
|
||||
PSA_KEY_USAGE_VERIFY_HASH |
|
||||
PSA_KEY_USAGE_VERIFY_DERIVATION |
|
||||
PSA_KEY_USAGE_DERIVE ) ) != 0 )
|
||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue