mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 02:24:16 +01:00
Remove comments
These comment cannot bring more information than the code does. Signed-off-by: gabor-mezei-arm <gabor.mezei@arm.com>
This commit is contained in:
parent
c31505c351
commit
22984de191
@ -3269,7 +3269,6 @@ static psa_status_t psa_cipher_setup( psa_cipher_operation_t *operation,
|
||||
if( operation->id != 0 )
|
||||
return( PSA_ERROR_BAD_STATE );
|
||||
|
||||
/* The requested algorithm must be one that can be processed by cipher. */
|
||||
if( ! PSA_ALG_IS_CIPHER( alg ) )
|
||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||
|
||||
@ -3495,7 +3494,6 @@ psa_status_t psa_cipher_encrypt( mbedtls_svc_key_id_t key,
|
||||
psa_key_type_t key_type;
|
||||
size_t iv_length;
|
||||
|
||||
/* The requested algorithm must be one that can be processed by cipher. */
|
||||
if( ! PSA_ALG_IS_CIPHER( alg ) )
|
||||
return( PSA_ERROR_INVALID_ARGUMENT );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user