Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_cred.h26 size_t dh_g_len; member
H A 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()
H A Dtlsv1_client_i.h59 size_t dh_g_len; member
H A 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()
H A Dtlsv1_client_write.c382 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_dh()
H A Dtlsv1_cred.c1126 cred->dh_g_len = hdr.length; in tlsv1_set_dhparams_der()