mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 20:15:31 +00:00
remove trailing spaces
This commit is contained in:
parent
5ed0621dd4
commit
6b4d98cf78
|
@ -1509,7 +1509,7 @@ psa_status_t psa_aead_encrypt( psa_key_slot_t key,
|
||||||
if( !( slot->policy.usage & PSA_KEY_USAGE_ENCRYPT ) )
|
if( !( slot->policy.usage & PSA_KEY_USAGE_ENCRYPT ) )
|
||||||
return( PSA_ERROR_NOT_PERMITTED );
|
return( PSA_ERROR_NOT_PERMITTED );
|
||||||
|
|
||||||
if ( ( key_type & PSA_KEY_TYPE_CATEGORY_MASK ) !=
|
if ( ( key_type & PSA_KEY_TYPE_CATEGORY_MASK ) !=
|
||||||
PSA_KEY_TYPE_CATEGORY_SYMMETRIC )
|
PSA_KEY_TYPE_CATEGORY_SYMMETRIC )
|
||||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||||
|
|
||||||
|
@ -1652,9 +1652,9 @@ psa_status_t psa_aead_decrypt( psa_key_slot_t key,
|
||||||
if( !( slot->policy.usage & PSA_KEY_USAGE_DECRYPT ) )
|
if( !( slot->policy.usage & PSA_KEY_USAGE_DECRYPT ) )
|
||||||
return( PSA_ERROR_NOT_PERMITTED );
|
return( PSA_ERROR_NOT_PERMITTED );
|
||||||
|
|
||||||
if ( !( ( key_type & PSA_KEY_TYPE_CATEGORY_MASK ) ==
|
if ( !( ( key_type & PSA_KEY_TYPE_CATEGORY_MASK ) ==
|
||||||
PSA_KEY_TYPE_CATEGORY_SYMMETRIC
|
PSA_KEY_TYPE_CATEGORY_SYMMETRIC
|
||||||
&& PSA_BLOCK_CIPHER_BLOCK_SIZE( key_type ) ==
|
&& PSA_BLOCK_CIPHER_BLOCK_SIZE( key_type ) ==
|
||||||
cipher_info->block_size ) )
|
cipher_info->block_size ) )
|
||||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue