Home
last modified time | relevance | path

Searched refs:toBuf (Results 1 – 4 of 4) sorted by relevance

/third_party/node/lib/
D_tls_common.js49 let toBuf = null; variable
254 if (!toBuf)
255 toBuf = require('internal/crypto/util').toBuf;
260 const buf = toBuf(raw);
263 c.context.loadPKCS12(buf, toBuf(passphrase));
269 const buf = toBuf(options.pfx);
272 c.context.loadPKCS12(buf, toBuf(passphrase));
/third_party/node/lib/internal/crypto/
Ddiffiehellman.js26 toBuf
76 sizeOrKey = toBuf(sizeOrKey, keyEncoding);
83 generator = toBuf(generator, genEncoding);
133 const ret = this[kHandle].computeSecret(toBuf(key, inEnc));
186 this[kHandle].setPublicKey(toBuf(key, encoding));
193 this[kHandle].setPrivateKey(toBuf(key, encoding));
239 const convertedKey = _ECDHConvertKey(toBuf(key, inEnc), curve, f);
Dutil.js50 function toBuf(val, encoding) { function
102 toBuf field
Dhash.js16 toBuf
113 this[kHandle].init(hmac, toBuf(key));