Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-crypto-authenticated.js146 decrypt.setAuthTag(Buffer.from(test.tag, 'hex'));
188 decrypt.setAuthTag(Buffer.from(test.tag, 'hex'));
245 decrypt.setAuthTag(Buffer.from('1'.repeat(length)));
304 decipher.setAuthTag(Buffer.from('1'.repeat(12)));
311 decipher.setAuthTag(Buffer.from('445352d3ff85cf94', 'hex'));
546 decrypt.setAuthTag(Buffer.from('1bb9253e250b8069cde97151d7ef32d9', 'hex'));
581 decipher.setAuthTag(authTag);
585 decipher.setAuthTag(authTag);
608 decipher.setAuthTag(tag);
610 decipher.setAuthTag(tag);
[all …]
Dtest-crypto-authenticated-stream.js36 d.setAuthTag(c.getAuthTag());
58 d.setAuthTag(c.getAuthTag());
97 d.setAuthTag(c.getAuthTag());
104 d.setAuthTag(c.getAuthTag());
Dtest-crypto-cipher-decipher.js135 () => crypto.createDecipher('aes-256-cbc', 'secret').setAuthTag(null),
227 assert.strictEqual(decipher.setAuthTag(tagbuf), decipher);
254 decipher.setAuthTag(cipher.getAuthTag());
268 () => decipher.setAuthTag(cipher.getAuthTag()),
/third_party/node/lib/internal/crypto/
Dcipher.js224 function setAuthTag(tagbuf, encoding) { function
226 if (!this[kHandle].setAuthTag(tagbuf))
261 constructor.prototype.setAuthTag = setAuthTag; method in constructor
/third_party/node/benchmark/crypto/
Daes-gcm-throughput.js32 bob.setAuthTag(tag);
/third_party/node/doc/api/
Ddeprecations.md1858 OpenSSL when calling [`decipher.setAuthTag()`][]. Beginning with Node.js
2232 ### DEP0113: `Cipher.setAuthTag()`, `Decipher.getAuthTag()`
2246 `Cipher.setAuthTag()` and `Decipher.getAuthTag()` are no longer available. They
3366 [`decipher.setAuthTag()`]: crypto.md#deciphersetauthtagbuffer-encoding
Dcrypto.md887 ### `decipher.setAuthTag(buffer[, encoding])`
910 currently supported), the `decipher.setAuthTag()` method is used to pass in the
915 `authTagLength` option, `decipher.setAuthTag()` will throw an error.
917 The `decipher.setAuthTag()` method must be called before [`decipher.update()`][]
920 `decipher.setAuthTag()` can only be called once.
5631 * When decrypting, the authentication tag must be set via `setAuthTag()` before
5680 decipher.setAuthTag(tag);
5724 decipher.setAuthTag(tag);
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md2566 …81cd)] - **(SEMVER-MAJOR)** **crypto**: do not allow multiple calls to setAuthTag (Tobias Nießen) …
2577 …ejs/node/commit/faf449ca04)] - **(SEMVER-MAJOR)** **crypto**: throw in setAuthTag on invalid lengt…
2601 …odejs/node/commit/cf350856cf)] - **(SEMVER-MAJOR)** **doc**: note that setAuthTag throws on invali…
DCHANGELOG_V7.md1783 * **crypto**: The `Decipher` methods `setAuthTag()` and `setAAD` now return `this`. (Kirill Fomiche…
1800 …/commit/08a7e7b009)] - **(SEMVER-MINOR)** **crypto**: return `this` in setAuthTag/setAAD (Kirill F…
DCHANGELOG_V10.md2531 …tps://github.com/nodejs/node/commit/c47c79e1ca)] - **crypto**: improve setAuthTag (Tobias Nießen) …
4275 …b48b692)] - **(SEMVER-MAJOR)** **crypto**: assign deprecation code for setAuthTag/GCM (Tobias Nieß…
DCHANGELOG_V6.md1935 …* The `Decipher` methods `setAuthTag()` and `setAAD` now return `this`. (Kirill Fomichev) [#9398](…
1972 …/commit/875674bb1c)] - **(SEMVER-MINOR)** **crypto**: return `this` in setAuthTag/setAAD (Kirill F…
DCHANGELOG_V12.md1524 …s/node/commit/0c7cf24431)] - **doc**: correct description of `decipher.setAuthTag` in crypto.md (J…
5930 …* remove `Cipher.setAuthTag()` and `Decipher.getAuthTag()` (Tobias Nießen) [#26249](https://github…
DCHANGELOG_V14.md3698 …s/node/commit/a9e4fdbd1b)] - **doc**: correct description of `decipher.setAuthTag` in crypto.md (J…