Lines Matching refs:dh
22 #include <openssl/dh.h>
2086 DH *dh = NULL;
2100 dh = DH_new();
2102 if (peer_tmp == NULL || dh == NULL) {
2127 if (!DH_set0_pqg(dh, p, NULL, g)) {
2134 if (DH_check_params(dh, &check_bits) == 0 || check_bits != 0) {
2140 if (!DH_set0_key(dh, bnpub_key, NULL)) {
2147 if (EVP_PKEY_assign_DH(peer_tmp, dh) == 0) {
2152 dh = NULL;
2177 DH_free(dh);