mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-10-08 17:57:23 +00:00
ssl_tls12: change log level for ECDH computation
Signed-off-by: Juha-Pekka <[email protected]>
This commit is contained in:
committed by
Juha-Pekka
parent
666fa2da3d
commit
5f4cbcd336
@@ -2304,7 +2304,7 @@ static int ssl_write_client_key_exchange(mbedtls_ssl_context *ssl)
|
|||||||
|
|
||||||
header_len = 4;
|
header_len = 4;
|
||||||
|
|
||||||
MBEDTLS_SSL_DEBUG_MSG(1, ("Perform PSA-based ECDH computation."));
|
MBEDTLS_SSL_DEBUG_MSG(3, ("Perform PSA-based ECDH computation."));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generate EC private key for ECDHE exchange.
|
* Generate EC private key for ECDHE exchange.
|
||||||
@@ -2412,7 +2412,7 @@ static int ssl_write_client_key_exchange(mbedtls_ssl_context *ssl)
|
|||||||
|
|
||||||
header_len += ssl->conf->psk_identity_len;
|
header_len += ssl->conf->psk_identity_len;
|
||||||
|
|
||||||
MBEDTLS_SSL_DEBUG_MSG(1, ("Perform PSA-based ECDH computation."));
|
MBEDTLS_SSL_DEBUG_MSG(3, ("Perform PSA-based ECDH computation."));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Generate EC private key for ECDHE exchange.
|
* Generate EC private key for ECDHE exchange.
|
||||||
|
|||||||
@@ -2683,7 +2683,7 @@ curve_matching_done:
|
|||||||
psa_key_type_t key_type = PSA_KEY_TYPE_NONE;
|
psa_key_type_t key_type = PSA_KEY_TYPE_NONE;
|
||||||
size_t ec_bits = 0;
|
size_t ec_bits = 0;
|
||||||
|
|
||||||
MBEDTLS_SSL_DEBUG_MSG(1, ("Perform PSA-based ECDH computation."));
|
MBEDTLS_SSL_DEBUG_MSG(3, ("Perform PSA-based ECDH computation."));
|
||||||
|
|
||||||
/* Convert EC's TLS ID to PSA key type. */
|
/* Convert EC's TLS ID to PSA key type. */
|
||||||
if (mbedtls_ssl_get_psa_curve_info_from_tls_id(*curr_tls_id,
|
if (mbedtls_ssl_get_psa_curve_info_from_tls_id(*curr_tls_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user