Searched refs:dh_g (Results 1 – 12 of 12) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | kexgexs.c | 76 const BIGNUM *dh_p, *dh_g; in input_kex_dh_gex_request() local 108 DH_get0_pqg(kex->dh, &dh_p, NULL, &dh_g); in input_kex_dh_gex_request() 111 (r = sshpkt_put_bignum2(ssh, dh_g)) != 0 || in input_kex_dh_gex_request() 131 const BIGNUM *pub_key, *dh_p, *dh_g; in input_kex_dh_gex_init() local 166 DH_get0_pqg(kex->dh, &dh_p, NULL, &dh_g); in input_kex_dh_gex_init() 176 dh_p, dh_g, in input_kex_dh_gex_init()
|
H A D | dh.c | 316 BIGNUM *dh_p = NULL, *dh_g = NULL; in dh_new_group_asc() local 321 BN_hex2bn(&dh_g, gen) == 0) in dh_new_group_asc() 323 if (!DH_set0_pqg(dh, dh_p, NULL, dh_g)) in dh_new_group_asc() 329 BN_clear_free(dh_g); in dh_new_group_asc()
|
H A D | kexgexc.c | 149 const BIGNUM *pub_key, *dh_p, *dh_g; in input_kex_dh_gex_reply() local 188 DH_get0_pqg(kex->dh, &dh_p, NULL, &dh_g); in input_kex_dh_gex_reply() 198 dh_p, dh_g, in input_kex_dh_gex_reply()
|
H A D | monitor.c | 576 const BIGNUM *dh_p, *dh_g; in mm_answer_moduli() local 599 DH_get0_pqg(dh, &dh_p, NULL, &dh_g); in mm_answer_moduli() 602 (r = sshbuf_put_bignum2(m, dh_g)) != 0) in mm_answer_moduli()
|
/freebsd/contrib/wpa/src/tls/ |
H A D | tlsv1_cred.h | 25 u8 *dh_g; /* generator */ member
|
H A D | tlsv1_client_i.h | 58 u8 *dh_g; member
|
H A D | tlsv1_cred.c | 38 os_free(cred->dh_g); in tlsv1_cred_free() 1122 os_free(cred->dh_g); in tlsv1_set_dhparams_der() 1123 cred->dh_g = os_memdup(hdr.payload, hdr.length); in tlsv1_set_dhparams_der() 1124 if (cred->dh_g == NULL) in tlsv1_set_dhparams_der()
|
H A D | tlsv1_server_write.c | 398 conn->cred->dh_g == NULL) { in tls_write_server_key_exchange() 450 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange() 524 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange()
|
H A D | tlsv1_client_read.c | 710 conn->dh_g = os_memdup(pos, conn->dh_g_len); in tlsv1_process_diffie_hellman() 711 if (conn->dh_g == NULL) in tlsv1_process_diffie_hellman() 715 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman() 716 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
|
H A 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()
|
H A D | tlsv1_client_write.c | 382 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_dh()
|
/freebsd/crypto/openssl/providers/fips/ |
H A D | self_test_data.inc | 864 static const unsigned char dh_g[] = { 1011 ST_KAT_PARAM_BIGNUM(OSSL_PKEY_PARAM_FFC_G, dh_g),
|