Lines Matching defs:dh
30 #include "crypto/dh.h"
38 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits,
45 ret = ossl_ffc_params_FIPS186_2_generate(dh->libctx, &dh->params,
50 ret = ossl_ffc_params_FIPS186_4_generate(dh->libctx, &dh->params,
54 dh->dirty_cnt++;
96 DH *dh;
103 dh = ossl_dh_new_by_nid_ex(libctx, nid);
104 if (dh != NULL
105 && ossl_ffc_params_copy(&ret->params, &dh->params)) {
109 DH_free(dh);