| 1 |
There are two sets of NIST SP 800-90A DRBG example files included in this zip |
| 2 |
file. All values in this zip file are for Prediction Resistance NOT ENABLED, |
| 3 |
and the DRBG returned bits are four (4) output blocks long. |
| 4 |
|
| 5 |
The files contain sample files for all supported SHA, HMAC, AES, TDES, Elliptic |
| 6 |
Curves for each mechanism, including SHA-512/224 and SHA-512/256 as defined in |
| 7 |
FIPS 180-4. |
| 8 |
|
| 9 |
1. The response (.rsp) files contain properly formatted CAVS response files. |
| 10 |
|
| 11 |
2. The intermediate value (.txt) files for the tests contain intermediate |
| 12 |
values. The DRBG tests consist of the following five operations: |
| 13 |
i. Instantiate |
| 14 |
ii. Reseed |
| 15 |
iii. Generate Random Bits |
| 16 |
iv. Generate Random Bits |
| 17 |
v. Uninstantiate |
| 18 |
The response files contain all inputs for Instantiate, Reseed and both calls |
| 19 |
to Generate and the Random Bits (i.e., ReturnedBits) returned from the second |
| 20 |
call to Generate. The intermediate value (.txt) files also show the value |
| 21 |
of the working state after each call to Instantiate, Reseed and Generate. |
| 22 |
These values are indented by one tab space and are preceded by a line |
| 23 |
indicating the DRBG function just performed: |
| 24 |
** INSTANTIATE, |
| 25 |
** RESEED, |
| 26 |
** GENERATE (FIRST CALL) |
| 27 |
or ** GENERATE (SECOND CALL). |
| 28 |
|
| 29 |
The working state values printed out for the different DRBG mechanisms are: |
| 30 |
1. Hash_DRBG - working state consists of 'V' (variable) 'C' (constant) and reseed_counter |
| 31 |
2. HMAC_DRBG - working state consists of 'V' and 'Key'. |
| 32 |
3. CTR_DRBG - working state consists of 'V' and 'Key'. |
| 33 |
|
| 34 |
Refer to NIST SP 800-90A Revision 1 (June 2015) for more on the DRBG mechanisms and their working state |
| 35 |
variables: |
| 36 |
|
| 37 |
http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-90Ar1.pdf |