Home
last modified time | relevance | path

Searched defs:dh (Results 1 – 25 of 27) sorted by relevance

12

/openssl/crypto/dh/
H A Ddh_lib.c196 int DH_bits(const DH *dh) in DH_bits()
203 int DH_size(const DH *dh) in DH_size()
210 int DH_security_bits(const DH *dh) in DH_security_bits()
225 void DH_get0_pqg(const DH *dh, in DH_get0_pqg()
247 long DH_get_length(const DH *dh) in DH_get_length()
282 const BIGNUM *DH_get0_p(const DH *dh) in DH_get0_p()
287 const BIGNUM *DH_get0_q(const DH *dh) in DH_get0_q()
292 const BIGNUM *DH_get0_g(const DH *dh) in DH_get0_g()
317 void DH_set_flags(DH *dh, int flags) in DH_set_flags()
323 ENGINE *DH_get0_engine(DH *dh) in DH_get0_engine()
[all …]
H A Ddh_check.c28 int DH_check_params_ex(const DH *dh) in DH_check_params_ex()
48 int DH_check_params(const DH *dh, int *ret) in DH_check_params()
69 int DH_check_params(const DH *dh, int *ret) in DH_check_params()
111 int DH_check_ex(const DH *dh) in DH_check_ex()
141 int DH_check(const DH *dh, int *ret) in DH_check()
230 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key) in DH_check_pub_key_ex()
250 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) in DH_check_pub_key()
272 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret) in ossl_dh_check_pub_key_partial()
278 int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret) in ossl_dh_check_priv_key()
332 int ossl_dh_check_pairwise(const DH *dh) in ossl_dh_check_pairwise()
H A Ddh_group_params.c29 DH *dh = ossl_dh_new_ex(libctx); in dh_param_init() local
56 void ossl_dh_cache_named_group(DH *dh) in ossl_dh_cache_named_group()
82 int ossl_dh_is_named_safe_prime_group(const DH *dh) in ossl_dh_is_named_safe_prime_group()
93 int DH_get_nid(const DH *dh) in DH_get_nid()
H A Ddh_key.c40 int ossl_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in ossl_dh_compute_key()
114 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key()
144 int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key_padded()
189 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, in dh_bn_mod_exp()
200 static int dh_init(DH *dh) in dh_init()
207 static int dh_finish(DH *dh) in dh_finish()
220 int DH_generate_key(DH *dh) in DH_generate_key()
229 int ossl_dh_generate_public_key(BN_CTX *ctx, const DH *dh, in ossl_dh_generate_public_key()
265 static int generate_key(DH *dh) in generate_key()
388 int ossl_dh_buf2key(DH *dh, const unsigned char *buf, size_t len) in ossl_dh_buf2key()
[all …]
H A Ddh_backend.c31 static int dh_ffc_params_fromdata(DH *dh, const OSSL_PARAM params[]) in dh_ffc_params_fromdata()
42 int ossl_dh_params_fromdata(DH *dh, const OSSL_PARAM params[]) in ossl_dh_params_fromdata()
60 int ossl_dh_key_fromdata(DH *dh, const OSSL_PARAM params[], int include_private) in ossl_dh_key_fromdata()
91 int ossl_dh_params_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[]) in ossl_dh_params_todata()
103 int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[], in ossl_dh_key_todata()
123 int ossl_dh_is_foreign(const DH *dh) in ossl_dh_is_foreign()
139 DH *ossl_dh_dup(const DH *dh, int selection) in ossl_dh_dup()
192 DH *dh = NULL; in ossl_dh_key_from_pkcs8() local
H A Ddh_ameth.c37 DH *dh = NULL; in d2i_dhp() local
70 DH *dh = NULL; in dh_pub_decode() local
113 DH *dh; in dh_pub_encode() local
230 DH *dh; in dh_param_decode() local
333 DH *DHparams_dup(const DH *dh) in DHparams_dup()
399 DH *dh; in dh_pkey_ctrl() local
430 DH *dh = pkey->pkey.dh; in dh_pkey_public_check() local
442 DH *dh = pkey->pkey.dh; in dh_pkey_param_check() local
456 DH *dh = from->pkey.dh; in dh_pkey_export_to() local
514 DH *dh = ossl_dh_new_ex(pctx->libctx); in dh_pkey_import_from_type() local
[all …]
H A Ddh_asn1.c38 DH *dh = (DH *)*pval; in dh_cb() local
97 DH *dh = NULL; in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() local
135 int i2d_DHxparams(const DH *dh, unsigned char **pp) in i2d_DHxparams()
H A Ddh_gen.c39 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits, in ossl_dh_generate_ffc_parameters()
97 DH *dh; in dh_gen_named_group() local
H A Ddh_pmeth.c323 DH *dh = NULL; in pkey_dh_paramgen() local
377 DH *dh = NULL; in pkey_dh_keygen() local
400 DH *dh; in pkey_dh_derive() local
H A Ddh_meth.c120 int (*compute_key) (unsigned char *key, const BIGNUM *pub_key, DH *dh)) in DH_meth_set_compute_key()
/openssl/providers/implementations/keymgmt/
H A Ddh_kmgmt.c101 DH *dh = NULL; in dh_newdata() local
115 DH *dh = NULL; in dhx_newdata() local
132 const DH *dh = keydata; in dh_has() local
193 DH *dh = keydata; in dh_import() local
218 DH *dh = keydata; in dh_export() local
317 DH *dh = key; in dh_get_params() local
370 DH *dh = key; in dh_set_params() local
412 const DH *dh = keydata; in dh_validate() local
501 DH *dh = templ; in dh_gen_set_template() local
698 DH *dh = NULL; in dh_gen() local
[all …]
/openssl/test/
H A Dffc_internal_test.c446 DH *dh = NULL; in ffc_public_validate_test() local
544 DH *dh = NULL; in ffc_private_validate_test() local
611 DH *dh = NULL; in ffc_private_gen_test() local
666 DH *dh = NULL; in ffc_params_copy_test() local
H A Dpem_read_depr_test.c45 DH *dh = NULL; in test_read_dh_params() local
66 DH *dh = NULL; in test_read_dh_x942_params() local
H A Ddhtest.c39 DH *dh = NULL; in dh_test() local
265 DH *dh = NULL; in dh_computekey_range_test() local
734 DH *dh = NULL; in dh_test_prime_groups() local
H A Devp_libctx_test.c190 DH *dh = NULL; in do_dh_param_keygen() local
/openssl/providers/common/
H A Dsecuritycheck.c202 int ossl_dh_check_key(OSSL_LIB_CTX *ctx, const DH *dh) in ossl_dh_check_key()
/openssl/apps/
H A Ddhparam.c374 static EVP_PKEY *dsa_to_dh(EVP_PKEY *dh) in dsa_to_dh()
/openssl/ssl/
H A Dtls_depr.c153 EVP_PKEY *ssl_dh_to_pkey(DH *dh) in ssl_dh_to_pkey()
/openssl/providers/implementations/encode_decode/
H A Dencode_key2any.c443 static int prepare_dh_params(const void *dh, int nid, int save, in prepare_dh_params()
470 static int dh_spki_pub_to_der(const void *dh, unsigned char **pder) in dh_spki_pub_to_der()
491 static int dh_pki_priv_to_der(const void *dh, unsigned char **pder) in dh_pki_priv_to_der()
514 static int dh_type_specific_params_to_der(const void *dh, unsigned char **pder) in dh_type_specific_params_to_der()
528 static int dh_check_key_type(const void *dh, int expected_type) in dh_check_key_type()
H A Dencode_key2text.c218 const DH *dh = key; in dh_to_text() local
/openssl/providers/implementations/exchange/
H A Ddh_exch.c64 DH *dh; member
/openssl/crypto/evp/
H A Dctrl_params_translate.c1519 const DH *dh = EVP_PKEY_get0_DH(pkey); in get_payload_group_name() local
1575 const DH *dh = EVP_PKEY_get0_DH(pkey); in get_payload_private_key() local
/openssl/crypto/bn/
H A Dbn_asm.c209 BN_ULONG dh, dl, q, ret = 0, th, tl, t; in bn_div_words() local
/openssl/include/openssl/
H A Devp.h511 # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh)) argument
H A Dssl.h.in1353 # define SSL_CTX_set_tmp_dh(ctx,dh) \ argument
1361 # define SSL_set_tmp_dh(ssl,dh) \ argument

Completed in 95 milliseconds

12