Lines Matching refs:DH
11 * DH low level APIs are deprecated for public use, but still ok for
30 * i2d/d2i like DH parameter functions which use the appropriate routine for
31 * PKCS#3 DH or X9.42 DH.
34 static DH *d2i_dhp(const EVP_PKEY *pkey, const unsigned char **pp,
37 DH *dh = NULL;
48 static int i2d_dhp(const EVP_PKEY *pkey, const DH *a, unsigned char **pp)
70 DH *dh = NULL;
113 DH *dh;
159 * PKCS#8 DH is defined in PKCS#11 of all places. It is similar to DH in that
167 DH *dh = ossl_dh_key_from_pkcs8(p8, NULL, NULL);
230 DH *dh;
244 static int do_dh_print(BIO *bp, const DH *x, int indent, int ptype)
267 ktype = "DH Private-Key";
269 ktype = "DH Public-Key";
271 ktype = "DH Parameters";
321 static int int_dh_param_copy(DH *to, const DH *from, int is_x942)
333 DH *DHparams_dup(const DH *dh)
335 DH *ret;
392 int DHparams_print(BIO *bp, const DH *x)
399 DH *dh;
405 dh = (DH *) evp_pkey_get0_DH_int(pkey);
410 dh = (DH *) EVP_PKEY_get0_DH(pkey);
430 DH *dh = pkey->pkey.dh;
442 DH *dh = pkey->pkey.dh;
456 DH *dh = from->pkey.dh;
514 DH *dh = ossl_dh_new_ex(pctx->libctx);
544 DH *dh = from->pkey.dh;
545 DH *dupkey = NULL;
565 "DH",
566 "OpenSSL PKCS#3 DH method",
611 "X9.42 DH",
612 "OpenSSL X9.42 DH method",