diff --git a/library/psa_crypto_aead.c b/library/psa_crypto_aead.c index 9f673596f..5310702c6 100644 --- a/library/psa_crypto_aead.c +++ b/library/psa_crypto_aead.c @@ -296,7 +296,7 @@ psa_status_t mbedtls_psa_aead_decrypt( goto exit; if( mbedtls_aead_check_nonce_length( &operation, nonce_length ) - != PSA_SUCCESS) + != PSA_SUCCESS ) { status = PSA_ERROR_NOT_SUPPORTED; goto exit; @@ -428,7 +428,7 @@ psa_status_t mbedtls_psa_aead_set_nonce( psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; if( mbedtls_aead_check_nonce_length( operation, nonce_length ) - != PSA_SUCCESS) + != PSA_SUCCESS ) { return( PSA_ERROR_INVALID_ARGUMENT ); }