/openssl/crypto/dh/ |
H A D | dh_lib.c | 196 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 D | dh_check.c | 28 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 D | dh_key.c | 40 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 D | dh_group_params.c | 29 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 D | dh_backend.c | 31 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 D | dh_ameth.c | 37 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 D | dh_asn1.c | 38 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 D | dh_gen.c | 39 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 D | dh_pmeth.c | 323 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 D | dh_meth.c | 120 int (*compute_key) (unsigned char *key, const BIGNUM *pub_key, DH *dh)) in DH_meth_set_compute_key()
|
/openssl/providers/implementations/keymgmt/ |
H A D | dh_kmgmt.c | 101 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 414 const DH *dh = keydata; in dh_validate() local 503 DH *dh = templ; in dh_gen_set_template() local 700 DH *dh = NULL; in dh_gen() local [all …]
|
/openssl/test/ |
H A D | ffc_internal_test.c | 446 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 D | pem_read_depr_test.c | 45 DH *dh = NULL; in test_read_dh_params() local 66 DH *dh = NULL; in test_read_dh_x942_params() local
|
H A D | dhtest.c | 39 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 D | evp_libctx_test.c | 191 DH *dh = NULL; in do_dh_param_keygen() local
|
/openssl/providers/common/ |
H A D | securitycheck.c | 195 int ossl_dh_check_key(const DH *dh) in ossl_dh_check_key()
|
/openssl/apps/ |
H A D | dhparam.c | 374 static EVP_PKEY *dsa_to_dh(EVP_PKEY *dh) in dsa_to_dh()
|
/openssl/ssl/ |
H A D | tls_depr.c | 153 EVP_PKEY *ssl_dh_to_pkey(DH *dh) in ssl_dh_to_pkey()
|
/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2any.c | 443 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 D | encode_key2text.c | 219 const DH *dh = key; in dh_to_text() local
|
/openssl/providers/implementations/exchange/ |
H A D | dh_exch.c | 64 DH *dh; member
|
/openssl/crypto/evp/ |
H A D | ctrl_params_translate.c | 1523 const DH *dh = EVP_PKEY_get0_DH(pkey); in get_payload_group_name() local 1579 const DH *dh = EVP_PKEY_get0_DH(pkey); in get_payload_private_key() local
|
/openssl/crypto/bn/ |
H A D | bn_asm.c | 209 BN_ULONG dh, dl, q, ret = 0, th, tl, t; in bn_div_words() local
|
/openssl/include/openssl/ |
H A D | evp.h | 512 # define EVP_PKEY_assign_DH(pkey,dh) EVP_PKEY_assign((pkey),EVP_PKEY_DH,(dh)) argument
|
H A D | ssl.h.in | 1353 # define SSL_CTX_set_tmp_dh(ctx,dh) \ argument 1361 # define SSL_set_tmp_dh(ssl,dh) \ argument
|