Searched refs:dh_p (Results 1 - 25 of 32) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_cred.h23 u8 *dh_p; /* prime */ member in struct:tlsv1_credentials
H A Dtlsv1_client_i.h55 u8 *dh_p; member in struct:tlsv1_client
H A Dtlsv1_server_i.h84 void tlsv1_server_get_dh_p(struct tlsv1_server *conn, const u8 **dh_p,
H A Dtlsv1_server.c793 void tlsv1_server_get_dh_p(struct tlsv1_server *conn, const u8 **dh_p, argument
796 *dh_p = conn->cred->dh_p;
802 *dh_p = test_tls_prime511b;
806 *dh_p = test_tls_prime767b;
810 *dh_p = test_tls_prime15;
814 *dh_p = test_tls_prime58;
818 *dh_p = test_tls_non_prime;
H A Dtlsv1_server_write.c374 const u8 *dh_p; local
394 if (conn->cred == NULL || conn->cred->dh_p == NULL ||
401 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len);
423 if (os_memcmp(conn->dh_secret, dh_p, conn->dh_secret_len) > 0)
449 dh_p, dh_p_len, dh_ys, &dh_ys_len)) {
472 * opaque dh_p<1..2^16-1>;
496 /* dh_p */
499 "dh_p");
507 os_memcpy(pos, dh_p, dh_p_len);
H A Dtlsv1_cred.c37 os_free(cred->dh_p);
1168 os_free(cred->dh_p);
1169 cred->dh_p = os_malloc(hdr.length);
1170 if (cred->dh_p == NULL)
1172 os_memcpy(cred->dh_p, hdr.payload, hdr.length);
H A Dtlsv1_server_read.c681 const u8 *dh_p; local
726 if (conn->cred == NULL || conn->cred->dh_p == NULL ||
734 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len);
748 conn->dh_secret_len, dh_p, dh_p_len,
H A Dtlsv1_client.c34 os_free(conn->dh_p);
37 conn->dh_p = conn->dh_g = conn->dh_ys = NULL;
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_cred.h23 u8 *dh_p; /* prime */ member in struct:tlsv1_credentials
H A Dtlsv1_client_i.h55 u8 *dh_p; member in struct:tlsv1_client
H A Dtlsv1_server_i.h84 void tlsv1_server_get_dh_p(struct tlsv1_server *conn, const u8 **dh_p,
H A Dtlsv1_server.c793 void tlsv1_server_get_dh_p(struct tlsv1_server *conn, const u8 **dh_p, argument
796 *dh_p = conn->cred->dh_p;
802 *dh_p = test_tls_prime511b;
806 *dh_p = test_tls_prime767b;
810 *dh_p = test_tls_prime15;
814 *dh_p = test_tls_prime58;
818 *dh_p = test_tls_non_prime;
H A Dtlsv1_server_write.c374 const u8 *dh_p; local
394 if (conn->cred == NULL || conn->cred->dh_p == NULL ||
401 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len);
423 if (os_memcmp(conn->dh_secret, dh_p, conn->dh_secret_len) > 0)
449 dh_p, dh_p_len, dh_ys, &dh_ys_len)) {
472 * opaque dh_p<1..2^16-1>;
496 /* dh_p */
499 "dh_p");
507 os_memcpy(pos, dh_p, dh_p_len);
H A Dtlsv1_cred.c37 os_free(cred->dh_p);
1168 os_free(cred->dh_p);
1169 cred->dh_p = os_malloc(hdr.length);
1170 if (cred->dh_p == NULL)
1172 os_memcpy(cred->dh_p, hdr.payload, hdr.length);
H A Dtlsv1_server_read.c681 const u8 *dh_p; local
726 if (conn->cred == NULL || conn->cred->dh_p == NULL ||
734 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len);
748 conn->dh_secret_len, dh_p, dh_p_len,
H A Dtlsv1_client.c34 os_free(conn->dh_p);
37 conn->dh_p = conn->dh_g = conn->dh_ys = NULL;
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_cred.h23 u8 *dh_p; /* prime */ member in struct:tlsv1_credentials
H A Dtlsv1_client_i.h55 u8 *dh_p; member in struct:tlsv1_client
H A Dtlsv1_server_i.h84 void tlsv1_server_get_dh_p(struct tlsv1_server *conn, const u8 **dh_p,
H A Dtlsv1_server.c793 void tlsv1_server_get_dh_p(struct tlsv1_server *conn, const u8 **dh_p, argument
796 *dh_p = conn->cred->dh_p;
802 *dh_p = test_tls_prime511b;
806 *dh_p = test_tls_prime767b;
810 *dh_p = test_tls_prime15;
814 *dh_p = test_tls_prime58;
818 *dh_p = test_tls_non_prime;
H A Dtlsv1_server_write.c374 const u8 *dh_p; local
394 if (conn->cred == NULL || conn->cred->dh_p == NULL ||
401 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len);
423 if (os_memcmp(conn->dh_secret, dh_p, conn->dh_secret_len) > 0)
449 dh_p, dh_p_len, dh_ys, &dh_ys_len)) {
472 * opaque dh_p<1..2^16-1>;
496 /* dh_p */
499 "dh_p");
507 os_memcpy(pos, dh_p, dh_p_len);
H A Dtlsv1_cred.c37 os_free(cred->dh_p);
1168 os_free(cred->dh_p);
1169 cred->dh_p = os_malloc(hdr.length);
1170 if (cred->dh_p == NULL)
1172 os_memcpy(cred->dh_p, hdr.payload, hdr.length);
H A Dtlsv1_server_read.c681 const u8 *dh_p; local
726 if (conn->cred == NULL || conn->cred->dh_p == NULL ||
734 tlsv1_server_get_dh_p(conn, &dh_p, &dh_p_len);
748 conn->dh_secret_len, dh_p, dh_p_len,
H A Dtlsv1_client.c34 os_free(conn->dh_p);
37 conn->dh_p = conn->dh_g = conn->dh_ys = NULL;
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DServerKeyExchangeTest.java87 BigInteger dh_p = new BigInteger("1234567890");
92 ServerKeyExchange message = new ServerKeyExchange(dh_p, dh_g, dh_Ys,
99 assertEquals("incorrect ServerKeyExchange", dh_p, message.par1);
139 BigInteger dh_p = new BigInteger("1234567890");
142 ServerKeyExchange message = new ServerKeyExchange(dh_p, dh_g, dh_Ys,
148 assertEquals("incorrect ServerKeyExchange", dh_p, message.par1);

Completed in 408 milliseconds

12