A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nodejs/node/commit/d05263edcc below:

do not skip OCB decryption in FIPS mode · nodejs/node@d05263e · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -304,7 +304,7 @@ for (const test of TEST_CASES) {

304 304

}

305 305 306 306

// Test that create(De|C)ipheriv throws if the mode is CCM or OCB and no

307 -

// authentication tag has been specified.

307 +

// authentication tag length has been specified.

308 308

{

309 309

for (const mode of ['ccm', 'ocb']) {

310 310

assert.throws(() => {

@@ -316,7 +316,7 @@ for (const test of TEST_CASES) {

316 316

});

317 317 318 318

// CCM decryption is unsupported in FIPS mode.

319 -

if (!isFipsEnabled) {

319 +

if (!isFipsEnabled || mode !== 'ccm') {

320 320

assert.throws(() => {

321 321

crypto.createDecipheriv(`aes-256-${mode}`,

322 322

'FxLKsqdmv0E9xrQhp0b1ZgI0K7JFZJM8',

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