Home
last modified time | relevance | path

Searched refs:setAAD (Results 1 – 13 of 13) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-authenticated-stream.js31 c.setAAD(aad, { plaintextLength });
35 d.setAAD(aad, { plaintextLength });
47 c.setAAD(aad, { plaintextLength });
57 d.setAAD(aad, { plaintextLength });
82 c.setAAD(aad, { plaintextLength });
96 d.setAAD(aad, { plaintextLength });
103 d.setAAD(aad, { plaintextLength });
Dtest-crypto-authenticated.js119 encrypt.setAAD(Buffer.from(test.aad, 'hex'), aadOptions);
147 decrypt.setAAD(Buffer.from(test.aad, 'hex'), aadOptions);
169 encrypt.setAAD(Buffer.from(test.aad, 'hex'), aadOptions);
189 decrypt.setAAD(Buffer.from(test.aad, 'hex'), aadOptions);
232 assert.throws(() => encrypt.setAAD(Buffer.from('123', 'ascii')),
285 cipher.setAAD(Buffer.from('abcd'));
452 cipher.setAAD(Buffer.from('0123456789', 'hex'), { plaintextLength });
474 cipher().setAAD(Buffer.alloc(0), {
485 c.setAAD(Buffer.alloc(0), {
502 cipher.setAAD(Buffer.from('0123456789', 'hex'));
[all …]
Dtest-crypto-cipher-decipher.js116 () => crypto.createCipher('aes-256-cbc', 'secret').setAAD(null),
238 assert.strictEqual(decipher.setAAD(aadbuf), decipher);
248 cipher.setAAD(aadbuf);
263 decipher.setAAD(aadbuf);
270 () => decipher.setAAD(aadbuf),
/third_party/node/lib/internal/crypto/
Dcipher.js210 Cipher.prototype.setAAD = function setAAD(aadbuf, options) { method in Cipher
218 if (!this[kHandle].setAAD(aadbuf, plaintextLength))
241 constructor.prototype.setAAD = Cipher.prototype.setAAD; method in constructor
/third_party/node/benchmark/crypto/
Daes-gcm-throughput.js27 alice.setAAD(associate_data);
33 bob.setAAD(associate_data);
/third_party/node/test/common/
Dtls.js123 bob.setAAD(aad);
/third_party/node/doc/api/
Dcrypto.md298 ### `cipher.setAAD(buffer[, options])`
309 currently supported), the `cipher.setAAD()` method sets the value used for the
316 The `cipher.setAAD()` method must be called before [`cipher.update()`][].
479 ### `decipher.setAAD(buffer[, options])`
494 currently supported), the `decipher.setAAD()` method sets the value used for the
501 The `decipher.setAAD()` method must be called before [`decipher.update()`][].
3198 message in bytes must be passed to `setAAD()` via the `plaintextLength`
3223 cipher.setAAD(aad, {
3236 decipher.setAAD(aad, {
/third_party/node/doc/changelogs/
DCHANGELOG_V7.md1601 …thub.com/nodejs/node/commit/c7cd400fcb)] - **doc**: fix crypto "decipher.setAAD()" typo (子丶言) [#97…
1766 * **crypto**: The `Decipher` methods `setAuthTag()` and `setAAD` now return `this`. (Kirill Fomiche…
1783 …8a7e7b009)] - **(SEMVER-MINOR)** **crypto**: return `this` in setAuthTag/setAAD (Kirill Fomichev) …
DCHANGELOG_V6.md1911 …* The `Decipher` methods `setAuthTag()` and `setAAD` now return `this`. (Kirill Fomichev) [#9398](…
1948 …75674bb1c)] - **(SEMVER-MINOR)** **crypto**: return `this` in setAuthTag/setAAD (Kirill Fomichev) …
2891 …thub.com/nodejs/node/commit/7051ea8606)] - **doc**: fix crypto "decipher.setAAD()" typo (子丶言) [#97…
DCHANGELOG_V12.md888 …thub.com/nodejs/node/commit/22f83598d9)] - **doc**: fix argument type of setAAD (Tobias Nießen) [#…
2435 …ub.com/nodejs/node/commit/f7a13e5034)] - **doc**: relax requirements for setAAD in CCM mode (Tobia…
DCHANGELOG_V13.md1188 …thub.com/nodejs/node/commit/df9df1883e)] - **doc**: fix argument type of setAAD (Tobias Nießen) [#…
DCHANGELOG_V4.md703 …thub.com/nodejs/node/commit/eb5972fe9b)] - **doc**: fix crypto "decipher.setAAD()" typo (子丶言) [#97…
DCHANGELOG_V14.md3523 …commit/d4e871424f)] - **doc**: update function description for `decipher.setAAD` (Jonathan Buhacof…