Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/src/tls/
H A Dtlsv1_server_write.c376 size_t dh_ys_len; in tls_write_server_key_exchange() local
441 dh_ys_len = dh_p_len; in tls_write_server_key_exchange()
442 dh_ys = os_malloc(dh_ys_len); in tls_write_server_key_exchange()
452 dh_p, dh_p_len, dh_ys, &dh_ys_len)) { in tls_write_server_key_exchange()
460 dh_ys, dh_ys_len); in tls_write_server_key_exchange()
528 if (2 + dh_ys_len > (size_t) (end - pos)) { in tls_write_server_key_exchange()
536 WPA_PUT_BE16(pos, dh_ys_len); in tls_write_server_key_exchange()
538 os_memcpy(pos, dh_ys, dh_ys_len); in tls_write_server_key_exchange()
539 pos += dh_ys_len; in tls_write_server_key_exchange()
H A Dtlsv1_client_i.h62 size_t dh_ys_len; member
H A Dtlsv1_client_read.c725 conn->dh_ys_len = val; in tlsv1_process_diffie_hellman()
726 conn->dh_ys = os_memdup(pos, conn->dh_ys_len); in tlsv1_process_diffie_hellman()
729 pos += conn->dh_ys_len; in tlsv1_process_diffie_hellman()
731 conn->dh_ys, conn->dh_ys_len); in tlsv1_process_diffie_hellman()
H A Dtlsv1_client_write.c430 if (crypto_mod_exp(conn->dh_ys, conn->dh_ys_len, in tlsv1_key_x_dh()