Searched refs:dh2 (Results 1 - 8 of 8) sorted by relevance
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | dh.rs | 343 let dh2 = Dh::get_2048_224().unwrap(); in test_dh_rfc5114() 344 ctx.set_tmp_dh(&dh2).unwrap(); in test_dh_rfc5114() 391 let dh2 = Dh::get_2048_256().unwrap(); in test_dh_stored_restored() 392 let key2 = dh2 in test_dh_stored_restored() 406 let dh2 = Dh::get_2048_256().unwrap(); in test_set_keys() 407 let key2 = dh2 in test_set_keys() 444 let dh2 = Dh::get_2048_224().unwrap().generate_key().unwrap(); in test_dh_generate_key_compute_key() 446 let shared_a = dh1.compute_key(dh2.public_key()).unwrap(); in test_dh_generate_key_compute_key() 447 let shared_b = dh2.compute_key(dh1.public_key()).unwrap(); in test_dh_generate_key_compute_key() 463 let dh2 in test_dh_generate_params_generate_key_compute_key() [all...] |
/third_party/node/test/parallel/ |
H A D | test-crypto-dh.js | 13 const dh2 = crypto.createDiffieHellman(p1, 'buffer'); 15 const key2 = dh2.generateKeys('hex'); 17 const secret2 = dh2.computeSecret(key1, 'latin1', 'buffer'); 23 assert.strictEqual(dh2.verifyError, 0);
|
H A D | test-crypto-binary-default.js | 589 const dh2 = crypto.createDiffieHellman(p1, 'base64'); 591 const key2 = dh2.generateKeys('hex'); 593 const secret2 = dh2.computeSecret(key1, 'latin1', 'buffer');
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_mosaic_info.cpp | 799 int32 dh2 = 0; 806 while (!map [v1] [DeltaCol (patCol, dh2)]) 808 dh2++; 812 LinearWeight1 (dh1, dh2) * w1); 814 kernel.Add (dng_point (dv1, dh2), 815 LinearWeight2 (dh1, dh2) * w1); 818 dh2 = 0; 825 while (!map [v2] [DeltaCol (patCol, dh2)]) 827 dh2++; 831 LinearWeight1 (dh1, dh2) * w [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_signature.c | 168 int32_t dh1 = 1, dh2 = 1, dw1 = 1, dw2 = 1, a, b; in filter_frame() local 218 dh2 = dh1 + 1; in filter_frame() 222 denom = (sc->divide) ? dh1 * (int64_t)dh2 * dw1 * dw2 : 1; in filter_frame() 227 if (dh2 > 1) { in filter_frame() 230 a = (a == dh1)? dh2 : dh1; in filter_frame() 248 denom = (sc->divide) ? 1 : dh1 * (int64_t)dh2 * dw1 * dw2; in filter_frame()
|
/third_party/openssl/test/ |
H A D | dhtest.c | 787 DH *dh2 = DH_new(); in dh_get_nid() local 790 || !TEST_ptr(dh2)) in dh_get_nid() 802 if (!TEST_true(DH_set0_pqg(dh2, pcpy, NULL, gcpy))) in dh_get_nid() 806 if (!TEST_ptr(DH_get0_q(dh2))) in dh_get_nid() 810 if (!TEST_int_eq(DH_get_nid(dh2), NID_ffdhe2048)) in dh_get_nid() 816 if (!TEST_true(DH_set0_pqg(dh2, NULL, NULL, gcpy))) in dh_get_nid() 819 if (!TEST_int_eq(DH_get_nid(dh2), NID_undef)) in dh_get_nid() 827 || !TEST_true(DH_set0_pqg(dh2, pcpy, qcpy, gcpy))) in dh_get_nid() 830 if (!TEST_int_eq(DH_get_nid(dh2), NID_undef)) in dh_get_nid() 838 DH_free(dh2); in dh_get_nid() [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
H A D | dh_kmgmt.c | 151 const DH *dh2 = keydata2; in dh_match() local 162 const BIGNUM *pb = DH_get0_pub_key(dh2); in dh_match() 172 const BIGNUM *pb = DH_get0_priv_key(dh2); in dh_match() 183 FFC_PARAMS *dhparams2 = ossl_dh_get0_params((DH *)dh2); in dh_match()
|
/third_party/openssl/providers/implementations/keymgmt/ |
H A D | dh_kmgmt.c | 151 const DH *dh2 = keydata2; in dh_match() local 162 const BIGNUM *pb = DH_get0_pub_key(dh2); in dh_match() 172 const BIGNUM *pb = DH_get0_priv_key(dh2); in dh_match() 183 FFC_PARAMS *dhparams2 = ossl_dh_get0_params((DH *)dh2); in dh_match()
|
Completed in 8 milliseconds