/third_party/node/deps/openssl/openssl/crypto/dh/ |
D | dh_lib.c | 32 int DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method() 52 const DH_METHOD *ossl_dh_get_method(const DH *dh) in ossl_dh_get_method() 190 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() 225 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) in DH_set0_pqg() 241 long DH_get_length(const DH *dh) in DH_get_length() 246 int DH_set_length(DH *dh, long length) in DH_set_length() 253 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) in DH_get0_key() [all …]
|
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() 260 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret) in ossl_dh_check_pub_key_partial() 265 int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret) in ossl_dh_check_priv_key() 319 int ossl_dh_check_pairwise(const DH *dh) in ossl_dh_check_pairwise()
|
D | dh_key.c | 40 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 …]
|
D | dh_backend.c | 31 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[], int include_private) in ossl_dh_key_fromdata() 97 int ossl_dh_params_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[]) in ossl_dh_params_todata() 109 int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[], in ossl_dh_key_todata() 129 int ossl_dh_is_foreign(const DH *dh) in ossl_dh_is_foreign() 145 DH *ossl_dh_dup(const DH *dh, int selection) in ossl_dh_dup() 198 DH *dh = NULL; in ossl_dh_key_from_pkcs8() local
|
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()
|
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 167 DH *dh = ossl_dh_key_from_pkcs8(p8, NULL, NULL); in dh_priv_decode() 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 [all …]
|
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()
|
D | dh_gen.c | 38 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
|
/third_party/openssl/crypto/dh/ |
D | dh_lib.c | 32 int DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method() 52 const DH_METHOD *ossl_dh_get_method(const DH *dh) in ossl_dh_get_method() 190 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() 225 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) in DH_set0_pqg() 241 long DH_get_length(const DH *dh) in DH_get_length() 246 int DH_set_length(DH *dh, long length) in DH_set_length() 253 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) in DH_get0_key() [all …]
|
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() 229 int DH_check_pub_key_ex(const DH *dh, const BIGNUM *pub_key) in DH_check_pub_key_ex() 249 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) in DH_check_pub_key() 271 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret) in ossl_dh_check_pub_key_partial() 276 int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret) in ossl_dh_check_priv_key() 330 int ossl_dh_check_pairwise(const DH *dh) in ossl_dh_check_pairwise()
|
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() 196 static int dh_init(DH *dh) in dh_init() 204 static int dh_finish(DH *dh) in dh_finish() 217 int DH_generate_key(DH *dh) in DH_generate_key() 226 int ossl_dh_generate_public_key(BN_CTX *ctx, const DH *dh, in ossl_dh_generate_public_key() 262 static int generate_key(DH *dh) in generate_key() 385 int ossl_dh_buf2key(DH *dh, const unsigned char *buf, size_t len) in ossl_dh_buf2key() [all …]
|
D | dh_backend.c | 31 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[], int include_private) in ossl_dh_key_fromdata() 97 int ossl_dh_params_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[]) in ossl_dh_params_todata() 109 int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[], in ossl_dh_key_todata() 129 int ossl_dh_is_foreign(const DH *dh) in ossl_dh_is_foreign() 145 DH *ossl_dh_dup(const DH *dh, int selection) in ossl_dh_dup() 198 DH *dh = NULL; in ossl_dh_key_from_pkcs8() local
|
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()
|
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 167 DH *dh = ossl_dh_key_from_pkcs8(p8, NULL, NULL); in dh_priv_decode() 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 [all …]
|
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()
|
D | dh_gen.c | 38 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
|
/third_party/openssl/providers/implementations/keymgmt/ |
D | dh_kmgmt.c | 100 DH *dh = NULL; in dh_newdata() local 114 DH *dh = NULL; in dhx_newdata() local 131 const DH *dh = keydata; in dh_has() local 192 DH *dh = keydata; in dh_import() local 217 DH *dh = keydata; in dh_export() local 313 DH *dh = key; in dh_get_params() local 366 DH *dh = key; in dh_set_params() local 378 static int dh_validate_public(const DH *dh, int checktype) in dh_validate_public() 395 static int dh_validate_private(const DH *dh) in dh_validate_private() 408 const DH *dh = keydata; in dh_validate() local [all …]
|
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
D | dh_kmgmt.c | 100 DH *dh = NULL; in dh_newdata() local 114 DH *dh = NULL; in dhx_newdata() local 131 const DH *dh = keydata; in dh_has() local 192 DH *dh = keydata; in dh_import() local 217 DH *dh = keydata; in dh_export() local 313 DH *dh = key; in dh_get_params() local 366 DH *dh = key; in dh_set_params() local 378 static int dh_validate_public(const DH *dh, int checktype) in dh_validate_public() 395 static int dh_validate_private(const DH *dh) in dh_validate_private() 408 const DH *dh = keydata; in dh_validate() local [all …]
|
/third_party/openssl/test/ |
D | ffc_internal_test.c | 446 DH *dh = NULL; in ffc_public_validate_test() local 546 DH *dh = NULL; in ffc_private_validate_test() local 613 DH *dh = NULL; in ffc_private_gen_test() local 668 DH *dh = NULL; in ffc_params_copy_test() local
|
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
|
/third_party/node/src/crypto/ |
D | crypto_dh.cc | 329 DiffieHellman* dh; in GetField() local 356 GetField(args, [](const DH* dh) -> const BIGNUM* { in GetPrime() 364 GetField(args, [](const DH* dh) -> const BIGNUM* { in GetGenerator() 372 GetField(args, [](const DH* dh) -> const BIGNUM* { in GetPublicKey() 380 GetField(args, [](const DH* dh) -> const BIGNUM* { in GetPrivateKey() 449 DiffieHellman* dh; in SetKey() local 462 [](DH* dh, BIGNUM* num) { return DH_set0_key(dh, num, nullptr); }, in SetPublicKey() 468 [](DH* dh, BIGNUM* num) { return DH_set0_key(dh, nullptr, num); }, in SetPrivateKey() 551 DHPointer dh(DH_new()); in Setup() local
|
/third_party/rust/crates/rust-openssl/openssl/src/ |
D | dh.rs | 67 let dh = Dh::from_ptr(cvt_p(ffi::DH_new())?); in from_pqg() localVariable 116 let dh = Dh::from_ptr(cvt_p(ffi::DH_new())?); in generate_params() localVariable 372 let dh = Dh::from_params( in test_dh_params() localVariable 428 let dh = Dh::params_from_pem(params).unwrap(); in test_dh_from_pem() localVariable 435 let dh = Dh::params_from_pem(params).unwrap(); in test_dh_from_der() localVariable
|
/third_party/f2fs-tools/fsck/ |
D | quotaio_tree.c | 93 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in get_free_dqblk() local 124 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in put_free_dqblk() local 140 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in remove_free_dqentry() local 173 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in insert_free_dqentry() local 198 struct qt_disk_dqdbheader *dh; in find_free_dqentry() local 367 struct qt_disk_dqdbheader *dh; in free_dqentry() local 566 struct qt_disk_dqdbheader *dh; in report_block() local
|
/third_party/ffmpeg/libavformat/ |
D | rtmpdh.c | 223 static FFBigNum dh_generate_key(FF_DH *dh) in dh_generate_key() 248 static int dh_compute_key(FF_DH *dh, FFBigNum pub_key_bn, in dh_compute_key() 269 void ff_dh_free(FF_DH *dh) in ff_dh_free() 323 FF_DH *dh; in ff_dh_init() local 348 int ff_dh_generate_public_key(FF_DH *dh) in ff_dh_generate_public_key() 374 int ff_dh_write_public_key(FF_DH *dh, uint8_t *pub_key, int pub_key_len) in ff_dh_write_public_key() 390 int ff_dh_compute_shared_secret_key(FF_DH *dh, const uint8_t *pub_key, in ff_dh_compute_shared_secret_key()
|
/third_party/node/test/parallel/ |
D | test-crypto-dh-leak.js | 16 const dh = crypto.createDiffieHellman(size); constant
|