Searched refs:setAuthTag (Results 1 - 5 of 5) sorted by relevance
/third_party/node/test/parallel/ |
H A D | test-crypto-authenticated.js | 146 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')); 529 // decrypt.setAuthTag(Buffer.from('0d9bcd142a94caf3d1dd', 'hex')); 540 // Test that setAuthTag does not throw in GCM mode when called after setAAD. 546 decrypt.setAuthTag(Buffer.from('1bb9253e250b8069cde97151d7ef32d9', 'hex')); 581 decipher.setAuthTag(authTag); 585 decipher.setAuthTag(authTa [all...] |
H A D | test-crypto-cipher-decipher.js | 135 () => crypto.createDecipher('aes-256-cbc', 'secret').setAuthTag(null), 220 // setAutoPadding/setAuthTag/setAAD should return `this` 227 assert.strictEqual(decipher.setAuthTag(tagbuf), decipher); 231 // Error throwing in setAAD/setAuthTag/getAuthTag/setAutoPadding 254 decipher.setAuthTag(cipher.getAuthTag()); 268 () => decipher.setAuthTag(cipher.getAuthTag()), 272 message: 'Invalid state for operation setAuthTag'
|
H A D | test-crypto-authenticated-stream.js | 36 d.setAuthTag(c.getAuthTag()); 58 d.setAuthTag(c.getAuthTag()); 97 d.setAuthTag(c.getAuthTag()); 104 d.setAuthTag(c.getAuthTag());
|
/third_party/node/lib/internal/crypto/ |
H A D | cipher.js | 224 function setAuthTag(tagbuf, encoding) { class 226 if (!this[kHandle].setAuthTag(tagbuf)) 227 throw new ERR_CRYPTO_INVALID_STATE('setAuthTag'); 261 constructor.prototype.setAuthTag = setAuthTag;
|
/third_party/node/benchmark/crypto/ |
H A D | aes-gcm-throughput.js | 32 bob.setAuthTag(tag);
|
Completed in 5 milliseconds