+3
-3
lines changedFilter options
+3
-3
lines changed Original file line number Diff line number Diff line change
@@ -245,7 +245,7 @@ for (const test of TEST_CASES) {
245
245
assert.strictEqual(text.toString('utf8'), 'node');
246
246
}
247
247
248
-
// Test that create(De|C)ipher(iv)? throws if the mode is CCM and an invalid
248
+
// Test that create(De|C)ipheriv throws if the mode is CCM and an invalid
249
249
// authentication tag length has been specified.
250
250
{
251
251
for (const authTagLength of [-1, true, false, NaN, 5.5]) {
@@ -303,7 +303,7 @@ for (const test of TEST_CASES) {
303
303
}
304
304
}
305
305
306
-
// Test that create(De|C)ipher(iv)? throws if the mode is CCM or OCB and no
306
+
// Test that create(De|C)ipheriv throws if the mode is CCM or OCB and no
307
307
// authentication tag has been specified.
308
308
{
309
309
for (const mode of ['ccm', 'ocb']) {
@@ -315,7 +315,7 @@ for (const test of TEST_CASES) {
315
315
message: `authTagLength required for aes-256-${mode}`
316
316
});
317
317
318
-
// CCM decryption and create(De|C)ipher are unsupported in FIPS mode.
318
+
// CCM decryption is unsupported in FIPS mode.
319
319
if (!isFipsEnabled) {
320
320
assert.throws(() => {
321
321
crypto.createDecipheriv(`aes-256-${mode}`,
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4