Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_write.c447 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange()
511 if (2 + conn->cred->dh_g_len > (size_t) (end - pos)) { in tls_write_server_key_exchange()
519 WPA_PUT_BE16(pos, conn->cred->dh_g_len); in tls_write_server_key_exchange()
521 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange()
522 pos += conn->cred->dh_g_len; in tls_write_server_key_exchange()
Dtlsv1_cred.h26 size_t dh_g_len; member
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.c391 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()