Home
last modified time | relevance | path

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

12

/openssl-master/crypto/dh/
A Ddh_lib.c190 int DH_bits(const DH *dh) in DH_bits()
197 int DH_size(const DH *dh) in DH_size()
204 int DH_security_bits(const DH *dh) in DH_security_bits()
219 void DH_get0_pqg(const DH *dh, in DH_get0_pqg()
241 long DH_get_length(const DH *dh) in DH_get_length()
276 const BIGNUM *DH_get0_p(const DH *dh) in DH_get0_p()
281 const BIGNUM *DH_get0_q(const DH *dh) in DH_get0_q()
286 const BIGNUM *DH_get0_g(const DH *dh) in DH_get0_g()
311 void DH_set_flags(DH *dh, int flags) in DH_set_flags()
317 ENGINE *DH_get0_engine(DH *dh) in DH_get0_engine()
[all …]
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()
216 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key) in DH_check_pub_key_ex()
236 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) in DH_check_pub_key()
246 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret) in ossl_dh_check_pub_key_partial()
251 int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret) in ossl_dh_check_priv_key()
284 int ossl_dh_check_pairwise(const DH *dh) in ossl_dh_check_pairwise()
A Ddh_backend.c31 static int dh_ffc_params_fromdata(DH *dh, const OSSL_PARAM params[]) in dh_ffc_params_fromdata()
48 int ossl_dh_params_fromdata(DH *dh, const OSSL_PARAM params[]) in ossl_dh_params_fromdata()
66 int ossl_dh_key_fromdata(DH *dh, const OSSL_PARAM params[]) in ossl_dh_key_fromdata()
94 int ossl_dh_params_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[]) in ossl_dh_params_todata()
106 int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[]) in ossl_dh_key_todata()
124 int ossl_dh_is_foreign(const DH *dh) in ossl_dh_is_foreign()
140 DH *ossl_dh_dup(const DH *dh, int selection) in ossl_dh_dup()
193 DH *dh = NULL; in ossl_dh_key_from_pkcs8() local
A Ddh_group_params.c30 DH *dh = ossl_dh_new_ex(libctx); in dh_param_init() local
57 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()
A Ddh_key.c40 int ossl_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in ossl_dh_compute_key()
108 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key()
138 int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key_padded()
183 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, in dh_bn_mod_exp()
190 static int dh_init(DH *dh) in dh_init()
198 static int dh_finish(DH *dh) in dh_finish()
211 int DH_generate_key(DH *dh) in DH_generate_key()
220 int ossl_dh_generate_public_key(BN_CTX *ctx, const DH *dh, in ossl_dh_generate_public_key()
256 static int generate_key(DH *dh) in generate_key()
373 int ossl_dh_buf2key(DH *dh, const unsigned char *buf, size_t len) in ossl_dh_buf2key()
[all …]
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
167 DH *dh = ossl_dh_key_from_pkcs8(p8, NULL, NULL); in dh_priv_decode() local
227 DH *dh; in dh_param_decode() local
330 DH *DHparams_dup(const DH *dh) in DHparams_dup()
420 DH *dh = pkey->pkey.dh; in dh_pkey_public_check() local
432 DH *dh = pkey->pkey.dh; in dh_pkey_param_check() local
446 DH *dh = from->pkey.dh; in dh_pkey_export_to() local
504 DH *dh = ossl_dh_new_ex(pctx->libctx); in dh_pkey_import_from_type() local
[all …]
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()
A Ddh_gen.c38 int ossl_dh_generate_ffc_parameters(DH *dh, int type, int pbits, int qbits, in ossl_dh_generate_ffc_parameters()
96 DH *dh; in dh_gen_named_group() local
A Ddh_pmeth.c325 DH *dh = NULL; in pkey_dh_paramgen() local
379 DH *dh = NULL; in pkey_dh_keygen() local
402 DH *dh; in pkey_dh_derive() local
A Ddh_meth.c124 int (*compute_key) (unsigned char *key, const BIGNUM *pub_key, DH *dh)) in DH_meth_set_compute_key()
/openssl-master/providers/implementations/keymgmt/
A Ddh_kmgmt.c100 DH *dh = NULL; in dh_newdata() local
114 DH *dh = NULL; in dhx_newdata() local
131 const DH *dh = keydata; in dh_has() local
172 DH *dh = keydata; in dh_import() local
193 DH *dh = keydata; in dh_export() local
284 DH *dh = key; in dh_get_params() local
337 DH *dh = key; in dh_set_params() local
379 const DH *dh = keydata; in dh_validate() local
468 DH *dh = templ; in dh_gen_set_template() local
661 DH *dh = NULL; in dh_gen() local
[all …]
/openssl-master/test/
A Dffc_internal_test.c445 DH *dh = NULL; in ffc_public_validate_test() local
524 DH *dh = NULL; in ffc_private_validate_test() local
581 DH *dh = NULL; in ffc_private_gen_test() local
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
A Ddhtest.c39 DH *dh = NULL; in dh_test() local
242 DH *dh = NULL; in dh_computekey_range_test() local
711 DH *dh = NULL; in dh_test_prime_groups() local
A Devp_libctx_test.c160 DH *dh = NULL; in do_dh_param_keygen() local
/openssl-master/providers/common/
A Dsecuritycheck.c194 int ossl_dh_check_key(OSSL_LIB_CTX *ctx, const DH *dh) in ossl_dh_check_key()
/openssl-master/ssl/
A Dtls_depr.c149 EVP_PKEY *ssl_dh_to_pkey(DH *dh) in ssl_dh_to_pkey()
/openssl-master/apps/
A Ddhparam.c357 static EVP_PKEY *dsa_to_dh(EVP_PKEY *dh) in dsa_to_dh()
/openssl-master/providers/implementations/encode_decode/
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()
A Dencode_key2text.c215 const DH *dh = key; in dh_to_text() local
/openssl-master/providers/implementations/exchange/
A Ddh_exch.c64 DH *dh; member
/openssl-master/crypto/evp/
A Dctrl_params_translate.c1490 const DH *dh = EVP_PKEY_get0_DH(pkey); in get_payload_group_name() local
1546 const DH *dh = EVP_PKEY_get0_DH(pkey); in get_payload_private_key() local
/openssl-master/crypto/bn/
A Dbn_asm.c209 BN_ULONG dh, dl, q, ret = 0, th, tl, t; in bn_div_words() local
/openssl-master/include/openssl/
A Devp.h506 # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh)) argument
A Dssl.h.in1325 # define SSL_CTX_set_tmp_dh(ctx,dh) \ argument
1333 # define SSL_set_tmp_dh(ssl,dh) \ argument

Completed in 46 milliseconds

12