Searched refs:dh1 (Results 1 - 8 of 8) sorted by relevance
/third_party/node/test/parallel/ |
H A D | test-crypto-dh.js | 11 const dh1 = crypto.createDiffieHellman(size); 12 const p1 = dh1.getPrime('buffer'); 14 const key1 = dh1.generateKeys(); 16 const secret1 = dh1.computeSecret(key2, 'hex', 'base64'); 22 assert.strictEqual(dh1.verifyError, 0); 25 // Create "another dh1" using generated keys from dh1, 28 const privkey1 = dh1.getPrivateKey(); 32 assert.deepStrictEqual(dh1.getPrime(), dh3.getPrime()); 33 assert.deepStrictEqual(dh1 [all...] |
H A D | test-crypto-binary-default.js | 587 const dh1 = crypto.createDiffieHellman(size); 588 const p1 = dh1.getPrime('buffer'); 590 const key1 = dh1.generateKeys(); 592 const secret1 = dh1.computeSecret(key2, 'hex', 'base64'); 597 // Create "another dh1" using generated keys from dh1, 600 const privkey1 = dh1.getPrivateKey(); 604 assert.strictEqual(dh1.getPrime(), dh3.getPrime()); 605 assert.strictEqual(dh1.getGenerator(), dh3.getGenerator()); 606 assert.strictEqual(dh1 [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ |
H A D | dh.rs | 388 let dh1 = Dh::get_2048_256().unwrap(); in test_dh_stored_restored() 389 let key1 = dh1.generate_key().unwrap(); in test_dh_stored_restored() 403 let dh1 = Dh::get_2048_256().unwrap(); in test_set_keys() 404 let key1 = dh1.generate_key().unwrap(); in test_set_keys() 443 let dh1 = 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() 462 let dh1 = dh_params1.generate_key().unwrap(); in test_dh_generate_params_generate_key_compute_key() 465 let shared_a = dh1.compute_key(dh2.public_key()).unwrap(); in test_dh_generate_params_generate_key_compute_key() 466 let shared_b = dh2.compute_key(dh1 in test_dh_generate_params_generate_key_compute_key() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_mosaic_info.cpp | 798 int32 dh1 = 0; 801 while (!map [v1] [DeltaCol (patCol, dh1)]) 803 dh1--; 811 kernel.Add (dng_point (dv1, dh1), 812 LinearWeight1 (dh1, dh2) * w1); 815 LinearWeight2 (dh1, dh2) * w1); 817 dh1 = 0; 820 while (!map [v2] [DeltaCol (patCol, dh1)]) 822 dh1--; 830 kernel.Add (dng_point (dv2, dh1), [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 216 dh1 = inlink->h / 32; in filter_frame() 218 dh2 = dh1 + 1; in filter_frame() 222 denom = (sc->divide) ? dh1 * (int64_t)dh2 * dw1 * dw2 : 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/node/deps/openssl/openssl/providers/implementations/keymgmt/ |
H A D | dh_kmgmt.c | 150 const DH *dh1 = keydata1; in dh_match() local 161 const BIGNUM *pa = DH_get0_pub_key(dh1); in dh_match() 171 const BIGNUM *pa = DH_get0_priv_key(dh1); in dh_match() 182 FFC_PARAMS *dhparams1 = ossl_dh_get0_params((DH *)dh1); in dh_match()
|
/third_party/openssl/providers/implementations/keymgmt/ |
H A D | dh_kmgmt.c | 150 const DH *dh1 = keydata1; in dh_match() local 161 const BIGNUM *pa = DH_get0_pub_key(dh1); in dh_match() 171 const BIGNUM *pa = DH_get0_priv_key(dh1); in dh_match() 182 FFC_PARAMS *dhparams1 = ossl_dh_get0_params((DH *)dh1); in dh_match()
|
/third_party/openssl/test/ |
H A D | dhtest.c | 786 DH *dh1 = DH_new_by_nid(NID_ffdhe2048); in dh_get_nid() local 789 if (!TEST_ptr(dh1) in dh_get_nid() 794 DH_get0_pqg(dh1, &p, &q, &g); in dh_get_nid() 839 DH_free(dh1); in dh_get_nid()
|
Completed in 7 milliseconds