Fix formatting issue

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-08-25 16:33:47 +01:00
parent b8db2c5726
commit 3242f6c8ef

View File

@ -3517,7 +3517,7 @@ psa_status_t psa_aead_generate_nonce( psa_aead_operation_t *operation,
}
required_nonce_size = PSA_AEAD_NONCE_LENGTH( operation->key_type,
operation->alg );
operation->alg );
if( nonce_size < required_nonce_size )
{
status = PSA_ERROR_BUFFER_TOO_SMALL;