Home
last modified time | relevance | path

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

/freebsd/crypto/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.c1523 case EVP_PKEY_DH: in get_payload_group_name()
1579 case EVP_PKEY_DH: in get_payload_private_key()
1616 case EVP_PKEY_DH: in get_payload_public_key()
1689 case EVP_PKEY_DH: in get_dh_dsa_payload_p()
1713 case EVP_PKEY_DH: in get_dh_dsa_payload_q()
1735 case EVP_PKEY_DH: in get_dh_dsa_payload_g()
2087 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN,
2090 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN,
2093 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
2096 { SET, EVP_PKEY_DH, 0, EVP_PKEY_OP_PARAMGEN | EVP_PKEY_OP_KEYGEN,
[all …]
H A Dp_lib.c739 case EVP_PKEY_DH: in detect_foreign_key()
920 * The EVP_PKEY_DH type is used for dh parameter generation types: in IMPLEMENT_ECX_VARIANT()
928 * The EVP_PKEY_DH type is used to save PKCS#3 data than can be stored in IMPLEMENT_ECX_VARIANT()
934 type = EVP_PKEY_DH; in IMPLEMENT_ECX_VARIANT()
936 type = DH_get0_q(dhkey) == NULL ? EVP_PKEY_DH : EVP_PKEY_DHX; in IMPLEMENT_ECX_VARIANT()
947 if (pkey->type != EVP_PKEY_DH && pkey->type != EVP_PKEY_DHX) { in evp_pkey_get0_DH_int()
1016 { EVP_PKEY_DH, "DH" },
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c531 DH_test_flags(dh, DH_FLAG_TYPE_DHX) ? EVP_PKEY_DHX : EVP_PKEY_DH; in dh_check_key_type()
536 # define dh_evp_type EVP_PKEY_DH
1318 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, type_specific_params, der);
1337 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, type_specific_params, pem);
1371 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, EncryptedPrivateKeyInfo, der);
1372 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, EncryptedPrivateKeyInfo, pem);
1373 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, PrivateKeyInfo, der);
1374 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, PrivateKeyInfo, pem);
1375 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, SubjectPublicKeyInfo, der);
1376 MAKE_ENCODER(dh, dh, EVP_PKEY_DH, SubjectPublicKeyInfo, pem);
[all …]
H A Ddecode_der2key.c347 # define dh_evp_type EVP_PKEY_DH
/freebsd/crypto/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.c336 int type = dctx->param_nid <= 3 ? EVP_PKEY_DHX : EVP_PKEY_DH; in pkey_dh_paramgen()
467 EVP_PKEY_DH,
/freebsd/crypto/openssl/crypto/x509/
H A Dx509type.c51 case EVP_PKEY_DH: in X509_certificate_type()
H A Dx_pubkey.c652 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_DH) in ossl_d2i_DH_PUBKEY()
/freebsd/crypto/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.c257 {kExampleDHPrivateKeyDER, sizeof(kExampleDHPrivateKeyDER), EVP_PKEY_DH},
485 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 Devp_extra_test.c3132 || !TEST_int_eq(EVP_PKEY_get_id(pkey2), EVP_PKEY_DH)) in test_EVP_PKEY_set1_DH()
4553 id = EVP_PKEY_DH; in test_custom_pmeth()
4610 } if (id == EVP_PKEY_DH || id == EVP_PKEY_X25519) { in test_custom_pmeth()
H A Dendecode_test.c592 itype = EVP_PKEY_DH; in check_params_DER()
H A Dssl_old_test.c756 case EVP_PKEY_DH: in print_key_details()
/freebsd/crypto/openssl/crypto/engine/
H A Deng_pkey.c
/freebsd/crypto/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>,
/freebsd/crypto/openssl/apps/lib/
H A Ds_cb.c425 case EVP_PKEY_DH: in ssl_print_tmp_key()
/freebsd/crypto/openssl/include/openssl/
H A Devp.h67 # define EVP_PKEY_DH NID_dhKeyAgreement macro
508 # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh))
/freebsd/crypto/openssl/apps/
H A Dspeed.c3201 ffdh_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_DH, NULL); in speed_main()
/freebsd/contrib/wpa/src/crypto/
H A Dtls_openssl.c5589 case EVP_PKEY_DH: in openssl_pkey_type_str()