Home
last modified time | relevance | path

Searched refs:dh_ys_len (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_server_write.c252 size_t dh_ys_len; in tls_write_server_key_exchange() local
315 dh_ys_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
316 dh_ys = os_malloc(dh_ys_len); in tls_write_server_key_exchange()
327 dh_ys, &dh_ys_len)) { in tls_write_server_key_exchange()
336 dh_ys, dh_ys_len); in tls_write_server_key_exchange()
403 if (pos + 2 + dh_ys_len > end) { in tls_write_server_key_exchange()
411 WPA_PUT_BE16(pos, dh_ys_len); in tls_write_server_key_exchange()
413 os_memcpy(pos, dh_ys, dh_ys_len); in tls_write_server_key_exchange()
414 pos += dh_ys_len; in tls_write_server_key_exchange()
Dtlsv1_client_read.c459 conn->dh_ys_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
461 if (conn->dh_ys_len == 0 || end - pos < (int) conn->dh_ys_len) in tlsv1_process_diffie_hellman()
463 conn->dh_ys = os_malloc(conn->dh_ys_len); in tlsv1_process_diffie_hellman()
466 os_memcpy(conn->dh_ys, pos, conn->dh_ys_len); in tlsv1_process_diffie_hellman()
467 pos += conn->dh_ys_len; in tlsv1_process_diffie_hellman()
469 conn->dh_ys, conn->dh_ys_len); in tlsv1_process_diffie_hellman()
Dtlsv1_client_i.h59 size_t dh_ys_len; member
Dtlsv1_client_write.c327 if(crypto_mod_exp(conn->dh_ys, conn->dh_ys_len, in tlsv1_key_x_anon_dh()