psa: Rename ECP key import function
Rename ECP key import function before to move it to psa_crypto_ecp.c to adapt to the naming of exported functions in psa_crypto_ecp.c. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
79cc548cf2
commit
b14dbbeb92
1 changed files with 6 additions and 6 deletions
|
@ -562,7 +562,7 @@ static psa_status_t validate_unstructured_key_bit_size( psa_key_type_t type,
|
||||||
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
|
* \retval #PSA_ERROR_INSUFFICIENT_MEMORY
|
||||||
* \retval #PSA_ERROR_CORRUPTION_DETECTED
|
* \retval #PSA_ERROR_CORRUPTION_DETECTED
|
||||||
*/
|
*/
|
||||||
static psa_status_t psa_import_ecp_key(
|
static psa_status_t mbedtls_psa_ecp_import_key(
|
||||||
const psa_key_attributes_t *attributes,
|
const psa_key_attributes_t *attributes,
|
||||||
const uint8_t *data, size_t data_length,
|
const uint8_t *data, size_t data_length,
|
||||||
uint8_t *key_buffer, size_t key_buffer_size,
|
uint8_t *key_buffer, size_t key_buffer_size,
|
||||||
|
@ -761,7 +761,7 @@ static psa_status_t psa_import_key_into_slot( psa_key_slot_t *slot,
|
||||||
if( status != PSA_SUCCESS )
|
if( status != PSA_SUCCESS )
|
||||||
return( status );
|
return( status );
|
||||||
|
|
||||||
status = psa_import_ecp_key( &attributes,
|
status = mbedtls_psa_ecp_import_key( &attributes,
|
||||||
data, data_length,
|
data, data_length,
|
||||||
slot->key.data, data_length,
|
slot->key.data, data_length,
|
||||||
&slot->key.bytes,
|
&slot->key.bytes,
|
||||||
|
|
Loading…
Reference in a new issue