/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | ServerKeyExchangeTest.java | 87 BigInteger dh_p = new BigInteger("1234567890"); in testServerKeyExchange_DHE_DSS() local 92 ServerKeyExchange message = new ServerKeyExchange(dh_p, dh_g, dh_Ys, in testServerKeyExchange_DHE_DSS() 99 assertEquals("incorrect ServerKeyExchange", dh_p, message.par1); in testServerKeyExchange_DHE_DSS() 139 BigInteger dh_p = new BigInteger("1234567890"); in testServerKeyExchange_DH_anon() local 142 ServerKeyExchange message = new ServerKeyExchange(dh_p, dh_g, dh_Ys, in testServerKeyExchange_DH_anon() 148 assertEquals("incorrect ServerKeyExchange", dh_p, message.par1); in testServerKeyExchange_DH_anon()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_server.c | 793 void tlsv1_server_get_dh_p(struct tlsv1_server *conn, const u8 **dh_p, in tlsv1_server_get_dh_p() argument 796 *dh_p = conn->cred->dh_p; in tlsv1_server_get_dh_p() 802 *dh_p = test_tls_prime511b; in tlsv1_server_get_dh_p() 806 *dh_p = test_tls_prime767b; in tlsv1_server_get_dh_p() 810 *dh_p = test_tls_prime15; in tlsv1_server_get_dh_p() 814 *dh_p = test_tls_prime58; in tlsv1_server_get_dh_p() 818 *dh_p = test_tls_non_prime; in tlsv1_server_get_dh_p()
|
D | tlsv1_server_write.c | 374 const u8 *dh_p; in tls_write_server_key_exchange() local 394 if (conn->cred == NULL || conn->cred->dh_p == NULL || in tls_write_server_key_exchange() 401 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len); in tls_write_server_key_exchange() 423 if (os_memcmp(conn->dh_secret, dh_p, conn->dh_secret_len) > 0) in tls_write_server_key_exchange() 449 dh_p, dh_p_len, dh_ys, &dh_ys_len)) { in tls_write_server_key_exchange() 507 os_memcpy(pos, dh_p, dh_p_len); in tls_write_server_key_exchange()
|
D | tlsv1_cred.h | 23 u8 *dh_p; /* prime */ member
|
D | tlsv1_server_i.h | 84 void tlsv1_server_get_dh_p(struct tlsv1_server *conn, const u8 **dh_p,
|
D | tlsv1_client_i.h | 55 u8 *dh_p; member
|
D | tlsv1_cred.c | 37 os_free(cred->dh_p); in tlsv1_cred_free() 1168 os_free(cred->dh_p); in tlsv1_set_dhparams_der() 1169 cred->dh_p = os_malloc(hdr.length); in tlsv1_set_dhparams_der() 1170 if (cred->dh_p == NULL) in tlsv1_set_dhparams_der() 1172 os_memcpy(cred->dh_p, hdr.payload, hdr.length); in tlsv1_set_dhparams_der()
|
D | tlsv1_server_read.c | 681 const u8 *dh_p; in tls_process_client_key_exchange_dh() local 726 if (conn->cred == NULL || conn->cred->dh_p == NULL || in tls_process_client_key_exchange_dh() 734 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len); in tls_process_client_key_exchange_dh() 748 conn->dh_secret_len, dh_p, dh_p_len, in tls_process_client_key_exchange_dh()
|
D | tlsv1_client_write.c | 369 if (os_memcmp(csecret, conn->dh_p, csecret_len) > 0) in tlsv1_key_x_dh() 393 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_dh() 441 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_dh()
|
D | tlsv1_client_read.c | 688 conn->dh_p = os_malloc(conn->dh_p_len); in tlsv1_process_diffie_hellman() 689 if (conn->dh_p == NULL) in tlsv1_process_diffie_hellman() 691 os_memcpy(conn->dh_p, pos, conn->dh_p_len); in tlsv1_process_diffie_hellman() 694 conn->dh_p, conn->dh_p_len); in tlsv1_process_diffie_hellman()
|
D | tlsv1_client.c | 34 os_free(conn->dh_p); in tlsv1_client_free_dh() 37 conn->dh_p = conn->dh_g = conn->dh_ys = NULL; in tlsv1_client_free_dh()
|
/external/boringssl/src/ssl/ |
D | s3_clnt.c | 1141 CBS dh_p, dh_g, dh_Ys; in ssl3_get_server_key_exchange() local 1142 if (!CBS_get_u16_length_prefixed(&server_key_exchange, &dh_p) || in ssl3_get_server_key_exchange() 1143 CBS_len(&dh_p) == 0 || in ssl3_get_server_key_exchange() 1158 dh->p = BN_bin2bn(CBS_data(&dh_p), CBS_len(&dh_p), NULL); in ssl3_get_server_key_exchange()
|