/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 | 1521 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 D | p_lib.c | 746 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 D | encode_key2any.c | 536 # 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 D | decode_der2key.c | 373 # define dh_evp_type EVP_PKEY_DH
|
/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 | 334 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 D | x509type.c | 51 case EVP_PKEY_DH: in X509_certificate_type()
|
H A D | x_pubkey.c | 656 if (EVP_PKEY_get_id(pkey) == EVP_PKEY_DH) in ossl_d2i_DH_PUBKEY()
|
/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 | 261 {kExampleDHPrivateKeyDER, sizeof(kExampleDHPrivateKeyDER), EVP_PKEY_DH}, 575 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 | endecode_test.c | 596 itype = EVP_PKEY_DH; in check_params_DER()
|
H A D | evp_extra_test.c | 3551 || !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 D | ssl_old_test.c | 769 case EVP_PKEY_DH: in print_key_details()
|
/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>,
|
/openssl/include/openssl/ |
H A D | evp.h | 68 # 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 D | s_cb.c | 429 case EVP_PKEY_DH: in ssl_print_tmp_key()
|
/openssl/apps/ |
H A D | speed.c | 3906 ffdh_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_DH, NULL); in speed_main()
|