diff --git a/library/psa_crypto.c b/library/psa_crypto.c index 4a83b09c92..81673c40fb 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -3372,8 +3372,8 @@ psa_status_t psa_aead_generate_nonce( psa_aead_operation_t *operation, goto exit; } - required_nonce_size = PSA_AEAD_NONCE_LENGTH(operation->key_type, - operation->alg); + required_nonce_size = PSA_AEAD_NONCE_LENGTH( operation->key_type, + operation->alg ); if( nonce_size < required_nonce_size ) { @@ -3577,7 +3577,7 @@ exit: } /* 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;