Searched refs:dh_g (Results 1 – 9 of 9) sorted by relevance
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | ServerKeyExchangeTest.java | 88 BigInteger dh_g = new BigInteger("987654321"); in testServerKeyExchange_DHE_DSS() local 92 ServerKeyExchange message = new ServerKeyExchange(dh_p, dh_g, dh_Ys, in testServerKeyExchange_DHE_DSS() 100 assertEquals("incorrect ServerKeyExchange", dh_g, message.par2); in testServerKeyExchange_DHE_DSS() 140 BigInteger dh_g = new BigInteger("987654321"); in testServerKeyExchange_DH_anon() local 142 ServerKeyExchange message = new ServerKeyExchange(dh_p, dh_g, dh_Ys, in testServerKeyExchange_DH_anon() 149 assertEquals("incorrect ServerKeyExchange", dh_g, message.par2); in testServerKeyExchange_DH_anon()
|
/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() 1190 os_free(cred->dh_g); in tlsv1_set_dhparams_der() 1191 cred->dh_g = os_malloc(hdr.length); in tlsv1_set_dhparams_der() 1192 if (cred->dh_g == NULL) in tlsv1_set_dhparams_der() 1194 os_memcpy(cred->dh_g, hdr.payload, hdr.length); in tlsv1_set_dhparams_der()
|
D | tlsv1_client_read.c | 703 conn->dh_g = os_malloc(conn->dh_g_len); in tlsv1_process_diffie_hellman() 704 if (conn->dh_g == NULL) in tlsv1_process_diffie_hellman() 706 os_memcpy(conn->dh_g, pos, conn->dh_g_len); in tlsv1_process_diffie_hellman() 709 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman() 710 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
|
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.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/boringssl/src/ssl/ |
D | s3_clnt.c | 1141 CBS dh_p, dh_g, dh_Ys; in ssl3_get_server_key_exchange() local 1144 !CBS_get_u16_length_prefixed(&server_key_exchange, &dh_g) || in ssl3_get_server_key_exchange() 1145 CBS_len(&dh_g) == 0 || in ssl3_get_server_key_exchange() 1159 dh->g = BN_bin2bn(CBS_data(&dh_g), CBS_len(&dh_g), NULL); in ssl3_get_server_key_exchange()
|