From f25c9767a9d12a7f793fabea78e90512ac5f1c8b Mon Sep 17 00:00:00 2001 From: gabor-mezei-arm Date: Wed, 12 May 2021 11:12:25 +0200 Subject: [PATCH] Enable fallback to software implementation in psa_sign/verify_message driver Signed-off-by: gabor-mezei-arm --- library/psa_crypto_driver_wrappers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/psa_crypto_driver_wrappers.c b/library/psa_crypto_driver_wrappers.c index d2c2b782c..a89b9d265 100644 --- a/library/psa_crypto_driver_wrappers.c +++ b/library/psa_crypto_driver_wrappers.c @@ -125,7 +125,7 @@ psa_status_t psa_driver_wrapper_sign_message( default: /* Key is declared with a lifetime not known to us */ (void)status; - return( PSA_ERROR_INVALID_ARGUMENT ); + break; } return( psa_sign_message_builtin( attributes, @@ -197,7 +197,7 @@ psa_status_t psa_driver_wrapper_verify_message( default: /* Key is declared with a lifetime not known to us */ (void)status; - return( PSA_ERROR_INVALID_ARGUMENT ); + break; } return( psa_verify_message_builtin( attributes,