Home
last modified time | relevance | path

Searched refs:dh1 (Results 1 – 12 of 12) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-dh.js10 const dh1 = crypto.createDiffieHellman(size); constant
11 const p1 = dh1.getPrime('buffer');
13 const key1 = dh1.generateKeys();
15 const secret1 = dh1.computeSecret(key2, 'hex', 'base64');
21 assert.strictEqual(dh1.verifyError, 0);
106 const privkey1 = dh1.getPrivateKey();
110 assert.deepStrictEqual(dh1.getPrime(), dh3.getPrime());
111 assert.deepStrictEqual(dh1.getGenerator(), dh3.getGenerator());
112 assert.deepStrictEqual(dh1.getPublicKey(), dh3.getPublicKey());
113 assert.deepStrictEqual(dh1.getPrivateKey(), dh3.getPrivateKey());
[all …]
Dtest-crypto-secure-heap.js33 const dh1 = createDiffieHellman(size); constant
34 const p1 = dh1.getPrime('buffer');
36 const key1 = dh1.generateKeys();
38 dh1.computeSecret(key2, 'hex', 'base64');
Dtest-crypto-binary-default.js587 const dh1 = crypto.createDiffieHellman(size); constant
588 const p1 = dh1.getPrime('buffer');
590 const key1 = dh1.generateKeys();
592 const secret1 = dh1.computeSecret(key2, 'hex', 'base64');
600 const privkey1 = dh1.getPrivateKey();
604 assert.strictEqual(dh1.getPrime(), dh3.getPrime());
605 assert.strictEqual(dh1.getGenerator(), dh3.getGenerator());
606 assert.strictEqual(dh1.getPublicKey(), dh3.getPublicKey());
607 assert.strictEqual(dh1.getPrivateKey(), dh3.getPrivateKey());
Dtest-crypto-dh-constructor.js10 const dh1 = crypto.createDiffieHellman(size); constant
11 const p1 = dh1.getPrime('buffer');
/third_party/rust/crates/rust-openssl/openssl/src/
Ddh.rs388 let dh1 = Dh::get_2048_256().unwrap(); in test_dh_stored_restored() localVariable
389 let key1 = dh1.generate_key().unwrap(); in test_dh_stored_restored()
403 let dh1 = Dh::get_2048_256().unwrap(); in test_set_keys() localVariable
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() localVariable
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() localVariable
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.public_key()).unwrap(); in test_dh_generate_params_generate_key_compute_key()
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_mosaic_info.cpp798 int32 dh1 = 0; in Calculate() local
801 while (!map [v1] [DeltaCol (patCol, dh1)]) in Calculate()
803 dh1--; in Calculate()
811 kernel.Add (dng_point (dv1, dh1), in Calculate()
812 LinearWeight1 (dh1, dh2) * w1); in Calculate()
815 LinearWeight2 (dh1, dh2) * w1); in Calculate()
817 dh1 = 0; in Calculate()
820 while (!map [v2] [DeltaCol (patCol, dh1)]) in Calculate()
822 dh1--; in Calculate()
830 kernel.Add (dng_point (dv2, dh1), in Calculate()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_signature.c173 int32_t dh1 = 1, dh2 = 1, dw1 = 1, dw2 = 1, a, b; in filter_frame() local
221 dh1 = inlink->h / 32; in filter_frame()
223 dh2 = dh1 + 1; in filter_frame()
227 denom = (sc->divide) ? dh1 * dh2 * dw1 * dw2 : 1; in filter_frame()
235 a = (a == dh1)? dh2 : dh1; in filter_frame()
253 denom = (sc->divide) ? 1 : dh1 * dh2 * dw1 * dw2; in filter_frame()
/third_party/openssl/test/
Ddhtest.c786 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()
/third_party/openssl/providers/implementations/keymgmt/
Ddh_kmgmt.c150 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/node/deps/openssl/openssl/providers/implementations/keymgmt/
Ddh_kmgmt.c150 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/openh264/test/encoder_binary_comparison/Scripts/
Drun_BinarySHA1Comparison.sh65 sw sh dw0 dh0 dw1 dh1 dw2 dh2 dw3 dh3 \
/third_party/chromium/patch/
D0003-ohos-1115.patch200259 zy>e{#z0}<K^A@=y4bGikM$hO5^fFrT?Np<dh1-2R{XNP$rtR5Pc*P1K8vQRwRqOV0