Rename psa_generate_key() and psa_generator_import_key()
This commit is contained in:
parent
971bd69696
commit
5a5a79ae2a
10 changed files with 41 additions and 41 deletions
|
@ -3148,7 +3148,7 @@ static int ssl_write_client_key_exchange( mbedtls_ssl_context *ssl )
|
|||
return( MBEDTLS_ERR_SSL_HW_ACCEL_FAILED );
|
||||
|
||||
/* Generate ECDH private key. */
|
||||
status = psa_generate_key_to_handle( handshake->ecdh_psa_privkey,
|
||||
status = psa_generate_random_key_to_handle( handshake->ecdh_psa_privkey,
|
||||
PSA_KEY_TYPE_ECC_KEYPAIR( handshake->ecdh_psa_curve ),
|
||||
MBEDTLS_PSA_ECC_KEY_BITS_OF_CURVE( handshake->ecdh_psa_curve ),
|
||||
NULL, 0 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue