Lines Matching defs:dh
163 # include <openssl/dh.h>
1379 DH *dh = NULL;
1683 if ((dh = DH_new()) == NULL) {
1701 if (!(dh->p = BN_bin2bn(p, i, NULL))) {
1707 if (BN_is_zero(dh->p)) {
1727 if (!(dh->g = BN_bin2bn(p, i, NULL))) {
1733 if (BN_is_zero(dh->g)) {
1752 if (!(dh->pub_key = BN_bin2bn(p, i, NULL))) {
1759 if (BN_is_zero(dh->pub_key)) {
1781 s->session->sess_cert->peer_dh_tmp = dh;
1782 dh = NULL;
2035 if (dh != NULL)
2036 DH_free(dh);
3496 DH *dh;
3516 dh = s->session->sess_cert->peer_dh_tmp;
3583 if ((alg_k & SSL_kEDH) && dh == NULL) {
3606 dh_size = BN_num_bits(dh->p);
3643 if (BN_num_bits(dh->p) >