Searched refs:diffieHellman (Results 1 – 6 of 6) sorted by relevance
/third_party/node/test/parallel/ |
D | test-crypto-dh-stateless.js | 9 assert.throws(() => crypto.diffieHellman(), { 18 const buf1 = crypto.diffieHellman({ 22 const buf2 = crypto.diffieHellman({ 92 assert.throws(() => crypto.diffieHellman({ privateKey: alicePrivateKey }), { 98 assert.throws(() => crypto.diffieHellman({ publicKey: alicePublicKey }), { 183 const secret = crypto.diffieHellman({ publicKey, privateKey });
|
/third_party/node/lib/ |
D | crypto.js | 79 diffieHellman 171 diffieHellman, property
|
/third_party/node/lib/internal/crypto/ |
D | diffiehellman.js | 263 function diffieHellman(options) { function 296 diffieHellman field
|
/third_party/node/src/ |
D | node_crypto.cc | 5288 DiffieHellman* diffieHellman = new DiffieHellman(env, args.This()); in DiffieHellmanGroup() local 5300 initialized = diffieHellman->Init(group->prime, in DiffieHellmanGroup() 5310 DiffieHellman* diffieHellman = in New() local 5317 initialized = diffieHellman->Init(args[0].As<Int32>()->Value(), in New() 5323 initialized = diffieHellman->Init(arg0.data(), in New() 5328 initialized = diffieHellman->Init(arg0.data(), arg0.length(), in New() 5343 DiffieHellman* diffieHellman; in GenerateKeys() local 5344 ASSIGN_OR_RETURN_UNWRAP(&diffieHellman, args.Holder()); in GenerateKeys() 5346 if (!DH_generate_key(diffieHellman->dh_.get())) { in GenerateKeys() 5351 DH_get0_key(diffieHellman->dh_.get(), &pub_key, nullptr); in GenerateKeys() [all …]
|
/third_party/node/doc/api/ |
D | crypto.md | 608 ### `diffieHellman.computeSecret(otherPublicKey[, inputEncoding][, outputEncoding])` 629 ### `diffieHellman.generateKeys([encoding])` 643 ### `diffieHellman.getGenerator([encoding])` 655 ### `diffieHellman.getPrime([encoding])` 667 ### `diffieHellman.getPrivateKey([encoding])` 679 ### `diffieHellman.getPublicKey([encoding])` 691 ### `diffieHellman.setPrivateKey(privateKey[, encoding])` 704 ### `diffieHellman.setPublicKey(publicKey[, encoding])` 717 ### `diffieHellman.verifyError` 2120 ### `crypto.diffieHellman(options)` [all …]
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V13.md | 445 * add crypto.diffieHellman (Tobias Nießen) [#31178](https://github.com/nodejs/node/pull/31178) 494 …/node/commit/bf46c304dd)] - **(SEMVER-MINOR)** **crypto**: add crypto.diffieHellman (Tobias Nießen…
|