Home
last modified time | relevance | path

Searched refs:DiffieHellman (Results 1 – 20 of 20) sorted by relevance

/third_party/node/src/crypto/
Dcrypto_dh.cc56 DiffieHellman::DiffieHellman(Environment* env, Local<Object> wrap) in DiffieHellman() function in node::crypto::DiffieHellman
61 void DiffieHellman::Initialize(Environment* env, Local<Object> target) { in Initialize()
71 DiffieHellman::kInternalFieldCount); in Initialize()
85 DiffieHellman::VerifyErrorGetter, in Initialize()
106 context, target, "statelessDH", DiffieHellman::Stateless); in Initialize()
112 void DiffieHellman::RegisterExternalReferences( in RegisterExternalReferences()
126 registry->Register(DiffieHellman::VerifyErrorGetter); in RegisterExternalReferences()
127 registry->Register(DiffieHellman::Stateless); in RegisterExternalReferences()
134 bool DiffieHellman::Init(int primeLength, int g) { in Init()
141 void DiffieHellman::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
[all …]
Dcrypto_dh.h17 class DiffieHellman : public BaseObject {
44 DiffieHellman(Environment* env, v8::Local<v8::Object> wrap);
47 SET_MEMORY_INFO_NAME(DiffieHellman)
48 SET_SELF_SIZE(DiffieHellman)
/third_party/node/lib/internal/crypto/
Ddiffiehellman.js13 DiffieHellman: _DiffieHellman,
71 function DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding) { class
72 if (!(this instanceof DiffieHellman))
73 return new DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding);
146 DiffieHellman.prototype.generateKeys =
157 DiffieHellman.prototype.computeSecret =
173 DiffieHellman.prototype.getPrime =
184 DiffieHellman.prototype.getGenerator =
195 DiffieHellman.prototype.getPublicKey =
206 DiffieHellman.prototype.getPrivateKey =
[all …]
/third_party/node/test/parallel/
Dtest-crypto-dh-constructor.js14 const DiffieHellman = crypto.DiffieHellman; constant
16 const dh = DiffieHellman(p1, 'buffer');
17 assert(dh instanceof DiffieHellman, 'DiffieHellman is expected to return a ' +
Dtest-crypto-classes.js27 TEST_CASES.DiffieHellman = [common.hasOpenSSL3 ? 1024 : 256];
/third_party/node/lib/
Dcrypto.js84 DiffieHellman,
153 return new DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding);
232 DiffieHellman, property
/third_party/node/src/
Dnode_crypto.cc42 V(DiffieHellman) \
/third_party/node/tools/doc/
Dtype-parser.mjs73 'DiffieHellman': 'crypto.html#class-diffiehellman', property
/third_party/node/doc/api/
Dcrypto.md974 ## Class: `DiffieHellman`
980 The `DiffieHellman` class is a utility for creating Diffie-Hellman key
983 Instances of the `DiffieHellman` class can be created using the
1165 performed during initialization of the `DiffieHellman` object.
1181 It works the same as `DiffieHellman`, except that it does not allow changing
3251 * Returns: {DiffieHellman}
3253 Creates a `DiffieHellman` key exchange object using the supplied `prime` and an
3273 * Returns: {DiffieHellman}
3275 Creates a `DiffieHellman` key exchange object and generates a prime of
Ddeprecations.md2328 the `_handle` property of the `Cipher`, `Decipher`, `DiffieHellman`,
/third_party/node/doc/changelogs/
DCHANGELOG_V010.md778 * crypto: Clear error after DiffieHellman key errors (isaacs)
DCHANGELOG_ARCHIVE.md309 * crypto: allow custom generator for DiffieHellman (Brian White)
1117 * crypto: fix bugs in DiffieHellman (Ben Noordhuis)
DCHANGELOG_V14.md1394 …(https://github.com/nodejs/node/commit/46ece20fe3)] - **crypto**: fix DiffieHellman argument valid…
3887 …ttps://github.com/nodejs/node/commit/83e165bf88)] - **crypto**: check DiffieHellman p and g params…
3888 …ejs/node/commit/e07cca6af6)] - **crypto**: generator must be int32 in DiffieHellman() (Ben Noordhu…
3889 …dejs/node/commit/637442fec9)] - **crypto**: key size must be int32 in DiffieHellman() (Ben Noordhu…
DCHANGELOG_V12.md1975 …ttps://github.com/nodejs/node/commit/71bccdde76)] - **crypto**: check DiffieHellman p and g params…
1976 …ejs/node/commit/c1b767471a)] - **crypto**: generator must be int32 in DiffieHellman() (Ben Noordhu…
1977 …dejs/node/commit/4236175878)] - **crypto**: key size must be int32 in DiffieHellman() (Ben Noordhu…
DCHANGELOG_IOJS.md2661 * Added support for custom generator values to `DiffieHellman` (defaulting to 2 for backwards compa…
DCHANGELOG_V15.md152 …(https://github.com/nodejs/node/commit/79259389a1)] - **crypto**: fix DiffieHellman argument valid…
DCHANGELOG_V16.md2290 …(https://github.com/nodejs/node/commit/7354479ad5)] - **crypto**: fix DiffieHellman `generator` va…
DCHANGELOG_V11.md2725 …tps://github.com/nodejs/node/commit/f4d1d9cb31)] - **crypto**: remove DiffieHellman.initialised\_ …
DCHANGELOG_V18.md905 * [CVE-2023-30590](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-30590): DiffieHellman do…
DCHANGELOG_V10.md1599 …tps://github.com/nodejs/node/commit/806242bf40)] - **crypto**: remove DiffieHellman.initialised\_ …