Formatting fixes for psa_crypto.c

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-05-11 22:22:42 +01:00
parent 81231f33f0
commit bbe90b5f7f

View file

@ -3372,8 +3372,8 @@ psa_status_t psa_aead_generate_nonce( psa_aead_operation_t *operation,
goto exit; goto exit;
} }
required_nonce_size = PSA_AEAD_NONCE_LENGTH(operation->key_type, required_nonce_size = PSA_AEAD_NONCE_LENGTH( operation->key_type,
operation->alg); operation->alg );
if( nonce_size < required_nonce_size ) if( nonce_size < required_nonce_size )
{ {
@ -3577,7 +3577,7 @@ exit:
} }
/* Abort an AEAD operation. */ /* Abort an AEAD operation. */
psa_status_t psa_aead_abort(psa_aead_operation_t *operation) psa_status_t psa_aead_abort( psa_aead_operation_t *operation )
{ {
psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED;