Closed jldodds closed 10 years ago
KeyPair DSA generates a number of keys. The check for correctness is:
Verifies that the x value is in the correct range (0<x<q), and that y = g x mod p
There is no test to generate for KeyPair
PQGen is the same but for P and Q. Supplied test is just an n
These are all files that require some randomized generation of the rsp file. The verification is to validate that they are correct outputs
Understand the following comment on a footnote of page 48 of the FIPS 140-2 User Guide
Due to the nature of the cryptographic operations involved the following responses files will always be different: KeyPair.rsp DSA PQGGen.rsp DSA SigGen.rsp DSA SigGen15.rsp RSA SigGenPSS.rsp RSA SigGenRSA.rsp RSA SigGenPSS.rsp RSA These files are listed in the file ./fips/fips-nodiff.txt that is referenced by the fips_test_diff makefile target.