Searched refs:createDiffieHellman (Results 1 – 14 of 14) sorted by relevance
/third_party/node/test/parallel/ |
D | test-crypto-dh.js | 11 const dh1 = crypto.createDiffieHellman(common.hasFipsCrypto ? 1024 : 256); 13 const dh2 = crypto.createDiffieHellman(p1, 'buffer'); 26 assert.throws(() => crypto.createDiffieHellman(13.37), { 33 assert.throws(() => crypto.createDiffieHellman('abcdef', 13.37), { 41 assert.throws(() => crypto.createDiffieHellman(bits), { 51 crypto.createDiffieHellman('abcdef', g); 52 crypto.createDiffieHellman('abcdef', 'hex', g); 61 assert.throws(() => crypto.createDiffieHellman('abcdef', g), ex); 62 assert.throws(() => crypto.createDiffieHellman('abcdef', 'hex', g), ex); 65 crypto.createDiffieHellman('abcdef', Buffer.from([2])); // OK [all …]
|
D | test-crypto-binary-default.js | 586 const dh1 = crypto.createDiffieHellman(common.hasFipsCrypto ? 1024 : 256); 588 const dh2 = crypto.createDiffieHellman(p1, 'base64'); 598 const dh3 = crypto.createDiffieHellman(p1, 'buffer'); 617 crypto.createDiffieHellman(p, 'hex');
|
D | test-crypto-dh-odd-key.js | 33 const c = crypto.createDiffieHellman(32);
|
D | test-crypto-dh-padding.js | 100 const p = crypto.createDiffieHellman(
|
D | test-crypto-dh-leak.js | 15 const dh = crypto.createDiffieHellman(common.hasFipsCrypto ? 1024 : 256);
|
D | test-crypto-dh-stateless.js | 120 const dh = crypto.createDiffieHellman(group.getPrime(), group.getGenerator());
|
/third_party/node/test/pummel/ |
D | test-dh-regr.js | 41 const p = crypto.createDiffieHellman(length).getPrime(); 44 const a = crypto.createDiffieHellman(p); 45 const b = crypto.createDiffieHellman(p);
|
/third_party/node/lib/ |
D | crypto.js | 133 function createDiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding) { function 161 createDiffieHellman, property
|
/third_party/node/deps/npm/node_modules/sshpk/lib/ |
D | key.js | 208 Key.prototype.createDiffieHellman = function () { method in Key 214 Key.prototype.createDH = Key.prototype.createDiffieHellman;
|
D | dhe.js | 35 this._dh = crypto.createDiffieHellman(
|
/third_party/node/doc/api/ |
D | crypto.md | 586 [`crypto.createDiffieHellman()`][] function. 593 const alice = crypto.createDiffieHellman(2048); 597 const bob = crypto.createDiffieHellman(alice.getPrime(), alice.getGenerator()); 1849 ### `crypto.createDiffieHellman(prime[, primeEncoding][, generator][, generatorEncoding])` 1884 ### `crypto.createDiffieHellman(primeLength[, generator])` 2311 [`crypto.createDiffieHellman()`][], but will not allow changing 3620 [`crypto.createDiffieHellman()`]: #crypto_crypto_creatediffiehellman_prime_primeencoding_generator_…
|
/third_party/node/deps/npm/node_modules/sshpk/ |
D | README.md | 205 ### `Key#createDiffieHellman()`
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V13.md | 898 …(https://github.com/nodejs/node/commit/18b34def41)] - **doc**: fix createDiffieHellman generator t…
|
D | CHANGELOG_V12.md | 862 …(https://github.com/nodejs/node/commit/2d9d59f427)] - **doc**: fix createDiffieHellman generator t…
|