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.js145 decrypt.setAuthTag(Buffer.from(test.tag, 'hex'));
187 decrypt.setAuthTag(Buffer.from(test.tag, 'hex'));
244 decrypt.setAuthTag(Buffer.from('1'.repeat(length)));
303 decipher.setAuthTag(Buffer.from('1'.repeat(12)));
310 decipher.setAuthTag(Buffer.from('445352d3ff85cf94', 'hex'));
545 decrypt.setAuthTag(Buffer.from('1bb9253e250b8069cde97151d7ef32d9', 'hex'));
580 decipher.setAuthTag(authTag);
584 decipher.setAuthTag(authTag);
607 decipher.setAuthTag(tag);
609 decipher.setAuthTag(tag);
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.js141 () => crypto.createDecipher('aes-256-cbc', 'secret').setAuthTag(null),
237 assert.strictEqual(decipher.setAuthTag(tagbuf), decipher);
264 decipher.setAuthTag(cipher.getAuthTag());
278 () => decipher.setAuthTag(cipher.getAuthTag()),
/third_party/node/lib/internal/crypto/
Dcipher.js199 function setAuthTag(tagbuf) { function
205 if (!this[kHandle].setAuthTag(tagbuf))
239 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.md1746 OpenSSL when calling [`decipher.setAuthTag()`][]. Beginning with Node.js
2092 ### DEP0113: `Cipher.setAuthTag()`, `Decipher.getAuthTag()`
2105 `Cipher.setAuthTag()` and `Decipher.getAuthTag()` are no longer available. They
2711 [`decipher.setAuthTag()`]: crypto.md#crypto_decipher_setauthtag_buffer
Dcrypto.md503 ### `decipher.setAuthTag(buffer)`
519 currently supported), the `decipher.setAuthTag()` method is used to pass in the
524 `authTagLength` option, `decipher.setAuthTag()` will throw an error.
526 The `decipher.setAuthTag()` method must be called before [`decipher.update()`][]
528 `decipher.setAuthTag()` can only be called once.
3191 * When decrypting, the authentication tag must be set via `setAuthTag()` before
3235 decipher.setAuthTag(tag);
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md2547 …81cd)] - **(SEMVER-MAJOR)** **crypto**: do not allow multiple calls to setAuthTag (Tobias Nießen) …
2558 …ejs/node/commit/faf449ca04)] - **(SEMVER-MAJOR)** **crypto**: throw in setAuthTag on invalid lengt…
2582 …odejs/node/commit/cf350856cf)] - **(SEMVER-MAJOR)** **doc**: note that setAuthTag throws on invali…
DCHANGELOG_V7.md1766 * **crypto**: The `Decipher` methods `setAuthTag()` and `setAAD` now return `this`. (Kirill Fomiche…
1783 …/commit/08a7e7b009)] - **(SEMVER-MINOR)** **crypto**: return `this` in setAuthTag/setAAD (Kirill F…
DCHANGELOG_V10.md2263 …tps://github.com/nodejs/node/commit/c47c79e1ca)] - **crypto**: improve setAuthTag (Tobias Nießen) …
3995 …b48b692)] - **(SEMVER-MAJOR)** **crypto**: assign deprecation code for setAuthTag/GCM (Tobias Nieß…
DCHANGELOG_V6.md1911 …* The `Decipher` methods `setAuthTag()` and `setAAD` now return `this`. (Kirill Fomichev) [#9398](…
1948 …/commit/875674bb1c)] - **(SEMVER-MINOR)** **crypto**: return `this` in setAuthTag/setAAD (Kirill F…
DCHANGELOG_V12.md3497 …* remove `Cipher.setAuthTag()` and `Decipher.getAuthTag()` (Tobias Nießen) [#26249](https://github…
DCHANGELOG_V14.md3881 …s/node/commit/a9e4fdbd1b)] - **doc**: correct description of `decipher.setAuthTag` in crypto.md (J…