Red Hat Bugzilla – Bug 973418
CAVS test driver needs update for RHEL5
Last modified: 2013-10-31 06:34:38 EDT
Description of problem:
There is a CAVS test driver in libgcrypt which works fine on RHEL6, however on RHEL5 is fails as follows:
Running test file cavs/DSA2/req/SigGen.req
Using libgcrypt interface functions
Performing tests from source file cavs/DSA2/req/SigGen.req with results stored in destination file cavs/DSA2/req/SigGen.rsp
usage: fipsdrv [OPTION] [FILE] (try --help for more information)
system fipsdrv --keysize L=1024, N=160, SHA-1 rsa-gen > rsa_siggen.tmp.6978 failed: 512 at ./cavs_driver.pl line 438, <IN> line 6.
failed test: cavs/DSA2/req/SigGen.req rc=9
Error encountered - not packing up response file
Therefore it is clear that fipsdrv is called in a wrong way on RHEL5.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. enable fips mode (put 1 into /etc/gcrypt/fips_enabled, for instance)
2. download test vectors 
3. build the source rpm
4. copy the vectors into tests subdirectory
5. exeucte ./cavs_tests.sh
It might happen that CAVS test is not suitable for RHEL5, in such case, please feel free to close this BZ.
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
Just drop the DSA2 test vectors from the test.
This Bugzilla has been reviewed by Red Hat and is not planned on being
addressed in Red Hat Enterprise Linux 5, and therefore will be closed.
If this bug is critical to production systems, please contact your Red
Hat support representative and provide sufficient business