mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 06:15:44 +01:00
fix parentheses
This commit is contained in:
parent
1347a73fbe
commit
fc614b1e0e
@ -1656,8 +1656,8 @@ psa_status_t psa_aead_decrypt( psa_key_slot_t key,
|
||||
if( !( slot->policy.usage & PSA_KEY_USAGE_DECRYPT ) )
|
||||
return( PSA_ERROR_NOT_PERMITTED );
|
||||
|
||||
if ( !( ( key_type & PSA_KEY_TYPE_CATEGORY_MASK ) ==
|
||||
PSA_KEY_TYPE_CATEGORY_SYMMETRIC )
|
||||
if ( ( key_type & PSA_KEY_TYPE_CATEGORY_MASK ) !=
|
||||
PSA_KEY_TYPE_CATEGORY_SYMMETRIC )
|
||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||
|
||||
if( alg == PSA_ALG_GCM )
|
||||
|
Loading…
Reference in New Issue
Block a user