Home
last modified time | relevance | path

Searched refs:EVP_PKEY_DH (Results 1 – 20 of 20) sorted by relevance

/openssl/crypto/evp/
H A Ddh_ctrl.c28 && ctx->pmeth->pkey_id != EVP_PKEY_DH in dh_paramgen_check()
43 && ctx->pmeth->pkey_id != EVP_PKEY_DH in dh_param_derive_check()
86 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DH, EVP_PKEY_OP_PARAMGEN, in EVP_PKEY_CTX_set_dh_paramgen_type()
154 return EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_DH, in EVP_PKEY_CTX_set_dh_nid()
H A Dctrl_params_translate.c1521 case EVP_PKEY_DH: in get_payload_group_name()
1577 case EVP_PKEY_DH: in get_payload_private_key()
1614 case EVP_PKEY_DH: in get_payload_public_key()
1745 case EVP_PKEY_DH: in get_dh_dsa_payload_p()
1769 case EVP_PKEY_DH: in get_dh_dsa_payload_q()
1791 case EVP_PKEY_DH: in get_dh_dsa_payload_g()
2143 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN,
2146 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN,
2149 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2157 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN,
[all …]
H A Dp_lib.c746 case EVP_PKEY_DH: in detect_foreign_key()
941 type = EVP_PKEY_DH; in IMPLEMENT_ECX_VARIANT()
943 type = DH_get0_q(dhkey) == NULL ? EVP_PKEY_DH : EVP_PKEY_DHX; in IMPLEMENT_ECX_VARIANT()
954 if (pkey->type != EVP_PKEY_DH && pkey->type != EVP_PKEY_DHX) { in evp_pkey_get0_DH_int()
1023 { EVP_PKEY_DH, "DH" },
/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c536 # define dh_evp_type EVP_PKEY_DH
1316 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, type_specific_params, der);
1335 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, type_specific_params, pem);
1369 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, EncryptedPrivateKeyInfo, der);
1370 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, EncryptedPrivateKeyInfo, pem);
1371 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, PrivateKeyInfo, der);
1372 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, PrivateKeyInfo, pem);
1373 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, SubjectPublicKeyInfo, der);
1374 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, SubjectPublicKeyInfo, pem);
1444 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, DH, der);
[all …]
H A Ddecode_der2key.c373 # define dh_evp_type EVP_PKEY_DH
/openssl/crypto/dh/
H A Ddh_ameth.c521 DH_set_flags(dh, type == EVP_PKEY_DH ? DH_FLAG_TYPE_DH : DH_FLAG_TYPE_DHX); in dh_pkey_import_from_type()
534 return dh_pkey_import_from_type(params, vpctx, EVP_PKEY_DH); in dh_pkey_import_from()
561 EVP_PKEY_DH,
562 EVP_PKEY_DH,
H A Ddh_pmeth.c334 int type = dctx->param_nid <= 3 ? EVP_PKEY_DHX : EVP_PKEY_DH; in pkey_dh_paramgen()
463 EVP_PKEY_DH,
/openssl/crypto/x509/
H A Dx509type.c51 case EVP_PKEY_DH: in X509_certificate_type()
H A Dx_pubkey.c656 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_DH) in ossl_d2i_DH_PUBKEY()
/openssl/test/
H A Devp_pkey_dparams_test.c221 { EVP_PKEY_DH, dhparam_bin, sizeof(dhparam_bin),
H A Dendecoder_legacy_test.c96 { "DH", { "DH", "type-specific" }, EVP_PKEY_DH,
224 { "DH", EVP_PKEY_DH, DH_params, NULL },
H A Devp_extra_test2.c261 {kExampleDHPrivateKeyDER, sizeof(kExampleDHPrivateKeyDER), EVP_PKEY_DH},
575 if (ak->evptype == EVP_PKEY_DH) { in test_d2i_AutoPrivateKey_ex()
H A Ddhtest.c786 paramgen_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_DH, 0); in dh_set_dh_nid_test()
H A Dendecode_test.c596 itype = EVP_PKEY_DH; in check_params_DER()
H A Devp_extra_test.c3551 || !TEST_int_eq(EVP_PKEY_get_id(pkey2), EVP_PKEY_DH)) in test_EVP_PKEY_set1_DH()
5011 id = EVP_PKEY_DH; in test_custom_pmeth()
5068 } if (id == EVP_PKEY_DH || id == EVP_PKEY_X25519) { in test_custom_pmeth()
H A Dssl_old_test.c769 case EVP_PKEY_DH: in print_key_details()
/openssl/doc/man3/
H A DEVP_PKEY_CTX_new.pod86 B<EVP_PKEY_DH>, B<EVP_PKEY_EC>, B<EVP_PKEY_SM2>, B<EVP_PKEY_X25519>,
/openssl/include/openssl/
H A Devp.h68 # define EVP_PKEY_DH NID_dhKeyAgreement macro
512 # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh))
/openssl/apps/lib/
H A Ds_cb.c429 case EVP_PKEY_DH: in ssl_print_tmp_key()
/openssl/apps/
H A Dspeed.c3906 ffdh_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_DH, NULL); in speed_main()

Completed in 187 milliseconds