Searched refs:dh_g_len (Results 1 – 6 of 6) sorted by relevance
| /trueos/contrib/wpa/src/tls/ |
| HD | tlsv1_client_read.c | 441 conn->dh_g_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman() 443 if (conn->dh_g_len == 0 || end - pos < (int) conn->dh_g_len) in tlsv1_process_diffie_hellman() 445 conn->dh_g = os_malloc(conn->dh_g_len); in tlsv1_process_diffie_hellman() 448 os_memcpy(conn->dh_g, pos, conn->dh_g_len); in tlsv1_process_diffie_hellman() 449 pos += conn->dh_g_len; in tlsv1_process_diffie_hellman() 451 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman() 452 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
|
| HD | tlsv1_server_write.c | 323 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange() 387 if (pos + 2 + conn->cred->dh_g_len > end) { in tls_write_server_key_exchange() 395 WPA_PUT_BE16(pos, conn->cred->dh_g_len); in tls_write_server_key_exchange() 397 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange() 398 pos += conn->cred->dh_g_len; in tls_write_server_key_exchange()
|
| HD | tlsv1_cred.h | 21 size_t dh_g_len; member
|
| HD | tlsv1_client_i.h | 56 size_t dh_g_len; member
|
| HD | tlsv1_cred.c | 420 cred->dh_g_len = hdr.length; in tlsv1_set_dhparams_der()
|
| HD | tlsv1_client_write.c | 254 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_anon_dh()
|