Closed Bug 345502 Opened 19 years ago Closed 19 years ago

PRNG Power up Self test required

Categories

(NSS :: Libraries, enhancement)

3.11.2
x86
SunOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
3.11.3

People

(Reporter: glenbeasley, Assigned: glenbeasley)

Details

Attachments

(1 file, 2 obsolete files)

Assignee: nobody → glen.beasley
Severity: normal → enhancement
Attached patch RNG power up self test (obsolete) — Splinter Review
Attachment #230206 - Flags: review?(wtchang)
Comment on attachment 230206 [details] [diff] [review] RNG power up self test r=wtc. The XKey, XSeed, Q, rng_known_GENX, and rng_known_DSAX arrays should be declared "static const".
Attachment #230206 - Flags: review?(wtchang) → review+
Enter passphrase for key '/home/gb134726/.ssh/id_dsa': Checking in fipstest.c; /cvsroot/mozilla/security/nss/lib/softoken/fipstest.c,v <-- fipstest.c new revision: 1.13.2.3; previous revision: 1.13.2.2 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.11.2
The patch was also checked in on the NSS trunk (NSS 3.12).
Target Milestone: 3.11.2 → 3.11.3
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #230206 - Attachment is obsolete: true
Attachment #230966 - Flags: review?(wtchang)
Comment on attachment 230966 [details] [diff] [review] make code portable for all platforms This patch exposes a bug in the previous patch that I overlooked. Some of the arrays have the wrong sizes. FIPS_DSA_BASE_LENGTH should be 32 bytes (256-bits). XKey, XKeyValue, and XSeed should be 32 bytes. rng_known_DSAX should be 20 bytes (DSA_SUBPRIME_LEN). Please submit a new patch that fixes these array size problems. Thanks.
Attachment #230966 - Flags: review?(wtchang) → review-
Attached patch fix array sizesSplinter Review
Attachment #230966 - Attachment is obsolete: true
Attachment #231057 - Flags: review?(wtchang)
Attachment #231057 - Flags: review?(wtchang) → review+
I checked in the patch "fix array sizes" on the NSS trunk (3.12) and NSS_3_11_BRANCH (3.11.3). Checking in fipstest.c; /cvsroot/mozilla/security/nss/lib/softoken/fipstest.c,v <-- fipstest.c new revision: 1.17; previous revision: 1.16 done Checking in fipstest.c; /cvsroot/mozilla/security/nss/lib/softoken/fipstest.c,v <-- fipstest.c new revision: 1.13.2.4; previous revision: 1.13.2.3 done
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: