Searched refs:dh_g (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.1-release/contrib/wpa/src/tls/
H A Dtlsv1_cred.h20 u8 *dh_g; /* generator */ member in struct:tlsv1_credentials
H A Dtlsv1_client_i.h55 u8 *dh_g; member in struct:tlsv1_client
H A Dtlsv1_cred.c35 os_free(cred->dh_g);
415 os_free(cred->dh_g);
416 cred->dh_g = os_malloc(hdr.length);
417 if (cred->dh_g == NULL)
419 os_memcpy(cred->dh_g, hdr.payload, hdr.length);
H A Dtlsv1_client_read.c445 conn->dh_g = os_malloc(conn->dh_g_len);
446 if (conn->dh_g == NULL)
448 os_memcpy(conn->dh_g, pos, conn->dh_g_len);
451 conn->dh_g, conn->dh_g_len);
452 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2)
H A Dtlsv1_server_write.c272 conn->cred->dh_g == NULL) {
323 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len,
350 * opaque dh_g<1..2^16-1>;
386 /* dh_g */
389 "dh_g");
397 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len);
H A Dtlsv1_client.c34 os_free(conn->dh_g);
36 conn->dh_p = conn->dh_g = conn->dh_ys = NULL;
H A Dtlsv1_client_write.c254 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len,

Completed in 188 milliseconds