/dragonfly/crypto/openssh/ |
H A D | kexgexs.c | 77 const BIGNUM *dh_p, *dh_g; in input_kex_dh_gex_request() local 109 DH_get0_pqg(kex->dh, &dh_p, NULL, &dh_g); in input_kex_dh_gex_request() 112 (r = sshpkt_put_bignum2(ssh, dh_g)) != 0 || in input_kex_dh_gex_request() 132 const BIGNUM *pub_key, *dh_p, *dh_g; in input_kex_dh_gex_init() local 167 DH_get0_pqg(kex->dh, &dh_p, NULL, &dh_g); in input_kex_dh_gex_init() 177 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 | 569 const BIGNUM *dh_p, *dh_g; in mm_answer_moduli() local 592 DH_get0_pqg(dh, &dh_p, NULL, &dh_g); in mm_answer_moduli() 595 (r = sshbuf_put_bignum2(m, dh_g)) != 0) in mm_answer_moduli()
|
/dragonfly/crypto/libressl/ssl/ |
H A D | ssl_kex.c | 107 CBB dh_p, dh_g; in ssl_kex_params_dhe() local 122 if (!CBB_add_u16_length_prefixed(cbb, &dh_g)) in ssl_kex_params_dhe() 124 if (!CBB_add_space(&dh_g, &data, dh_g_len)) in ssl_kex_params_dhe() 163 CBS dh_p, dh_g; in ssl_kex_peer_params_dhe() local 173 if (!CBS_get_u16_length_prefixed(cbs, &dh_g)) { in ssl_kex_peer_params_dhe() 180 if ((g = BN_bin2bn(CBS_data(&dh_g), CBS_len(&dh_g), NULL)) == NULL) in ssl_kex_peer_params_dhe()
|
/dragonfly/contrib/wpa_supplicant/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() 1189 os_free(cred->dh_g); in tlsv1_set_dhparams_der() 1190 cred->dh_g = os_memdup(hdr.payload, hdr.length); in tlsv1_set_dhparams_der() 1191 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 | 702 conn->dh_g = os_memdup(pos, conn->dh_g_len); in tlsv1_process_diffie_hellman() 703 if (conn->dh_g == NULL) in tlsv1_process_diffie_hellman() 707 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman() 708 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 | 394 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_dh()
|