I am cross compiling FIPS object module as per FIPS user guide 2.0.  After
creating fipscanister.o, i tried *make build_tests* to generate
*fips_test_suite file*, which i could run successfully(both in build system
and target system).

But When i try running *perl fipsalgtest.pl --dir=fips-2.0-testvectors/*  in
the Target system, 
I get this: 

Running DSA tests
Running DSA2 tests
Running ECDSA tests
Running ECDSA2 tests
Running RSA tests
Running SHA tests
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA1LongMsg.tst
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA1Monte.tst
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA1ShortMsg.tst
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA224LongMsg.tst
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA224Monte.tst
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA224ShortMsg.tst
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA256LongMsg.tst
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA256Monte.tst
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA256ShortMsg.tst
No FIPS_SHA support
ERROR: can't open output file
fips-2.0-testvectors//OSF_2464_OE4/SHA/resp/SHA384LongMsg.tst
.
.
ALGORITHM TEST VERIFY SUMMARY REPORT:
Tests skipped due to missing files:        0
Algorithm test program execution failures: 0
Test comparisons successful:               229
Test comparisons failed:                   15
Test sanity checks successful:             15
Test sanity checks failed:                 0
Sanity check program execution failures:   0
***TEST FAILURE***

I dont see this error when i run same script on my build system(I am cross
compiling).  I dont understand why SHA tests are failing in the target
system?
(FYI, i copied ./test directory, fipsalgtest.pl, fips_test_suite  and
fips-2.0-tv.tar.gz to the target machine) 
 
Also, when i try running  *./fips_hmactest -v fips_hmactest.c* , i get a
*FATAL input initialization error* message(even in my build system) which is
my second concern.

Thanks,
Cipher



--
View this message in context: 
http://openssl.6102.n7.nabble.com/FIPS-module-Algorithm-tests-failure-tp44420.html
Sent from the OpenSSL - Dev mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to