diff --git a/library/psa_crypto.c b/library/psa_crypto.c index fdef24051..e021f8a19 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -3719,7 +3719,8 @@ static psa_status_t psa_aead_check_nonce_length( psa_algorithm_t alg, return( PSA_ERROR_INVALID_ARGUMENT ); } -static psa_status_t psa_aead_check_algorithm( psa_algorithm_t alg ) { +static psa_status_t psa_aead_check_algorithm( psa_algorithm_t alg ) +{ if( !PSA_ALG_IS_AEAD( alg ) || PSA_ALG_IS_WILDCARD( alg ) ) return( PSA_ERROR_INVALID_ARGUMENT );