Lines Matching refs:dh
66 DH *dh = NULL;
68 if ((dh = DH_new()) == NULL)
70 dh->p = BN_bin2bn(dh512_p, sizeof(dh512_p), NULL);
71 dh->g = BN_bin2bn(dh512_g, sizeof(dh512_g), NULL);
72 if ((dh->p == NULL) || (dh->g == NULL))
74 return dh;
526 static DH *dh = NULL;
953 dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
955 if (dh == NULL && LogLevel > 7)
980 if (dh == NULL && bitset(TLS_I_DH1024, req))
987 dh = DSA_dup_DH(dsa);
991 if (dh == NULL && bitset(TLS_I_DH512, req))
992 dh = get_dh512();
994 if (dh == NULL)
1011 SSL_CTX_set_tmp_dh(*ctx, dh);
1018 who, 8 * DH_size(dh), *dhparam);
1019 DH_free(dh);