Searched refs:dh_g (Results 1 – 8 of 8) sorted by relevance
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_cred.h | 25 u8 *dh_g; /* generator */ member
|
D | tlsv1_client_i.h | 58 u8 *dh_g; member
|
D | tlsv1_cred.c | 38 os_free(cred->dh_g); in tlsv1_cred_free() 1189 os_free(cred->dh_g); in tlsv1_set_dhparams_der() 1190 cred->dh_g = os_memdup(hdr.payload, hdr.length); in tlsv1_set_dhparams_der() 1191 if (cred->dh_g == NULL) in tlsv1_set_dhparams_der()
|
D | tlsv1_server_write.c | 395 conn->cred->dh_g == NULL) { in tls_write_server_key_exchange() 447 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange() 521 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange()
|
D | tlsv1_client_read.c | 702 conn->dh_g = os_memdup(pos, conn->dh_g_len); in tlsv1_process_diffie_hellman() 703 if (conn->dh_g == NULL) in tlsv1_process_diffie_hellman() 707 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman() 708 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
|
D | tlsv1_client.c | 35 os_free(conn->dh_g); in tlsv1_client_free_dh() 37 conn->dh_p = conn->dh_g = conn->dh_ys = NULL; in tlsv1_client_free_dh()
|
D | tlsv1_client_write.c | 391 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_dh()
|
/external/scapy/scapy/layers/tls/ |
D | keyexchange.py | 315 if not self.dh_g: 316 self.dh_g = pkcs_i2osp(default_params.g, 1) 321 g = pkcs_os2ip(self.dh_g) 342 g = pkcs_os2ip(self.dh_g)
|