mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Update psa_key_agreement to PSA 1.0
This commit is contained in:
@ -3301,7 +3301,8 @@ static int ssl_write_client_key_exchange( mbedtls_ssl_context *ssl )
|
|||||||
content_len = own_pubkey_ecpoint_len + 1;
|
content_len = own_pubkey_ecpoint_len + 1;
|
||||||
|
|
||||||
/* Compute ECDH shared secret. */
|
/* Compute ECDH shared secret. */
|
||||||
status = psa_key_agreement( &generator,
|
status = psa_key_derivation_key_agreement(
|
||||||
|
&generator,
|
||||||
handshake->ecdh_psa_privkey,
|
handshake->ecdh_psa_privkey,
|
||||||
handshake->ecdh_psa_peerkey,
|
handshake->ecdh_psa_peerkey,
|
||||||
handshake->ecdh_psa_peerkey_len,
|
handshake->ecdh_psa_peerkey_len,
|
||||||
|
Reference in New Issue
Block a user