Lines Matching defs:dh
185 # include <openssl/dh.h>
967 DH *dh;
1409 dh = get_dh1024dsa();
1411 dh = get_dh512();
1413 dh = get_dh1024();
1414 SSL_CTX_set_tmp_dh(s_ctx, dh);
1415 SSL_CTX_set_tmp_dh(s_ctx2, dh);
1416 DH_free(dh);
2959 DH *dh;
2961 if ((dh = DH_new()) == NULL)
2963 dh->p = BN_bin2bn(dh512_p, sizeof(dh512_p), NULL);
2964 dh->g = BN_bin2bn(dh512_g, sizeof(dh512_g), NULL);
2965 if ((dh->p == NULL) || (dh->g == NULL)) {
2966 DH_free(dh);
2969 return (dh);
3000 DH *dh;
3002 if ((dh = DH_new()) == NULL)
3004 dh->p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL);
3005 dh->g = BN_bin2bn(dh1024_g, sizeof(dh1024_g), NULL);
3006 if ((dh->p == NULL) || (dh->g == NULL)) {
3007 DH_free(dh);
3010 return (dh);
3061 DH *dh;
3063 if ((dh = DH_new()) == NULL)
3065 dh->p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL);
3066 dh->g = BN_bin2bn(dh1024_g, sizeof(dh1024_g), NULL);
3067 if ((dh->p == NULL) || (dh->g == NULL)) {
3068 DH_free(dh);
3071 dh->length = 160;
3072 return (dh);