mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-01 21:10:16 +00:00
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 <ronald.cron@arm.com>
This commit is contained in:
parent
761905e7a3
commit
2365fde153
|
@ -260,7 +260,7 @@ static psa_status_t rsa_export_public_key(
|
||||||
* defined(BUILTIN_KEY_TYPE_RSA_PUBLIC_KEY) */
|
* defined(BUILTIN_KEY_TYPE_RSA_PUBLIC_KEY) */
|
||||||
|
|
||||||
#if defined(BUILTIN_KEY_TYPE_RSA_KEY_PAIR)
|
#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,
|
size_t domain_parameters_size,
|
||||||
int *exponent )
|
int *exponent )
|
||||||
{
|
{
|
||||||
|
@ -295,7 +295,7 @@ static psa_status_t rsa_generate_key(
|
||||||
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
|
||||||
int exponent;
|
int exponent;
|
||||||
|
|
||||||
status = psa_read_rsa_exponent( attributes->domain_parameters,
|
status = psa_rsa_read_exponent( attributes->domain_parameters,
|
||||||
attributes->domain_parameters_size,
|
attributes->domain_parameters_size,
|
||||||
&exponent );
|
&exponent );
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
|
|
Loading…
Reference in a new issue