Update psa_key_agreement to PSA 1.0
@@ -3301,7 +3301,8 @@ static int ssl_write_client_key_exchange( mbedtls_ssl_context *ssl )
content_len = own_pubkey_ecpoint_len + 1;
/* Compute ECDH shared secret. */
- status = psa_key_agreement( &generator,
+ status = psa_key_derivation_key_agreement(
+ &generator,
handshake->ecdh_psa_privkey,
handshake->ecdh_psa_peerkey,
handshake->ecdh_psa_peerkey_len,
