/freebsd/crypto/openssl/crypto/evp/ |
H A D | dh_ctrl.c | 28 && 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 D | ctrl_params_translate.c | 1523 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 D | p_lib.c | 739 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 D | encode_key2any.c | 531 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 D | decode_der2key.c | 347 # define dh_evp_type EVP_PKEY_DH
|
/freebsd/crypto/openssl/crypto/dh/ |
H A D | dh_ameth.c | 521 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 D | dh_pmeth.c | 336 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 D | x509type.c | 51 case EVP_PKEY_DH: in X509_certificate_type()
|
H A D | x_pubkey.c | 652 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_DH) in ossl_d2i_DH_PUBKEY()
|
/freebsd/crypto/openssl/test/ |
H A D | evp_pkey_dparams_test.c | 221 { EVP_PKEY_DH, dhparam_bin, sizeof(dhparam_bin),
|
H A D | endecoder_legacy_test.c | 96 { "DH", { "DH", "type-specific" }, EVP_PKEY_DH, 224 { "DH", EVP_PKEY_DH, DH_params, NULL },
|
H A D | evp_extra_test2.c | 257 {kExampleDHPrivateKeyDER, sizeof(kExampleDHPrivateKeyDER), EVP_PKEY_DH}, 485 if (ak->evptype == EVP_PKEY_DH) { in test_d2i_AutoPrivateKey_ex()
|
H A D | dhtest.c | 786 paramgen_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_DH, 0); in dh_set_dh_nid_test()
|
H A D | evp_extra_test.c | 3132 || !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 D | endecode_test.c | 592 itype = EVP_PKEY_DH; in check_params_DER()
|
H A D | ssl_old_test.c | 756 case EVP_PKEY_DH: in print_key_details()
|
/freebsd/crypto/openssl/crypto/engine/ |
H A D | eng_pkey.c |
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | EVP_PKEY_CTX_new.pod | 86 B<EVP_PKEY_DH>, B<EVP_PKEY_EC>, B<EVP_PKEY_SM2>, B<EVP_PKEY_X25519>,
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | s_cb.c | 425 case EVP_PKEY_DH: in ssl_print_tmp_key()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | evp.h | 67 # 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 D | speed.c | 3201 ffdh_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_DH, NULL); in speed_main()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | tls_openssl.c | 5589 case EVP_PKEY_DH: in openssl_pkey_type_str()
|