Closed Bug 679814 Opened 13 years ago Closed 6 months ago

rng.sh running fipstest drbg fails

Categories

(NSS :: Test, defect, P5)

3.12.9

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bharath.chandan84, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 (.NET CLR 3.5.30729)
Build ID: 20100722155716

Steps to reproduce:

Tried to run rng.sh in /mozilla/security/nss/cmd/fipstest  with drbg mode .This reads req file and generates rsp file for Nist 800-90 drbg validation .Here the call to PRNGTEST_Instantiate fails and failure is returned .


Actual results:

fipstest.c invokes PRNGTEST_Instantiate in /mozilla/security/nss/lib/freebl

Here it fails in 
if (!vector && PR_SUCCESS != freebl_RunLoaderOnce())
{
                return SECFailure;
}

 



Expected results:

it should have invoked   (vector->p_PRNGTEST_Instantiate)(entropy, entropy_len,nonce,  nonce_len,personal_string,  ps_len);  which calls PRNGTEST_Instantiate of drbg.c

The main issue is vector is uninitialized and call to freebl_RunLoaderOnce is failing .I am running this on Linux machine with below config 
Linux lnx3-194 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Any environment variables to be set for this request to got through ? I am trying to test SHA256 hash based drbg implementation .Please look into this asap .Attaching the req file for reference
Request file being used for testing fipstest
Severity: normal → S3
Severity: S3 → S4
Status: UNCONFIRMED → RESOLVED
Closed: 6 months ago
Priority: -- → P5
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: