Searched refs:sizeOrKey (Results 1 – 2 of 2) sorted by relevance
/third_party/node/lib/internal/crypto/ |
D | diffiehellman.js | 71 function DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding) { argument 73 return new DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding); 75 if (typeof sizeOrKey !== 'number' && 76 typeof sizeOrKey !== 'string' && 77 !isArrayBufferView(sizeOrKey) && 78 !isAnyArrayBuffer(sizeOrKey)) { 82 sizeOrKey, 90 if (typeof sizeOrKey === 'number') 91 validateInt32(sizeOrKey, 'sizeOrKey'); 104 if (typeof sizeOrKey !== 'number') [all …]
|
/third_party/node/lib/ |
D | crypto.js | 152 function createDiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding) { argument 153 return new DiffieHellman(sizeOrKey, keyEncoding, generator, genEncoding);
|