Home
last modified time | relevance | path

Searched refs:dh_yc_len (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_client_write.c244 size_t csecret_len, dh_yc_len, shared_len; in tlsv1_key_x_anon_dh() local
276 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
277 dh_yc = os_malloc(dh_yc_len); in tlsv1_key_x_anon_dh()
289 dh_yc, &dh_yc_len)) { in tlsv1_key_x_anon_dh()
298 dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh()
300 WPA_PUT_BE16(*pos, dh_yc_len); in tlsv1_key_x_anon_dh()
302 if (*pos + dh_yc_len > end) { in tlsv1_key_x_anon_dh()
311 os_memcpy(*pos, dh_yc, dh_yc_len); in tlsv1_key_x_anon_dh()
312 *pos += dh_yc_len; in tlsv1_key_x_anon_dh()
Dtlsv1_server_read.c589 u16 dh_yc_len; in tls_process_client_key_exchange_dh_anon() local
622 dh_yc_len = WPA_GET_BE16(pos); in tls_process_client_key_exchange_dh_anon()
625 if (dh_yc + dh_yc_len > end) { in tls_process_client_key_exchange_dh_anon()
627 "(length %d)", dh_yc_len); in tls_process_client_key_exchange_dh_anon()
634 dh_yc, dh_yc_len); in tls_process_client_key_exchange_dh_anon()
655 if (crypto_mod_exp(dh_yc, dh_yc_len, conn->dh_secret, in tls_process_client_key_exchange_dh_anon()