Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_read.c440 conn->dh_g_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
442 if (conn->dh_g_len == 0 || end - pos < (int) conn->dh_g_len) in tlsv1_process_diffie_hellman()
444 conn->dh_g = os_malloc(conn->dh_g_len); in tlsv1_process_diffie_hellman()
447 os_memcpy(conn->dh_g, pos, conn->dh_g_len); in tlsv1_process_diffie_hellman()
448 pos += conn->dh_g_len; in tlsv1_process_diffie_hellman()
450 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman()
451 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
Dtlsv1_server_write.c326 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange()
390 if (pos + 2 + conn->cred->dh_g_len > end) { in tls_write_server_key_exchange()
398 WPA_PUT_BE16(pos, conn->cred->dh_g_len); in tls_write_server_key_exchange()
400 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange()
401 pos += conn->cred->dh_g_len; in tls_write_server_key_exchange()
Dtlsv1_cred.h27 size_t dh_g_len; member
Dtlsv1_client_i.h62 size_t dh_g_len; member
Dtlsv1_cred.c407 cred->dh_g_len = hdr.length; in tlsv1_set_dhparams_der()
Dtlsv1_client_write.c257 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_anon_dh()
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dtlsv1_client_read.c439 conn->dh_g_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
441 if (conn->dh_g_len == 0 || end - pos < (int) conn->dh_g_len) in tlsv1_process_diffie_hellman()
443 conn->dh_g = os_malloc(conn->dh_g_len); in tlsv1_process_diffie_hellman()
446 os_memcpy(conn->dh_g, pos, conn->dh_g_len); in tlsv1_process_diffie_hellman()
447 pos += conn->dh_g_len; in tlsv1_process_diffie_hellman()
449 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman()
450 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
Dtlsv1_server_write.c328 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange()
392 if (pos + 2 + conn->cred->dh_g_len > end) { in tls_write_server_key_exchange()
400 WPA_PUT_BE16(pos, conn->cred->dh_g_len); in tls_write_server_key_exchange()
402 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange()
403 pos += conn->cred->dh_g_len; in tls_write_server_key_exchange()
Dtlsv1_cred.h27 size_t dh_g_len; member
Dtlsv1_client_i.h61 size_t dh_g_len; member
Dtlsv1_cred.c336 cred->dh_g_len = hdr.length; in tlsv1_set_dhparams_der()
Dtlsv1_client_write.c257 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_anon_dh()
/external/wpa_supplicant/
Dtlsv1_client.c79 size_t dh_g_len; member
660 conn->dh_g_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
662 if (conn->dh_g_len == 0 || end - pos < (int) conn->dh_g_len) in tlsv1_process_diffie_hellman()
664 conn->dh_g = os_malloc(conn->dh_g_len); in tlsv1_process_diffie_hellman()
667 os_memcpy(conn->dh_g, pos, conn->dh_g_len); in tlsv1_process_diffie_hellman()
668 pos += conn->dh_g_len; in tlsv1_process_diffie_hellman()
670 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman()
671 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
1266 crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_anon_dh()