| 1 |
Example test files for FIPS 186-3 DSA |
| 2 |
|
| 3 |
1. The files with extension '.rsp' are response files in the proper format for |
| 4 |
CAVS validation. |
| 5 |
|
| 6 |
2. The file PQGGen.txt contains values for DSA domain parameter generation with |
| 7 |
intermediate results for the following: |
| 8 |
|
| 9 |
a. For 'A.1.1.2 Generation of the Probable Primes p and q Using an Approved |
| 10 |
Hash Function', the value of the prime 'p' after step 11.5 for the first |
| 11 |
five values of counter (i.e., 0 to 4) is printed out. |
| 12 |
|
| 13 |
b. For 'A.1.2.1 Construction of the Primes p and q Using the Shawe-Taylor |
| 14 |
Algorithm', three sets of intermediate values are provided: |
| 15 |
1. All values of 'q' and 'qgen_counter' computed with 'C.6 Shawe-Taylor' |
| 16 |
are printed. |
| 17 |
|
| 18 |
2. All values of 'p0' with corresponding value of 'pgen_counter' |
| 19 |
computed with Shawe-Taylor are printed. |
| 20 |
|
| 21 |
3. The first five intermediate values of the prime 'p' at Step 13 of |
| 22 |
A.1.2.1.2, with corresponding value of 'pgen_counter', are printed. |
| 23 |
|
| 24 |
3. The file SigGen.txt contains values for DSA signature generation with the |
| 25 |
following additional values needed to calculate r and s as in Section 4.6: |
| 26 |
a. 'x' -- The private key. |
| 27 |
|
| 28 |
b. 'k' -- The Per-message secret number (PMSN) used to compute R and S. |
| 29 |
See Section 4.5 and Appendix B.2 for more information on the PMSN. |