Home
last modified time | relevance | path

Searched refs:authTagLength (Results 1 – 5 of 5) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-authenticated.js46 authTagLength: /Invalid authentication tag length/ property
101 options = { authTagLength: test.tag.length / 2 };
255 authTagLength: length property
267 authTagLength: length property
279 for (const [authTagLength, e] of [[undefined, 16], [12, 12], [4, 4]]) {
283 authTagLength field
298 authTagLength: 8 property
321 for (const authTagLength of [-1, true, false, NaN, 5.5]) {
327 authTagLength field
332 message: `The value "${authTagLength}" is invalid for option ` +
[all …]
Dtest-crypto-authenticated-stream.js27 const { cipher, key, iv, aad, authTagLength, plaintextLength } = config;
30 const c = crypto.createCipheriv(cipher, key, iv, { authTagLength }); field
34 const d = crypto.createDecipheriv(cipher, key, iv, { authTagLength }); field
43 const { cipher, key, iv, aad, authTagLength, plaintextLength } = config;
46 const c = crypto.createCipheriv(cipher, key, iv, { authTagLength }); field
56 const d = crypto.createDecipheriv(cipher, key, iv, { authTagLength }); field
77 const { cipher, key, iv, aad, authTagLength, plaintextLength } = config;
81 const c = crypto.createCipheriv(cipher, key, iv, { authTagLength }); field
95 const d = crypto.createDecipheriv(cipher, key, iv, { authTagLength }); field
102 const d = crypto.createDecipheriv(cipher, key, iv, { authTagLength }); field
[all …]
/third_party/node/lib/internal/crypto/
Dcipher.js97 const authTagLength = getUIntOption(options, 'authTagLength');
101 this[kHandle].init(cipher, credential, authTagLength);
103 this[kHandle].initiv(cipher, credential, iv, authTagLength);
/third_party/node/doc/api/
Dcrypto.md524 `authTagLength` option, `decipher.setAuthTag()` will throw an error.
1648 description: The `authTagLength` option can now be used to produce shorter
1664 `authTagLength` option is required and specifies the length of the
1665 authentication tag in bytes, see [CCM mode][]. In GCM mode, the `authTagLength`
1711 description: The `authTagLength` option can now be used to produce shorter
1730 `authTagLength` option is required and specifies the length of the
1731 authentication tag in bytes, see [CCM mode][]. In GCM mode, the `authTagLength`
1775 `authTagLength` option is required and specifies the length of the
1807 description: The `authTagLength` option can now be used to restrict accepted
1826 `authTagLength` option is required and specifies the length of the
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_V10.md3428 …* The `authTagLength` option has been made more flexible. (Tobias Nießen) [#20235](https://github.…
3465 …ejs/node/commit/2b2ccae390)] - **(SEMVER-MINOR)** **crypto**: support authTagLength in GCM encrypt…