From 2365fde15385433890dc551e3f9b40ecc43b0a7e Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Mon, 8 Feb 2021 09:52:24 +0100 Subject: [PATCH] psa: rsa: Rename psa_read_rsa_exponent Rename psa_read_rsa_exponent to psa_rsa_read_exponent for consistency in function naming. Signed-off-by: Ronald Cron --- library/psa_crypto_rsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/psa_crypto_rsa.c b/library/psa_crypto_rsa.c index 8cdaa7b77..fa64001ed 100644 --- a/library/psa_crypto_rsa.c +++ b/library/psa_crypto_rsa.c @@ -260,7 +260,7 @@ static psa_status_t rsa_export_public_key( * defined(BUILTIN_KEY_TYPE_RSA_PUBLIC_KEY) */ #if defined(BUILTIN_KEY_TYPE_RSA_KEY_PAIR) -static psa_status_t psa_read_rsa_exponent( const uint8_t *domain_parameters, +static psa_status_t psa_rsa_read_exponent( const uint8_t *domain_parameters, size_t domain_parameters_size, int *exponent ) { @@ -295,7 +295,7 @@ static psa_status_t rsa_generate_key( int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; int exponent; - status = psa_read_rsa_exponent( attributes->domain_parameters, + status = psa_rsa_read_exponent( attributes->domain_parameters, attributes->domain_parameters_size, &exponent ); if( status != PSA_SUCCESS )