From cbc135599ee68956f21497ec5f8723bc571f3b9c Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Wed, 3 Mar 2021 17:22:09 +0100 Subject: [PATCH] psa: wrapper: Remove unnecessary compiler warning workarounds Signed-off-by: Ronald Cron --- library/psa_crypto_driver_wrappers.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/psa_crypto_driver_wrappers.c b/library/psa_crypto_driver_wrappers.c index 7e42e48f9..6cf23cef9 100644 --- a/library/psa_crypto_driver_wrappers.c +++ b/library/psa_crypto_driver_wrappers.c @@ -63,8 +63,6 @@ psa_status_t psa_driver_wrapper_sign_hash( psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, uint8_t *signature, size_t signature_size, size_t *signature_length ) { - (void)key_buffer_size; - /* Try dynamically-registered SE interface first */ #if defined(MBEDTLS_PSA_CRYPTO_SE_C) const psa_drv_se_t *drv; @@ -149,8 +147,6 @@ psa_status_t psa_driver_wrapper_verify_hash( psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, const uint8_t *signature, size_t signature_length ) { - (void)key_buffer_size; - /* Try dynamically-registered SE interface first */ #if defined(MBEDTLS_PSA_CRYPTO_SE_C) const psa_drv_se_t *drv;