Closed Bug 2053075 Opened 2 months ago Closed 2 months ago

Use lower PBE iteration count limit only for fuzzing

Categories

(NSS :: Libraries, enhancement, P3)

enhancement

Tracking

(nss 3.126)

RESOLVED FIXED
Tracking Status
nss --- 3.126

People

(Reporter: nwipper, Assigned: nwipper)

References

Details

Attachments

(1 file)

MAX_ITERATION_COUNT in lib/softoken/lowpbe.c is currently set to 600000 in DEBUG builds. The limit is in place for fuzzing builds, but there are more builds that set the DEBUG flag, which now also experience this lower limit. lockstore in Firefox has tests that directly call into PBKDF2 functions, with a previous iteration count of 800000, which triggered a failure, since the function would return an error for being of the limit. The tests are currently down to 600000, but going back up to 800000 would be desirable.

Pushed by djackson@mozilla.com:
https://hg.mozilla.org/projects/nss/rev/0f67c59a9f1e
Only use lower PBE iteration count limit in fuzzing builds. r=mdauer

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: