Searched refs:createDiffieHellman (Results 1 – 16 of 16) sorted by relevance
/third_party/node/test/parallel/ |
D | test-crypto-dh.js | 10 const dh1 = crypto.createDiffieHellman(size); 12 const dh2 = crypto.createDiffieHellman(p1, 'buffer'); 27 assert.throws(() => crypto.createDiffieHellman(13.37), { 34 assert.throws(() => crypto.createDiffieHellman('abcdef', 13.37), { 43 assert.throws(() => crypto.createDiffieHellman(bits), { 49 assert.throws(() => crypto.createDiffieHellman(bits), { 60 crypto.createDiffieHellman('abcdef', g); 61 crypto.createDiffieHellman('abcdef', 'hex', g); 70 assert.throws(() => crypto.createDiffieHellman('abcdef', g), ex); 71 assert.throws(() => crypto.createDiffieHellman('abcdef', 'hex', g), ex); [all …]
|
D | test-crypto-dh-modp2.js | 13 const exmodp2 = crypto.createDiffieHellman(modp2buf, Buffer.from([2])); 25 const exmodp2 = crypto.createDiffieHellman(modp2buf, '\x02'); 36 const exmodp2 = crypto.createDiffieHellman(modp2buf, 2);
|
D | test-crypto-secure-heap.js | 18 createDiffieHellman, 33 const dh1 = createDiffieHellman(size); 35 const dh2 = createDiffieHellman(p1, 'buffer');
|
D | test-crypto-dh-curves.js | 16 crypto.createDiffieHellman(p, 'hex'); 19 const bad_dh = crypto.createDiffieHellman('02', 'hex');
|
D | test-crypto-binary-default.js | 587 const dh1 = crypto.createDiffieHellman(size); 589 const dh2 = crypto.createDiffieHellman(p1, 'base64'); 599 const dh3 = crypto.createDiffieHellman(p1, 'buffer'); 618 crypto.createDiffieHellman(p, 'hex');
|
D | test-crypto-dh-padding.js | 100 const p = crypto.createDiffieHellman(
|
D | test-crypto-dh-odd-key.js | 33 const c = crypto.createDiffieHellman(common.hasOpenSSL3 ? 1024 : 32);
|
D | test-crypto-dh-constructor.js | 10 const dh1 = crypto.createDiffieHellman(size);
|
D | test-crypto-dh-modp2-views.js | 16 const exmodp2 = crypto.createDiffieHellman(buf, '02', 'hex');
|
D | test-crypto-dh-leak.js | 16 const dh = crypto.createDiffieHellman(size);
|
D | test-crypto-dh-stateless.js | 133 const dh = crypto.createDiffieHellman(group.getPrime(), group.getGenerator());
|
/third_party/node/test/pummel/ |
D | test-dh-regr.js | 40 const p = crypto.createDiffieHellman(length).getPrime(); 43 const a = crypto.createDiffieHellman(p); 44 const b = crypto.createDiffieHellman(p);
|
/third_party/node/lib/ |
D | crypto.js | 152 function createDiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding) { function 182 createDiffieHellman, property
|
/third_party/node/doc/api/ |
D | crypto.md | 984 [`crypto.createDiffieHellman()`][] function. 990 createDiffieHellman, 994 const alice = createDiffieHellman(2048); 998 const bob = createDiffieHellman(alice.getPrime(), alice.getGenerator()); 1013 createDiffieHellman, 1017 const alice = createDiffieHellman(2048); 1021 const bob = createDiffieHellman(alice.getPrime(), alice.getGenerator()); 3229 ### `crypto.createDiffieHellman(prime[, primeEncoding][, generator][, generatorEncoding])` 3265 ### `crypto.createDiffieHellman(primeLength[, generator])` 4147 [`crypto.createDiffieHellman()`][], but will not allow changing [all …]
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V13.md | 1268 …(https://github.com/nodejs/node/commit/18b34def41)] - **doc**: fix createDiffieHellman generator t…
|
D | CHANGELOG_V12.md | 3272 …(https://github.com/nodejs/node/commit/2d9d59f427)] - **doc**: fix createDiffieHellman generator t…
|