Home
last modified time | relevance | path

Searched refs:dh_g_len (Results 1 – 12 of 12) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_cred.h26 size_t dh_g_len; member
Dtlsv1_server_write.c450 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange()
514 if (2 + conn->cred->dh_g_len > (size_t) (end - pos)) { in tls_write_server_key_exchange()
522 WPA_PUT_BE16(pos, conn->cred->dh_g_len); in tls_write_server_key_exchange()
524 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange()
525 pos += conn->cred->dh_g_len; in tls_write_server_key_exchange()
Dtlsv1_client_i.h59 size_t dh_g_len; member
Dtlsv1_client_read.c709 conn->dh_g_len = val; in tlsv1_process_diffie_hellman()
710 conn->dh_g = os_memdup(pos, conn->dh_g_len); in tlsv1_process_diffie_hellman()
713 pos += conn->dh_g_len; in tlsv1_process_diffie_hellman()
715 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman()
716 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
Dtlsv1_client_write.c382 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_dh()
Dtlsv1_cred.c1126 cred->dh_g_len = hdr.length; in tlsv1_set_dhparams_der()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_cred.h26 size_t dh_g_len; member
Dtlsv1_server_write.c450 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange()
514 if (2 + conn->cred->dh_g_len > (size_t) (end - pos)) { in tls_write_server_key_exchange()
522 WPA_PUT_BE16(pos, conn->cred->dh_g_len); in tls_write_server_key_exchange()
524 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange()
525 pos += conn->cred->dh_g_len; in tls_write_server_key_exchange()
Dtlsv1_client_i.h59 size_t dh_g_len; member
Dtlsv1_client_read.c701 conn->dh_g_len = val; in tlsv1_process_diffie_hellman()
702 conn->dh_g = os_memdup(pos, conn->dh_g_len); in tlsv1_process_diffie_hellman()
705 pos += conn->dh_g_len; in tlsv1_process_diffie_hellman()
707 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman()
708 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
Dtlsv1_client_write.c394 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_dh()
Dtlsv1_cred.c1193 cred->dh_g_len = hdr.length; in tlsv1_set_dhparams_der()