[openssl-users] FIPS Object Module 2.0, fipsalgtest.pl fails

Diaz de Grenu, Jose Jose.DiazdeGrenu at digi.com
Thu Sep 28 15:07:42 UTC 2017


I am trying to validate the FIPS Object Module. 

I have built the test tools as specified in [1] Appendix B.1 and I have downloaded and extract the test vectors from [2]. 

At that point I run the following:

perl fipsalgtest.pl --dir=/run/media/sda1/fips_tv/OSF_JN2859_OE46.results

(where /run/media/sda1/fips_tv/OSF_JN2859_OE46.results is the path I extracted the test vectors to).

That  produces the following output:

Running DSA2 tests
Running DSA tests
Running ECDSA2 tests
Running RSA tests
FATAL parse error processing line 4
FATAL RSAVTEST file processing error
WARNING: error executing verify test SigGen15 ../test/fips_rsavtest "/run/media/sda1/fips_tv/OSF_JN2859_OE46.results/OSF_2859_OE46/RSA2/resp/SigGen15_186-3.tst" "/run/m
edia/sda1/fips_tv/OSF_JN2859_OE46.results/OSF_2859_OE46/RSA2/resp/SigGen15_186-3.ver"
Running RSA tests
FATAL parse error processing line 4
FATAL RSAVTEST file processing error
WARNING: error executing verify test SigGenPSS(0) ../test/fips_rsavtest -saltlen 0 "/run/media/sda1/fips_tv/OSF_JN2859_OE46.results/OSF_2859_OE46/RSA2/resp/SigGenPSS_18
6-3.tst" "/run/media/sda1/fips_tv/OSF_JN2859_OE46.results/OSF_2859_OE46/RSA2/resp/SigGenPSS_186-3.ver"
Running RSA tests
FATAL parse error processing line 4
FATAL RSAVTEST file processing error
WARNING: error executing verify test SigGenPSS(62) ../test/fips_rsavtest -saltlen 62 "/run/media/sda1/fips_tv/OSF_JN2859_OE46.results/OSF_2859_OE46_RSA62_PSS/RSA2/resp/
SigGenPSS_186-3.tst" "/run/media/sda1/fips_tv/OSF_JN2859_OE46.results/OSF_2859_OE46_RSA62_PSS/RSA2/resp/SigGenPSS_186-3.ver"
Running SHA tests
Running SP800-90 DRBG tests
Running HMAC tests
Running CMAC tests
Running AES tests
Running Triple DES tests
Running AES CCM tests
Running AES GCM tests
Running AES XTS tests
Running ECDH Ephemeral Primitives Only tests
ALGORITHM TEST VERIFY SUMMARY REPORT:
Tests skipped due to missing files:        0
Algorithm test program execution failures: 0
Test comparisons successful:               223
Test comparisons failed:                   0
Test sanity checks successful:             6
Test sanity checks failed:                 0
Sanity check program execution failures:   3
***TEST FAILURE***


What could be causing those errors?

Some more information:
 * OpenSSL 1.0.2j-fips  26 Sep 2016 
 * ARM7 platform.
 *  The fips_test_suite binary runs successfully ("All tests completed with 0 errors").

Thanks

[1] User Guide for the OpenSSL FIPS Objet Module 2.0: https://www.openssl.org/docs/fips/UserGuide-2.0.pdf
[2] Test vector tarball: https://www.openssl.com/testing/validation-2.0/testvectors/tv.tar.gz 




More information about the openssl-users mailing list