Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_write.c251 size_t dh_ys_len; in tls_write_server_key_exchange() local
314 dh_ys_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
315 dh_ys = os_malloc(dh_ys_len); in tls_write_server_key_exchange()
326 dh_ys, &dh_ys_len)) { in tls_write_server_key_exchange()
334 dh_ys, dh_ys_len); in tls_write_server_key_exchange()
401 if (pos + 2 + dh_ys_len > end) { in tls_write_server_key_exchange()
409 WPA_PUT_BE16(pos, dh_ys_len); in tls_write_server_key_exchange()
411 os_memcpy(pos, dh_ys, dh_ys_len); in tls_write_server_key_exchange()
412 pos += dh_ys_len; in tls_write_server_key_exchange()
Dtlsv1_client_read.c457 conn->dh_ys_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
459 if (conn->dh_ys_len == 0 || end - pos < (int) conn->dh_ys_len) in tlsv1_process_diffie_hellman()
461 conn->dh_ys = os_malloc(conn->dh_ys_len); in tlsv1_process_diffie_hellman()
464 os_memcpy(conn->dh_ys, pos, conn->dh_ys_len); in tlsv1_process_diffie_hellman()
465 pos += conn->dh_ys_len; in tlsv1_process_diffie_hellman()
467 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.c295 if (crypto_mod_exp(conn->dh_ys, conn->dh_ys_len, in tlsv1_key_x_anon_dh()