From c36c14c7afe9c0af39e3835fa362790fd1724816 Mon Sep 17 00:00:00 2001 From: Sergey Date: Fri, 10 Feb 2023 14:14:00 -0700 Subject: [PATCH] Update psa_crypto_driver_wrappers.c.jinja Signed-off-by: Sergey --- .../driver_templates/psa_crypto_driver_wrappers.c.jinja | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/data_files/driver_templates/psa_crypto_driver_wrappers.c.jinja b/scripts/data_files/driver_templates/psa_crypto_driver_wrappers.c.jinja index e716e409ff..bdf331516c 100644 --- a/scripts/data_files/driver_templates/psa_crypto_driver_wrappers.c.jinja +++ b/scripts/data_files/driver_templates/psa_crypto_driver_wrappers.c.jinja @@ -1182,8 +1182,9 @@ psa_status_t psa_driver_wrapper_cipher_decrypt_setup( operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID; return( status ); -#endif /* MBEDTLS_PSA_BUILTIN_CIPHER */ +#else /* MBEDTLS_PSA_BUILTIN_CIPHER */ return( PSA_ERROR_NOT_SUPPORTED ); +#endif /* MBEDTLS_PSA_BUILTIN_CIPHER */ /* Add cases for opaque driver here */ #if defined(PSA_CRYPTO_ACCELERATOR_DRIVER_PRESENT)