Home
last modified time | relevance | path

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

/third_party/node/lib/internal/crypto/
Ddiffiehellman.js29 DiffieHellman: _DiffieHellman,
43 function DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding) { class
44 if (!(this instanceof DiffieHellman))
45 return new DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding);
115 DiffieHellman.prototype.generateKeys =
126 DiffieHellman.prototype.computeSecret =
141 DiffieHellman.prototype.getPrime =
152 DiffieHellman.prototype.getGenerator =
163 DiffieHellman.prototype.getPublicKey =
174 DiffieHellman.prototype.getPrivateKey =
[all …]
/third_party/node/deps/npm/node_modules/sshpk/lib/
Ddhe.js4 DiffieHellman: DiffieHellman, property
23 function DiffieHellman(key) { class
71 DiffieHellman.call(this, key);
92 DiffieHellman.prototype.getPublicKey = function () {
98 DiffieHellman.prototype.getPrivateKey = function () {
104 DiffieHellman.prototype.getKey = DiffieHellman.prototype.getPrivateKey;
106 DiffieHellman.prototype._keyCheck = function (pk, isPub) {
131 DiffieHellman.prototype.setKey = function (pk) {
159 DiffieHellman.prototype.setPrivateKey = DiffieHellman.prototype.setKey;
161 DiffieHellman.prototype.computeSecret = function (otherpk) {
[all …]
Dkey.js10 var DiffieHellman = require('./dhe').DiffieHellman; variable
212 return (new DiffieHellman(this));
/third_party/node/lib/
Dcrypto.js76 DiffieHellman,
134 return new DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding);
204 DiffieHellman, property
/third_party/node/test/parallel/
Dtest-crypto-dh.js80 const DiffieHellman = crypto.DiffieHellman; constant
81 const dh = DiffieHellman(p1, 'buffer');
82 assert(dh instanceof DiffieHellman, 'DiffieHellman is expected to return a ' +
Dtest-crypto-classes.js27 TEST_CASES.DiffieHellman = [256];
/third_party/node/src/
Dnode_crypto.cc5168 DiffieHellman::DiffieHellman(Environment* env, Local<Object> wrap) in DiffieHellman() function in node::crypto::DiffieHellman
5173 void DiffieHellman::Initialize(Environment* env, Local<Object> target) { in Initialize()
5181 DiffieHellman::kInternalFieldCount); in Initialize()
5195 DiffieHellman::VerifyErrorGetter, in Initialize()
5219 bool DiffieHellman::Init(int primeLength, int g) { in Init()
5227 bool DiffieHellman::Init(const char* p, int p_len, int g) { in Init()
5250 bool DiffieHellman::Init(const char* p, int p_len, const char* g, int g_len) { in Init()
5285 void DiffieHellman::DiffieHellmanGroup( in DiffieHellmanGroup()
5288 DiffieHellman* diffieHellman = new DiffieHellman(env, args.This()); in DiffieHellmanGroup()
5308 void DiffieHellman::New(const FunctionCallbackInfo<Value>& args) { in New()
[all …]
Dnode_crypto.h770 class DiffieHellman : public BaseObject {
793 DiffieHellman(Environment* env, v8::Local<v8::Object> wrap);
797 SET_MEMORY_INFO_NAME(DiffieHellman)
798 SET_SELF_SIZE(DiffieHellman)
/third_party/node/tools/doc/
Dtype-parser.mjs64 'DiffieHellman': 'crypto.html#crypto_class_diffiehellman', property
/third_party/node/doc/api/
Dcrypto.md577 ## Class: `DiffieHellman`
582 The `DiffieHellman` class is a utility for creating Diffie-Hellman key
585 Instances of the `DiffieHellman` class can be created using the
723 performed during initialization of the `DiffieHellman` object.
739 It works the same as `DiffieHellman`, except that it does not allow changing
1870 * Returns: {DiffieHellman}
1872 Creates a `DiffieHellman` key exchange object using the supplied `prime` and an
1891 * Returns: {DiffieHellman}
1893 Creates a `DiffieHellman` key exchange object and generates a prime of
Ddeprecations.md2179 the `_handle` property of the `Cipher`, `Decipher`, `DiffieHellman`,
/third_party/node/deps/npm/node_modules/sshpk/
DREADME.md209 necessary parameters. This has the same API as a `crypto.DiffieHellman`
/third_party/node/doc/changelogs/
DCHANGELOG_V010.md727 * crypto: Clear error after DiffieHellman key errors (isaacs)
DCHANGELOG_ARCHIVE.md304 * crypto: allow custom generator for DiffieHellman (Brian White)
1071 * crypto: fix bugs in DiffieHellman (Ben Noordhuis)
DCHANGELOG_V14.md1490 …(https://github.com/nodejs/node/commit/46ece20fe3)] - **crypto**: fix DiffieHellman argument valid…
3957 …ttps://github.com/nodejs/node/commit/83e165bf88)] - **crypto**: check DiffieHellman p and g params…
3958 …ejs/node/commit/e07cca6af6)] - **crypto**: generator must be int32 in DiffieHellman() (Ben Noordhu…
3959 …dejs/node/commit/637442fec9)] - **crypto**: key size must be int32 in DiffieHellman() (Ben Noordhu…
DCHANGELOG_IOJS.md2618 * Added support for custom generator values to `DiffieHellman` (defaulting to 2 for backwards compa…
DCHANGELOG_V11.md2706 …tps://github.com/nodejs/node/commit/f4d1d9cb31)] - **crypto**: remove DiffieHellman.initialised\_ …
DCHANGELOG_V10.md1337 …tps://github.com/nodejs/node/commit/806242bf40)] - **crypto**: remove DiffieHellman.initialised\_ …