OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________
________________
Server: cvs.openssl.org Name: Dr.
Stephen Henson
Root: /v/openssl/cvs Email: steve openssl.org
Module: openssl Date:
22-Sep-2007 14:43:14
Branch: OpenSSL-fips-0_9_8-stable Handle:
2007092213431300
Modified files: (Branch:
OpenSSL-fips-0_9_8-stable)
openssl/fips fipstests.bat fipstests.sh
mkfipsscr.pl
Log:
Make mkfipsscr.pl options consistent across platforms.
Summary:
Revision Changes Path
1.1.2.2 +223 -207 openssl/fips/fipstests.bat
1.1.2.2 +245 -218 openssl/fips/fipstests.sh
1.1.2.5 +12 -2 openssl/fips/mkfipsscr.pl
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/fips/fipstests.bat
============================================================
================
$ cvs diff -u -r1.1.2.1 -r1.1.2.2 fipstests.bat
--- openssl/fips/fipstests.bat 15 Aug 2007 13:35:31
-0000 1.1.2.1
+++ openssl/fips/fipstests.bat 22 Sep 2007 12:43:13
-0000 1.1.2.2
 -4,210 +4,226 
rem Do not edit
-echo dsa tests
-if exist testvectorsdsarsp rd /s /q
testvectorsdsarsp
-md testvectorsdsarsp
-.fips_dssvs pqg < testvectorsdsareqPQGGen.req >
testvectorsdsarspPQGGen.rsp
-.fips_dssvs keypair < testvectorsdsareqKeyPair.req
> testvectorsdsarspKeyPair.rsp
-.fips_dssvs siggen < testvectorsdsareqSigGen.req
> testvectorsdsarspSigGen.rsp
-.fips_dssvs sigver < testvectorsdsareqSigVer.req
> testvectorsdsarspSigVer.rsp
-
-echo sha tests
-if exist testvectorssharsp rd /s /q
testvectorssharsp
-md testvectorssharsp
-.fips_shatest < testvectorsshareqSHA1LongMsg.req
> testvectorssharspSHA1LongMsg.rsp
-.fips_shatest < testvectorsshareqSHA1Monte.req
> testvectorssharspSHA1Monte.rsp
-.fips_shatest < testvectorsshareqSHA1ShortMsg.req
> testvectorssharspSHA1ShortMsg.rsp
-.fips_shatest < testvectorsshareqSHA224LongMsg.req
> testvectorssharspSHA224LongMsg.rsp
-.fips_shatest < testvectorsshareqSHA224Monte.req
> testvectorssharspSHA224Monte.rsp
-.fips_shatest <
testvectorsshareqSHA224ShortMsg.req >
testvectorssharspSHA224ShortMsg.rsp
-.fips_shatest < testvectorsshareqSHA256LongMsg.req
> testvectorssharspSHA256LongMsg.rsp
-.fips_shatest < testvectorsshareqSHA256Monte.req
> testvectorssharspSHA256Monte.rsp
-.fips_shatest <
testvectorsshareqSHA256ShortMsg.req >
testvectorssharspSHA256ShortMsg.rsp
-.fips_shatest < testvectorsshareqSHA384LongMsg.req
> testvectorssharspSHA384LongMsg.rsp
-.fips_shatest < testvectorsshareqSHA384Monte.req
> testvectorssharspSHA384Monte.rsp
-.fips_shatest <
testvectorsshareqSHA384ShortMsg.req >
testvectorssharspSHA384ShortMsg.rsp
-.fips_shatest < testvectorsshareqSHA512LongMsg.req
> testvectorssharspSHA512LongMsg.rsp
-.fips_shatest < testvectorsshareqSHA512Monte.req
> testvectorssharspSHA512Monte.rsp
-.fips_shatest <
testvectorsshareqSHA512ShortMsg.req >
testvectorssharspSHA512ShortMsg.rsp
-
-echo aes tests
-if exist testvectorsaesrsp rd /s /q
testvectorsaesrsp
-md testvectorsaesrsp
-.fips_aesavs -f testvectorsaesreqCBCGFSbox128.req
-.fips_aesavs -f testvectorsaesreqCBCGFSbox192.req
-.fips_aesavs -f testvectorsaesreqCBCGFSbox256.req
-.fips_aesavs -f testvectorsaesreqCBCKeySbox128.req
-.fips_aesavs -f testvectorsaesreqCBCKeySbox192.req
-.fips_aesavs -f testvectorsaesreqCBCKeySbox256.req
-.fips_aesavs -f testvectorsaesreqCBCMCT128.req
-.fips_aesavs -f testvectorsaesreqCBCMCT192.req
-.fips_aesavs -f testvectorsaesreqCBCMCT256.req
-.fips_aesavs -f testvectorsaesreqCBCMMT128.req
-.fips_aesavs -f testvectorsaesreqCBCMMT192.req
-.fips_aesavs -f testvectorsaesreqCBCMMT256.req
-.fips_aesavs -f testvectorsaesreqCBCVarKey128.req
-.fips_aesavs -f testvectorsaesreqCBCVarKey192.req
-.fips_aesavs -f testvectorsaesreqCBCVarKey256.req
-.fips_aesavs -f testvectorsaesreqCBCVarTxt128.req
-.fips_aesavs -f testvectorsaesreqCBCVarTxt192.req
-.fips_aesavs -f testvectorsaesreqCBCVarTxt256.req
-.fips_aesavs -f testvectorsaesreqCFB128GFSbox128.req
-.fips_aesavs -f testvectorsaesreqCFB128GFSbox192.req
-.fips_aesavs -f testvectorsaesreqCFB128GFSbox256.req
-.fips_aesavs -f
testvectorsaesreqCFB128KeySbox128.req
-.fips_aesavs -f
testvectorsaesreqCFB128KeySbox192.req
-.fips_aesavs -f
testvectorsaesreqCFB128KeySbox256.req
-.fips_aesavs -f testvectorsaesreqCFB128MCT128.req
-.fips_aesavs -f testvectorsaesreqCFB128MCT192.req
-.fips_aesavs -f testvectorsaesreqCFB128MCT256.req
-.fips_aesavs -f testvectorsaesreqCFB128MMT128.req
-.fips_aesavs -f testvectorsaesreqCFB128MMT192.req
-.fips_aesavs -f testvectorsaesreqCFB128MMT256.req
-.fips_aesavs -f testvectorsaesreqCFB128VarKey128.req
-.fips_aesavs -f testvectorsaesreqCFB128VarKey192.req
-.fips_aesavs -f testvectorsaesreqCFB128VarKey256.req
-.fips_aesavs -f testvectorsaesreqCFB128VarTxt128.req
-.fips_aesavs -f testvectorsaesreqCFB128VarTxt192.req
-.fips_aesavs -f testvectorsaesreqCFB128VarTxt256.req
-.fips_aesavs -f testvectorsaesreqCFB8GFSbox128.req
-.fips_aesavs -f testvectorsaesreqCFB8GFSbox192.req
-.fips_aesavs -f testvectorsaesreqCFB8GFSbox256.req
-.fips_aesavs -f testvectorsaesreqCFB8KeySbox128.req
-.fips_aesavs -f testvectorsaesreqCFB8KeySbox192.req
-.fips_aesavs -f testvectorsaesreqCFB8KeySbox256.req
-.fips_aesavs -f testvectorsaesreqCFB8MCT128.req
-.fips_aesavs -f testvectorsaesreqCFB8MCT192.req
-.fips_aesavs -f testvectorsaesreqCFB8MCT256.req
-.fips_aesavs -f testvectorsaesreqCFB8MMT128.req
-.fips_aesavs -f testvectorsaesreqCFB8MMT192.req
-.fips_aesavs -f testvectorsaesreqCFB8MMT256.req
-.fips_aesavs -f testvectorsaesreqCFB8VarKey128.req
-.fips_aesavs -f testvectorsaesreqCFB8VarKey192.req
-.fips_aesavs -f testvectorsaesreqCFB8VarKey256.req
-.fips_aesavs -f testvectorsaesreqCFB8VarTxt128.req
-.fips_aesavs -f testvectorsaesreqCFB8VarTxt192.req
-.fips_aesavs -f testvectorsaesreqCFB8VarTxt256.req
-.fips_aesavs -f testvectorsaesreqECBGFSbox128.req
-.fips_aesavs -f testvectorsaesreqECBGFSbox192.req
-.fips_aesavs -f testvectorsaesreqECBGFSbox256.req
-.fips_aesavs -f testvectorsaesreqECBKeySbox128.req
-.fips_aesavs -f testvectorsaesreqECBKeySbox192.req
-.fips_aesavs -f testvectorsaesreqECBKeySbox256.req
-.fips_aesavs -f testvectorsaesreqECBMCT128.req
-.fips_aesavs -f testvectorsaesreqECBMCT192.req
-.fips_aesavs -f testvectorsaesreqECBMCT256.req
-.fips_aesavs -f testvectorsaesreqECBMMT128.req
-.fips_aesavs -f testvectorsaesreqECBMMT192.req
-.fips_aesavs -f testvectorsaesreqECBMMT256.req
-.fips_aesavs -f testvectorsaesreqECBVarKey128.req
-.fips_aesavs -f testvectorsaesreqECBVarKey192.req
-.fips_aesavs -f testvectorsaesreqECBVarKey256.req
-.fips_aesavs -f testvectorsaesreqECBVarTxt128.req
-.fips_aesavs -f testvectorsaesreqECBVarTxt192.req
-.fips_aesavs -f testvectorsaesreqECBVarTxt256.req
-.fips_aesavs -f testvectorsaesreqOFBGFSbox128.req
-.fips_aesavs -f testvectorsaesreqOFBGFSbox192.req
-.fips_aesavs -f testvectorsaesreqOFBGFSbox256.req
-.fips_aesavs -f testvectorsaesreqOFBKeySbox128.req
-.fips_aesavs -f testvectorsaesreqOFBKeySbox192.req
-.fips_aesavs -f testvectorsaesreqOFBKeySbox256.req
-.fips_aesavs -f testvectorsaesreqOFBMCT128.req
-.fips_aesavs -f testvectorsaesreqOFBMCT192.req
-.fips_aesavs -f testvectorsaesreqOFBMCT256.req
-.fips_aesavs -f testvectorsaesreqOFBMMT128.req
-.fips_aesavs -f testvectorsaesreqOFBMMT192.req
-.fips_aesavs -f testvectorsaesreqOFBMMT256.req
-.fips_aesavs -f testvectorsaesreqOFBVarKey128.req
-.fips_aesavs -f testvectorsaesreqOFBVarKey192.req
-.fips_aesavs -f testvectorsaesreqOFBVarKey256.req
-.fips_aesavs -f testvectorsaesreqOFBVarTxt128.req
-.fips_aesavs -f testvectorsaesreqOFBVarTxt192.req
-.fips_aesavs -f testvectorsaesreqOFBVarTxt256.req
-
-echo tdes tests
-if exist testvectorstdesrsp rd /s /q
testvectorstdesrsp
-md testvectorstdesrsp
-.fips_desmovs -f testvectorstdesreqTCBCinvperm.req
-.fips_desmovs -f testvectorstdesreqTCBCMMT1.req
-.fips_desmovs -f testvectorstdesreqTCBCMMT2.req
-.fips_desmovs -f testvectorstdesreqTCBCMMT3.req
-.fips_desmovs -f testvectorstdesreqTCBCMonte1.req
-.fips_desmovs -f testvectorstdesreqTCBCMonte2.req
-.fips_desmovs -f testvectorstdesreqTCBCMonte3.req
-.fips_desmovs -f testvectorstdesreqTCBCpermop.req
-.fips_desmovs -f testvectorstdesreqTCBCsubtab.req
-.fips_desmovs -f testvectorstdesreqTCBCvarkey.req
-.fips_desmovs -f testvectorstdesreqTCBCvartext.req
-.fips_desmovs -f testvectorstdesreqTCFB64invperm.req
-.fips_desmovs -f testvectorstdesreqTCFB64MMT1.req
-.fips_desmovs -f testvectorstdesreqTCFB64MMT2.req
-.fips_desmovs -f testvectorstdesreqTCFB64MMT3.req
-.fips_desmovs -f testvectorstdesreqTCFB64Monte1.req
-.fips_desmovs -f testvectorstdesreqTCFB64Monte2.req
-.fips_desmovs -f testvectorstdesreqTCFB64Monte3.req
-.fips_desmovs -f testvectorstdesreqTCFB64permop.req
-.fips_desmovs -f testvectorstdesreqTCFB64subtab.req
-.fips_desmovs -f testvectorstdesreqTCFB64varkey.req
-.fips_desmovs -f testvectorstdesreqTCFB64vartext.req
-.fips_desmovs -f testvectorstdesreqTCFB8invperm.req
-.fips_desmovs -f testvectorstdesreqTCFB8MMT1.req
-.fips_desmovs -f testvectorstdesreqTCFB8MMT2.req
-.fips_desmovs -f testvectorstdesreqTCFB8MMT3.req
-.fips_desmovs -f testvectorstdesreqTCFB8Monte1.req
-.fips_desmovs -f testvectorstdesreqTCFB8Monte2.req
-.fips_desmovs -f testvectorstdesreqTCFB8Monte3.req
-.fips_desmovs -f testvectorstdesreqTCFB8permop.req
-.fips_desmovs -f testvectorstdesreqTCFB8subtab.req
-.fips_desmovs -f testvectorstdesreqTCFB8varkey.req
-.fips_desmovs -f testvectorstdesreqTCFB8vartext.req
-.fips_desmovs -f testvectorstdesreqTECBinvperm.req
-.fips_desmovs -f testvectorstdesreqTECBMMT1.req
-.fips_desmovs -f testvectorstdesreqTECBMMT2.req
-.fips_desmovs -f testvectorstdesreqTECBMMT3.req
-.fips_desmovs -f testvectorstdesreqTECBMonte1.req
-.fips_desmovs -f testvectorstdesreqTECBMonte2.req
-.fips_desmovs -f testvectorstdesreqTECBMonte3.req
-.fips_desmovs -f testvectorstdesreqTECBpermop.req
-.fips_desmovs -f testvectorstdesreqTECBsubtab.req
-.fips_desmovs -f testvectorstdesreqTECBvarkey.req
-.fips_desmovs -f testvectorstdesreqTECBvartext.req
-.fips_desmovs -f testvectorstdesreqTOFBinvperm.req
-.fips_desmovs -f testvectorstdesreqTOFBMMT1.req
-.fips_desmovs -f testvectorstdesreqTOFBMMT2.req
-.fips_desmovs -f testvectorstdesreqTOFBMMT3.req
-.fips_desmovs -f testvectorstdesreqTOFBMonte1.req
-.fips_desmovs -f testvectorstdesreqTOFBMonte2.req
-.fips_desmovs -f testvectorstdesreqTOFBMonte3.req
-.fips_desmovs -f testvectorstdesreqTOFBpermop.req
-.fips_desmovs -f testvectorstdesreqTOFBsubtab.req
-.fips_desmovs -f testvectorstdesreqTOFBvarkey.req
-.fips_desmovs -f testvectorstdesreqTOFBvartext.req
-
-echo hmac tests
-if exist testvectorshmacrsp rd /s /q
testvectorshmacrsp
-md testvectorshmacrsp
-.fips_hmactest < testvectorshmacreqHMAC.req >
testvectorshmacrspHMAC.rsp
-
-echo rng tests
-if exist testvectorsrngrsp rd /s /q
testvectorsrngrsp
-md testvectorsrngrsp
-.fips_rngvs mct <
testvectorsrngreqANSI931_TDES2MCT.req >
testvectorsrngrspANSI931_TDES2MCT.rsp
-.fips_rngvs vst <
testvectorsrngreqANSI931_TDES2VST.req >
testvectorsrngrspANSI931_TDES2VST.rsp
-
-echo rsa tests
-if exist testvectorsrsarsp rd /s /q
testvectorsrsarsp
-md testvectorsrsarsp
-.fips_rsastest < testvectorsrsareqSigGen15.req
> testvectorsrsarspSigGen15.rsp
-.fips_rsavtest < testvectorsrsareqSigVer15.req
> testvectorsrsarspSigVer15.rsp
-.fips_rsastest -saltlen 0 <
testvectorsrsareqSigGenPSS.req >
testvectorsrsarspSigGenPSS.rsp
-.fips_rsavtest -saltlen 0 <
testvectorsrsareqSigVerPSS.req >
testvectorsrsarspSigVerPSS.rsp
-.fips_rsastest -x931 <
testvectorsrsareqSigGenRSA.req >
testvectorsrsarspSigGenRSA.rsp
-.fips_rsavtest -x931 <
testvectorsrsareqSigVerRSA.req >
testvectorsrsarspSigVerRSA.rsp
-.fips_rsagtest < testvectorsrsareqKeyGenRSA.req
> testvectorsrsarspKeyGenRSA.rsp
-
-echo rsa_salt_62 tests
-if exist testvectorsrsa_salt_62rsp rd /s /q
testvectorsrsa_salt_62rsp
-md testvectorsrsa_salt_62rsp
-.fips_rsastest -saltlen 62 <
testvectorsrsa_salt_62reqSigGenPSS.req >
testvectorsrsa_salt_62rspSigGenPSS.rsp
-.fips_rsavtest -saltlen 62 <
testvectorsrsa_salt_62reqSigVerPSS.req >
testvectorsrsa_salt_62rspSigVerPSS.rsp
+echo Running tests in .testvectorsAESreq
+if exist ".testvectorsAESrsp" rd /s /q
".testvectorsAESrsp"
+md ".testvectorsAESrsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCGFSbox128.req"
".testvectorsAESrspCBCGFSbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCGFSbox192.req"
".testvectorsAESrspCBCGFSbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCGFSbox256.req"
".testvectorsAESrspCBCGFSbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCKeySbox128.req"
".testvectorsAESrspCBCKeySbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCKeySbox192.req"
".testvectorsAESrspCBCKeySbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCKeySbox256.req"
".testvectorsAESrspCBCKeySbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCMCT128.req"
".testvectorsAESrspCBCMCT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCMCT192.req"
".testvectorsAESrspCBCMCT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCMCT256.req"
".testvectorsAESrspCBCMCT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCMMT128.req"
".testvectorsAESrspCBCMMT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCMMT192.req"
".testvectorsAESrspCBCMMT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCMMT256.req"
".testvectorsAESrspCBCMMT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCVarKey128.req"
".testvectorsAESrspCBCVarKey128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCVarKey192.req"
".testvectorsAESrspCBCVarKey192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCVarKey256.req"
".testvectorsAESrspCBCVarKey256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCVarTxt128.req"
".testvectorsAESrspCBCVarTxt128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCVarTxt192.req"
".testvectorsAESrspCBCVarTxt192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCBCVarTxt256.req"
".testvectorsAESrspCBCVarTxt256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128GFSbox128.req"
".testvectorsAESrspCFB128GFSbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128GFSbox192.req"
".testvectorsAESrspCFB128GFSbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128GFSbox256.req"
".testvectorsAESrspCFB128GFSbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128KeySbox128.req"
".testvectorsAESrspCFB128KeySbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128KeySbox192.req"
".testvectorsAESrspCFB128KeySbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128KeySbox256.req"
".testvectorsAESrspCFB128KeySbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128MCT128.req"
".testvectorsAESrspCFB128MCT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128MCT192.req"
".testvectorsAESrspCFB128MCT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128MCT256.req"
".testvectorsAESrspCFB128MCT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128MMT128.req"
".testvectorsAESrspCFB128MMT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128MMT192.req"
".testvectorsAESrspCFB128MMT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128MMT256.req"
".testvectorsAESrspCFB128MMT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128VarKey128.req"
".testvectorsAESrspCFB128VarKey128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128VarKey192.req"
".testvectorsAESrspCFB128VarKey192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128VarKey256.req"
".testvectorsAESrspCFB128VarKey256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128VarTxt128.req"
".testvectorsAESrspCFB128VarTxt128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128VarTxt192.req"
".testvectorsAESrspCFB128VarTxt192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB128VarTxt256.req"
".testvectorsAESrspCFB128VarTxt256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1GFSbox128.req"
".testvectorsAESrspCFB1GFSbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1GFSbox192.req"
".testvectorsAESrspCFB1GFSbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1GFSbox256.req"
".testvectorsAESrspCFB1GFSbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1KeySbox128.req"
".testvectorsAESrspCFB1KeySbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1KeySbox192.req"
".testvectorsAESrspCFB1KeySbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1KeySbox256.req"
".testvectorsAESrspCFB1KeySbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1MCT128.req"
".testvectorsAESrspCFB1MCT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1MCT192.req"
".testvectorsAESrspCFB1MCT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1MCT256.req"
".testvectorsAESrspCFB1MCT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1MMT128.req"
".testvectorsAESrspCFB1MMT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1MMT192.req"
".testvectorsAESrspCFB1MMT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1MMT256.req"
".testvectorsAESrspCFB1MMT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1VarKey128.req"
".testvectorsAESrspCFB1VarKey128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1VarKey192.req"
".testvectorsAESrspCFB1VarKey192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1VarKey256.req"
".testvectorsAESrspCFB1VarKey256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1VarTxt128.req"
".testvectorsAESrspCFB1VarTxt128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1VarTxt192.req"
".testvectorsAESrspCFB1VarTxt192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB1VarTxt256.req"
".testvectorsAESrspCFB1VarTxt256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8GFSbox128.req"
".testvectorsAESrspCFB8GFSbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8GFSbox192.req"
".testvectorsAESrspCFB8GFSbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8GFSbox256.req"
".testvectorsAESrspCFB8GFSbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8KeySbox128.req"
".testvectorsAESrspCFB8KeySbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8KeySbox192.req"
".testvectorsAESrspCFB8KeySbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8KeySbox256.req"
".testvectorsAESrspCFB8KeySbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8MCT128.req"
".testvectorsAESrspCFB8MCT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8MCT192.req"
".testvectorsAESrspCFB8MCT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8MCT256.req"
".testvectorsAESrspCFB8MCT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8MMT128.req"
".testvectorsAESrspCFB8MMT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8MMT192.req"
".testvectorsAESrspCFB8MMT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8MMT256.req"
".testvectorsAESrspCFB8MMT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8VarKey128.req"
".testvectorsAESrspCFB8VarKey128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8VarKey192.req"
".testvectorsAESrspCFB8VarKey192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8VarKey256.req"
".testvectorsAESrspCFB8VarKey256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8VarTxt128.req"
".testvectorsAESrspCFB8VarTxt128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8VarTxt192.req"
".testvectorsAESrspCFB8VarTxt192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqCFB8VarTxt256.req"
".testvectorsAESrspCFB8VarTxt256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBGFSbox128.req"
".testvectorsAESrspECBGFSbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBGFSbox192.req"
".testvectorsAESrspECBGFSbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBGFSbox256.req"
".testvectorsAESrspECBGFSbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBKeySbox128.req"
".testvectorsAESrspECBKeySbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBKeySbox192.req"
".testvectorsAESrspECBKeySbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBKeySbox256.req"
".testvectorsAESrspECBKeySbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBMCT128.req"
".testvectorsAESrspECBMCT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBMCT192.req"
".testvectorsAESrspECBMCT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBMCT256.req"
".testvectorsAESrspECBMCT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBMMT128.req"
".testvectorsAESrspECBMMT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBMMT192.req"
".testvectorsAESrspECBMMT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBMMT256.req"
".testvectorsAESrspECBMMT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBVarKey128.req"
".testvectorsAESrspECBVarKey128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBVarKey192.req"
".testvectorsAESrspECBVarKey192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBVarKey256.req"
".testvectorsAESrspECBVarKey256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBVarTxt128.req"
".testvectorsAESrspECBVarTxt128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBVarTxt192.req"
".testvectorsAESrspECBVarTxt192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqECBVarTxt256.req"
".testvectorsAESrspECBVarTxt256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBGFSbox128.req"
".testvectorsAESrspOFBGFSbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBGFSbox192.req"
".testvectorsAESrspOFBGFSbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBGFSbox256.req"
".testvectorsAESrspOFBGFSbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBKeySbox128.req"
".testvectorsAESrspOFBKeySbox128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBKeySbox192.req"
".testvectorsAESrspOFBKeySbox192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBKeySbox256.req"
".testvectorsAESrspOFBKeySbox256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBMCT128.req"
".testvectorsAESrspOFBMCT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBMCT192.req"
".testvectorsAESrspOFBMCT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBMCT256.req"
".testvectorsAESrspOFBMCT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBMMT128.req"
".testvectorsAESrspOFBMMT128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBMMT192.req"
".testvectorsAESrspOFBMMT192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBMMT256.req"
".testvectorsAESrspOFBMMT256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBVarKey128.req"
".testvectorsAESrspOFBVarKey128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBVarKey192.req"
".testvectorsAESrspOFBVarKey192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBVarKey256.req"
".testvectorsAESrspOFBVarKey256.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBVarTxt128.req"
".testvectorsAESrspOFBVarTxt128.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBVarTxt192.req"
".testvectorsAESrspOFBVarTxt192.rsp"
+..out32dllfips_aesavs -f
".testvectorsAESreqOFBVarTxt256.req"
".testvectorsAESrspOFBVarTxt256.rsp"
+
+echo Running tests in .testvectorsDSAreq
+if exist ".testvectorsDSArsp" rd /s /q
".testvectorsDSArsp"
+md ".testvectorsDSArsp"
+..out32dllfips_dssvs keypair <
".testvectorsDSAreqKeyPair.req" >
".testvectorsDSArspKeyPair.rsp"
+..out32dllfips_dssvs pqg <
".testvectorsDSAreqPQGGen.req" >
".testvectorsDSArspPQGGen.rsp"
+..out32dllfips_dssvs siggen <
".testvectorsDSAreqSigGen.req" >
".testvectorsDSArspSigGen.rsp"
+..out32dllfips_dssvs sigver <
".testvectorsDSAreqSigVer.req" >
".testvectorsDSArspSigVer.rsp"
+
+echo Running tests in .testvectorsHMACreq
+if exist ".testvectorsHMACrsp" rd /s /q
".testvectorsHMACrsp"
+md ".testvectorsHMACrsp"
+..out32dllfips_hmactest <
".testvectorsHMACreqHMAC.req" >
".testvectorsHMACrspHMAC.rsp"
+
+echo Running tests in .testvectorsRNGreq
+if exist ".testvectorsRNGrsp" rd /s /q
".testvectorsRNGrsp"
+md ".testvectorsRNGrsp"
+..out32dllfips_rngvs mct <
".testvectorsRNGreqANSI931_AES128MCT.req" >
".testvectorsRNGrspANSI931_AES128MCT.rsp"
+..out32dllfips_rngvs vst <
".testvectorsRNGreqANSI931_AES128VST.req" >
".testvectorsRNGrspANSI931_AES128VST.rsp"
+..out32dllfips_rngvs mct <
".testvectorsRNGreqANSI931_AES192MCT.req" >
".testvectorsRNGrspANSI931_AES192MCT.rsp"
+..out32dllfips_rngvs vst <
".testvectorsRNGreqANSI931_AES192VST.req" >
".testvectorsRNGrspANSI931_AES192VST.rsp"
+..out32dllfips_rngvs mct <
".testvectorsRNGreqANSI931_AES256MCT.req" >
".testvectorsRNGrspANSI931_AES256MCT.rsp"
+..out32dllfips_rngvs vst <
".testvectorsRNGreqANSI931_AES256VST.req" >
".testvectorsRNGrspANSI931_AES256VST.rsp"
+
+echo Running tests in .testvectorsRSAreq
+if exist ".testvectorsRSArsp" rd /s /q
".testvectorsRSArsp"
+md ".testvectorsRSArsp"
+..out32dllfips_rsagtest <
".testvectorsRSAreqKeyGenRSA.req" >
".testvectorsRSArspKeyGenRSA.rsp"
+..out32dllfips_rsastest <
".testvectorsRSAreqSigGen15.req" >
".testvectorsRSArspSigGen15.rsp"
+..out32dllfips_rsastest -saltlen 0 <
".testvectorsRSAreqSigGenPSS.req" >
".testvectorsRSArspSigGenPSS.rsp"
+..out32dllfips_rsastest -x931 <
".testvectorsRSAreqSigGenRSA.req" >
".testvectorsRSArspSigGenRSA.rsp"
+..out32dllfips_rsavtest <
".testvectorsRSAreqSigVer15.req" >
".testvectorsRSArspSigVer15.rsp"
+..out32dllfips_rsavtest -saltlen 0 <
".testvectorsRSAreqSigVerPSS.req" >
".testvectorsRSArspSigVerPSS.rsp"
+..out32dllfips_rsavtest -x931 <
".testvectorsRSAreqSigVerRSA.req" >
".testvectorsRSArspSigVerRSA.rsp"
+
+echo Running tests in .testvectorsSHAreq
+if exist ".testvectorsSHArsp" rd /s /q
".testvectorsSHArsp"
+md ".testvectorsSHArsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA1LongMsg.req" >
".testvectorsSHArspSHA1LongMsg.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA1Monte.req" >
".testvectorsSHArspSHA1Monte.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA1ShortMsg.req" >
".testvectorsSHArspSHA1ShortMsg.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA224LongMsg.req" >
".testvectorsSHArspSHA224LongMsg.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA224Monte.req" >
".testvectorsSHArspSHA224Monte.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA224ShortMsg.req" >
".testvectorsSHArspSHA224ShortMsg.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA256LongMsg.req" >
".testvectorsSHArspSHA256LongMsg.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA256Monte.req" >
".testvectorsSHArspSHA256Monte.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA256ShortMsg.req" >
".testvectorsSHArspSHA256ShortMsg.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA384LongMsg.req" >
".testvectorsSHArspSHA384LongMsg.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA384Monte.req" >
".testvectorsSHArspSHA384Monte.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA384ShortMsg.req" >
".testvectorsSHArspSHA384ShortMsg.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA512LongMsg.req" >
".testvectorsSHArspSHA512LongMsg.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA512Monte.req" >
".testvectorsSHArspSHA512Monte.rsp"
+..out32dllfips_shatest <
".testvectorsSHAreqSHA512ShortMsg.req" >
".testvectorsSHArspSHA512ShortMsg.rsp"
+
+echo Running tests in .testvectorsTDESreq
+if exist ".testvectorsTDESrsp" rd /s /q
".testvectorsTDESrsp"
+md ".testvectorsTDESrsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCinvperm.req"
".testvectorsTDESrspTCBCinvperm.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCMMT1.req"
".testvectorsTDESrspTCBCMMT1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCMMT2.req"
".testvectorsTDESrspTCBCMMT2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCMMT3.req"
".testvectorsTDESrspTCBCMMT3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCMonte1.req"
".testvectorsTDESrspTCBCMonte1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCMonte2.req"
".testvectorsTDESrspTCBCMonte2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCMonte3.req"
".testvectorsTDESrspTCBCMonte3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCpermop.req"
".testvectorsTDESrspTCBCpermop.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCsubtab.req"
".testvectorsTDESrspTCBCsubtab.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCvarkey.req"
".testvectorsTDESrspTCBCvarkey.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCBCvartext.req"
".testvectorsTDESrspTCBCvartext.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64invperm.req"
".testvectorsTDESrspTCFB64invperm.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64MMT1.req"
".testvectorsTDESrspTCFB64MMT1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64MMT2.req"
".testvectorsTDESrspTCFB64MMT2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64MMT3.req"
".testvectorsTDESrspTCFB64MMT3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64Monte1.req"
".testvectorsTDESrspTCFB64Monte1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64Monte2.req"
".testvectorsTDESrspTCFB64Monte2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64Monte3.req"
".testvectorsTDESrspTCFB64Monte3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64permop.req"
".testvectorsTDESrspTCFB64permop.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64subtab.req"
".testvectorsTDESrspTCFB64subtab.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64varkey.req"
".testvectorsTDESrspTCFB64varkey.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB64vartext.req"
".testvectorsTDESrspTCFB64vartext.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8invperm.req"
".testvectorsTDESrspTCFB8invperm.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8MMT1.req"
".testvectorsTDESrspTCFB8MMT1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8MMT2.req"
".testvectorsTDESrspTCFB8MMT2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8MMT3.req"
".testvectorsTDESrspTCFB8MMT3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8Monte1.req"
".testvectorsTDESrspTCFB8Monte1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8Monte2.req"
".testvectorsTDESrspTCFB8Monte2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8Monte3.req"
".testvectorsTDESrspTCFB8Monte3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8permop.req"
".testvectorsTDESrspTCFB8permop.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8subtab.req"
".testvectorsTDESrspTCFB8subtab.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8varkey.req"
".testvectorsTDESrspTCFB8varkey.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTCFB8vartext.req"
".testvectorsTDESrspTCFB8vartext.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBinvperm.req"
".testvectorsTDESrspTECBinvperm.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBMMT1.req"
".testvectorsTDESrspTECBMMT1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBMMT2.req"
".testvectorsTDESrspTECBMMT2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBMMT3.req"
".testvectorsTDESrspTECBMMT3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBMonte1.req"
".testvectorsTDESrspTECBMonte1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBMonte2.req"
".testvectorsTDESrspTECBMonte2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBMonte3.req"
".testvectorsTDESrspTECBMonte3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBpermop.req"
".testvectorsTDESrspTECBpermop.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBsubtab.req"
".testvectorsTDESrspTECBsubtab.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBvarkey.req"
".testvectorsTDESrspTECBvarkey.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTECBvartext.req"
".testvectorsTDESrspTECBvartext.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBinvperm.req"
".testvectorsTDESrspTOFBinvperm.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBMMT1.req"
".testvectorsTDESrspTOFBMMT1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBMMT2.req"
".testvectorsTDESrspTOFBMMT2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBMMT3.req"
".testvectorsTDESrspTOFBMMT3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBMonte1.req"
".testvectorsTDESrspTOFBMonte1.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBMonte2.req"
".testvectorsTDESrspTOFBMonte2.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBMonte3.req"
".testvectorsTDESrspTOFBMonte3.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBpermop.req"
".testvectorsTDESrspTOFBpermop.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBsubtab.req"
".testvectorsTDESrspTOFBsubtab.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBvarkey.req"
".testvectorsTDESrspTOFBvarkey.rsp"
+..out32dllfips_desmovs -f
".testvectorsTDESreqTOFBvartext.req"
".testvectorsTDESrspTOFBvartext.rsp"
 .
patch -p0 <<' .'
Index: openssl/fips/fipstests.sh
============================================================
================
$ cvs diff -u -r1.1.2.1 -r1.1.2.2 fipstests.sh
--- openssl/fips/fipstests.sh 15 Aug 2007 13:35:31
-0000 1.1.2.1
+++ openssl/fips/fipstests.sh 22 Sep 2007 12:43:13
-0000 1.1.2.2
 -1,373 +1,400 
#!/bin/sh
-set -x
-
# Test vector run script
# Auto generated by mkfipsscr.pl script
# Do not edit
-# dsa tests
-rm -rf testvectors/dsa/rsp
-mkdir testvectors/dsa/rsp
-
-if [ -f testvectors/dsa/req/PQGGen.req ] ; then
../util/shlib_wrap.sh ../test/fips_dssvs pqg <
testvectors/dsa/req/PQGGen.req >
testvectors/dsa/rsp/PQGGen.rsp || { echo fips_dssvs pqg
failure ; exit 1; } ; fi
-if [ -f testvectors/dsa/req/KeyPair.req ] ; then
../util/shlib_wrap.sh ../test/fips_dssvs keypair <
testvectors/dsa/req/KeyPair.req >
testvectors/dsa/rsp/KeyPair.rsp || { echo fips_dssvs keypair
failure ; exit 1; } ; fi
-if [ -f testvectors/dsa/req/SigGen.req ] ; then
../util/shlib_wrap.sh ../test/fips_dssvs siggen <
testvectors/dsa/req/SigGen.req >
testvectors/dsa/rsp/SigGen.rsp || { echo fips_dssvs siggen
failure ; exit 1; } ; fi
-if [ -f testvectors/dsa/req/SigVer.req ] ; then
../util/shlib_wrap.sh ../test/fips_dssvs sigver <
testvectors/dsa/req/SigVer.req >
testvectors/dsa/rsp/SigVer.rsp || { echo fips_dssvs sigver
failure ; exit 1; } ; fi
-
-# sha tests
-rm -rf testvectors/sha/rsp
-mkdir testvectors/sha/rsp
+echo Running tests in "./testvectors/AES/req"
+rm -rf "./testvectors/AES/rsp"
+mkdir "./testvectors/AES/rsp"
-if [ -f testvectors/sha/req/SHA1LongMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA1LongMsg.req >
testvectors/sha/rsp/SHA1LongMsg.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA1Monte.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA1Monte.req >
testvectors/sha/rsp/SHA1Monte.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA1ShortMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA1ShortMsg.req >
testvectors/sha/rsp/SHA1ShortMsg.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA224LongMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA224LongMsg.req >
testvectors/sha/rsp/SHA224LongMsg.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA224Monte.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA224Monte.req >
testvectors/sha/rsp/SHA224Monte.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA224ShortMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA224ShortMsg.req >
testvectors/sha/rsp/SHA224ShortMsg.rsp || { echo
fips_shatest failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA256LongMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA256LongMsg.req >
testvectors/sha/rsp/SHA256LongMsg.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA256Monte.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA256Monte.req >
testvectors/sha/rsp/SHA256Monte.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA256ShortMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA256ShortMsg.req >
testvectors/sha/rsp/SHA256ShortMsg.rsp || { echo
fips_shatest failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA384LongMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA384LongMsg.req >
testvectors/sha/rsp/SHA384LongMsg.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA384Monte.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA384Monte.req >
testvectors/sha/rsp/SHA384Monte.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA384ShortMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA384ShortMsg.req >
testvectors/sha/rsp/SHA384ShortMsg.rsp || { echo
fips_shatest failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA512LongMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA512LongMsg.req >
testvectors/sha/rsp/SHA512LongMsg.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA512Monte.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA512Monte.req >
testvectors/sha/rsp/SHA512Monte.rsp || { echo fips_shatest
failure ; exit 1; } ; fi
-if [ -f testvectors/sha/req/SHA512ShortMsg.req ] ; then
../util/shlib_wrap.sh ../test/fips_shatest <
testvectors/sha/req/SHA512ShortMsg.req >
testvectors/sha/rsp/SHA512ShortMsg.rsp || { echo
fips_shatest failure ; exit 1; } ; fi
-
-# aes tests
-rm -rf testvectors/aes/rsp
-mkdir testvectors/aes/rsp
-
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCGFSbox128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCGFSbox128.req"
"./testvectors/AES/rsp/CBCGFSbox128.rsp" || { echo
"./testvectors/AES/req/CBCGFSbox128.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCGFSbox192.req"
"./testvectors/AES/rsp/CBCGFSbox192.rsp" || { echo
"./testvectors/AES/req/CBCGFSbox192.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCGFSbox256.req"
"./testvectors/AES/rsp/CBCGFSbox256.rsp" || { echo
"./testvectors/AES/req/CBCGFSbox256.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCKeySbox128.req"
"./testvectors/AES/rsp/CBCKeySbox128.rsp" || {
echo "./testvectors/AES/req/CBCKeySbox128.req
failure" ; exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCKeySbox192.req"
"./testvectors/AES/rsp/CBCKeySbox192.rsp" || {
echo "./testvectors/AES/req/CBCKeySbox192.req
failure" ; exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCKeySbox256.req"
"./testvectors/AES/rsp/CBCKeySbox256.rsp" || {
echo "./testvectors/AES/req/CBCKeySbox256.req
failure" ; exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCMCT128.req"
"./testvectors/AES/rsp/CBCMCT128.rsp" || { echo
"./testvectors/AES/req/CBCMCT128.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCMCT192.req"
"./testvectors/AES/rsp/CBCMCT192.rsp" || { echo
"./testvectors/AES/req/CBCMCT192.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCMCT256.req"
"./testvectors/AES/rsp/CBCMCT256.rsp" || { echo
"./testvectors/AES/req/CBCMCT256.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCMMT128.req"
"./testvectors/AES/rsp/CBCMMT128.rsp" || { echo
"./testvectors/AES/req/CBCMMT128.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCMMT192.req"
"./testvectors/AES/rsp/CBCMMT192.rsp" || { echo
"./testvectors/AES/req/CBCMMT192.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCMMT256.req"
"./testvectors/AES/rsp/CBCMMT256.rsp" || { echo
"./testvectors/AES/req/CBCMMT256.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCVarKey128.req"
"./testvectors/AES/rsp/CBCVarKey128.rsp" || { echo
"./testvectors/AES/req/CBCVarKey128.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCVarKey192.req"
"./testvectors/AES/rsp/CBCVarKey192.rsp" || { echo
"./testvectors/AES/req/CBCVarKey192.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCVarKey256.req"
"./testvectors/AES/rsp/CBCVarKey256.rsp" || { echo
"./testvectors/AES/req/CBCVarKey256.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCVarTxt128.req"
"./testvectors/AES/rsp/CBCVarTxt128.rsp" || { echo
"./testvectors/AES/req/CBCVarTxt128.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCVarTxt192.req"
"./testvectors/AES/rsp/CBCVarTxt192.rsp" || { echo
"./testvectors/AES/req/CBCVarTxt192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCGFSbox192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CBCVarTxt256.req"
"./testvectors/AES/rsp/CBCVarTxt256.rsp" || { echo
"./testvectors/AES/req/CBCVarTxt256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCGFSbox256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128GFSbox128.req"
"./testvectors/AES/rsp/CFB128GFSbox128.rsp" || {
echo "./testvectors/AES/req/CFB128GFSbox128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCKeySbox128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128GFSbox192.req"
"./testvectors/AES/rsp/CFB128GFSbox192.rsp" || {
echo "./testvectors/AES/req/CFB128GFSbox192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCKeySbox192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128GFSbox256.req"
"./testvectors/AES/rsp/CFB128GFSbox256.rsp" || {
echo "./testvectors/AES/req/CFB128GFSbox256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCKeySbox256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128KeySbox128.req"
"./testvectors/AES/rsp/CFB128KeySbox128.rsp" || {
echo "./testvectors/AES/req/CFB128KeySbox128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCMCT128.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128KeySbox192.req"
"./testvectors/AES/rsp/CFB128KeySbox192.rsp" || {
echo "./testvectors/AES/req/CFB128KeySbox192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCMCT192.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128KeySbox256.req"
"./testvectors/AES/rsp/CFB128KeySbox256.rsp" || {
echo "./testvectors/AES/req/CFB128KeySbox256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCMCT256.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128MCT128.req"
"./testvectors/AES/rsp/CFB128MCT128.rsp" || { echo
"./testvectors/AES/req/CFB128MCT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCMMT128.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128MCT192.req"
"./testvectors/AES/rsp/CFB128MCT192.rsp" || { echo
"./testvectors/AES/req/CFB128MCT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCMMT192.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128MCT256.req"
"./testvectors/AES/rsp/CFB128MCT256.rsp" || { echo
"./testvectors/AES/req/CFB128MCT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCMMT256.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128MMT128.req"
"./testvectors/AES/rsp/CFB128MMT128.rsp" || { echo
"./testvectors/AES/req/CFB128MMT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCVarKey128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128MMT192.req"
"./testvectors/AES/rsp/CFB128MMT192.rsp" || { echo
"./testvectors/AES/req/CFB128MMT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCVarKey192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128MMT256.req"
"./testvectors/AES/rsp/CFB128MMT256.rsp" || { echo
"./testvectors/AES/req/CFB128MMT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCVarKey256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128VarKey128.req"
"./testvectors/AES/rsp/CFB128VarKey128.rsp" || {
echo "./testvectors/AES/req/CFB128VarKey128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCVarTxt128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128VarKey192.req"
"./testvectors/AES/rsp/CFB128VarKey192.rsp" || {
echo "./testvectors/AES/req/CFB128VarKey192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCVarTxt192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128VarKey256.req"
"./testvectors/AES/rsp/CFB128VarKey256.rsp" || {
echo "./testvectors/AES/req/CFB128VarKey256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CBCVarTxt256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128VarTxt128.req"
"./testvectors/AES/rsp/CFB128VarTxt128.rsp" || {
echo "./testvectors/AES/req/CFB128VarTxt128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128GFSbox128.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128VarTxt192.req"
"./testvectors/AES/rsp/CFB128VarTxt192.rsp" || {
echo "./testvectors/AES/req/CFB128VarTxt192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128GFSbox192.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB128VarTxt256.req"
"./testvectors/AES/rsp/CFB128VarTxt256.rsp" || {
echo "./testvectors/AES/req/CFB128VarTxt256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128GFSbox256.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1GFSbox128.req"
"./testvectors/AES/rsp/CFB1GFSbox128.rsp" || {
echo "./testvectors/AES/req/CFB1GFSbox128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128KeySbox128.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1GFSbox192.req"
"./testvectors/AES/rsp/CFB1GFSbox192.rsp" || {
echo "./testvectors/AES/req/CFB1GFSbox192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128KeySbox192.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1GFSbox256.req"
"./testvectors/AES/rsp/CFB1GFSbox256.rsp" || {
echo "./testvectors/AES/req/CFB1GFSbox256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128KeySbox256.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1KeySbox128.req"
"./testvectors/AES/rsp/CFB1KeySbox128.rsp" || {
echo "./testvectors/AES/req/CFB1KeySbox128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128MCT128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1KeySbox192.req"
"./testvectors/AES/rsp/CFB1KeySbox192.rsp" || {
echo "./testvectors/AES/req/CFB1KeySbox192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128MCT192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1KeySbox256.req"
"./testvectors/AES/rsp/CFB1KeySbox256.rsp" || {
echo "./testvectors/AES/req/CFB1KeySbox256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128MCT256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1MCT128.req"
"./testvectors/AES/rsp/CFB1MCT128.rsp" || { echo
"./testvectors/AES/req/CFB1MCT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128MMT128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1MCT192.req"
"./testvectors/AES/rsp/CFB1MCT192.rsp" || { echo
"./testvectors/AES/req/CFB1MCT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128MMT192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1MCT256.req"
"./testvectors/AES/rsp/CFB1MCT256.rsp" || { echo
"./testvectors/AES/req/CFB1MCT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128MMT256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1MMT128.req"
"./testvectors/AES/rsp/CFB1MMT128.rsp" || { echo
"./testvectors/AES/req/CFB1MMT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128VarKey128.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1MMT192.req"
"./testvectors/AES/rsp/CFB1MMT192.rsp" || { echo
"./testvectors/AES/req/CFB1MMT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128VarKey192.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1MMT256.req"
"./testvectors/AES/rsp/CFB1MMT256.rsp" || { echo
"./testvectors/AES/req/CFB1MMT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128VarKey256.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1VarKey128.req"
"./testvectors/AES/rsp/CFB1VarKey128.rsp" || {
echo "./testvectors/AES/req/CFB1VarKey128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128VarTxt128.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1VarKey192.req"
"./testvectors/AES/rsp/CFB1VarKey192.rsp" || {
echo "./testvectors/AES/req/CFB1VarKey192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128VarTxt192.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1VarKey256.req"
"./testvectors/AES/rsp/CFB1VarKey256.rsp" || {
echo "./testvectors/AES/req/CFB1VarKey256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB128VarTxt256.req || { echo
fips_aesavs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1VarTxt128.req"
"./testvectors/AES/rsp/CFB1VarTxt128.rsp" || {
echo "./testvectors/AES/req/CFB1VarTxt128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8GFSbox128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1VarTxt192.req"
"./testvectors/AES/rsp/CFB1VarTxt192.rsp" || {
echo "./testvectors/AES/req/CFB1VarTxt192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8GFSbox192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB1VarTxt256.req"
"./testvectors/AES/rsp/CFB1VarTxt256.rsp" || {
echo "./testvectors/AES/req/CFB1VarTxt256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8GFSbox256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8GFSbox128.req"
"./testvectors/AES/rsp/CFB8GFSbox128.rsp" || {
echo "./testvectors/AES/req/CFB8GFSbox128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8KeySbox128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8GFSbox192.req"
"./testvectors/AES/rsp/CFB8GFSbox192.rsp" || {
echo "./testvectors/AES/req/CFB8GFSbox192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8KeySbox192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8GFSbox256.req"
"./testvectors/AES/rsp/CFB8GFSbox256.rsp" || {
echo "./testvectors/AES/req/CFB8GFSbox256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8KeySbox256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8KeySbox128.req"
"./testvectors/AES/rsp/CFB8KeySbox128.rsp" || {
echo "./testvectors/AES/req/CFB8KeySbox128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8MCT128.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8KeySbox192.req"
"./testvectors/AES/rsp/CFB8KeySbox192.rsp" || {
echo "./testvectors/AES/req/CFB8KeySbox192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8MCT192.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8KeySbox256.req"
"./testvectors/AES/rsp/CFB8KeySbox256.rsp" || {
echo "./testvectors/AES/req/CFB8KeySbox256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8MCT256.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8MCT128.req"
"./testvectors/AES/rsp/CFB8MCT128.rsp" || { echo
"./testvectors/AES/req/CFB8MCT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8MMT128.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8MCT192.req"
"./testvectors/AES/rsp/CFB8MCT192.rsp" || { echo
"./testvectors/AES/req/CFB8MCT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8MMT192.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8MCT256.req"
"./testvectors/AES/rsp/CFB8MCT256.rsp" || { echo
"./testvectors/AES/req/CFB8MCT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8MMT256.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8MMT128.req"
"./testvectors/AES/rsp/CFB8MMT128.rsp" || { echo
"./testvectors/AES/req/CFB8MMT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8VarKey128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8MMT192.req"
"./testvectors/AES/rsp/CFB8MMT192.rsp" || { echo
"./testvectors/AES/req/CFB8MMT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8VarKey192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8MMT256.req"
"./testvectors/AES/rsp/CFB8MMT256.rsp" || { echo
"./testvectors/AES/req/CFB8MMT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8VarKey256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8VarKey128.req"
"./testvectors/AES/rsp/CFB8VarKey128.rsp" || {
echo "./testvectors/AES/req/CFB8VarKey128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8VarTxt128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8VarKey192.req"
"./testvectors/AES/rsp/CFB8VarKey192.rsp" || {
echo "./testvectors/AES/req/CFB8VarKey192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8VarTxt192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8VarKey256.req"
"./testvectors/AES/rsp/CFB8VarKey256.rsp" || {
echo "./testvectors/AES/req/CFB8VarKey256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/CFB8VarTxt256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8VarTxt128.req"
"./testvectors/AES/rsp/CFB8VarTxt128.rsp" || {
echo "./testvectors/AES/req/CFB8VarTxt128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBGFSbox128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8VarTxt192.req"
"./testvectors/AES/rsp/CFB8VarTxt192.rsp" || {
echo "./testvectors/AES/req/CFB8VarTxt192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBGFSbox192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/CFB8VarTxt256.req"
"./testvectors/AES/rsp/CFB8VarTxt256.rsp" || {
echo "./testvectors/AES/req/CFB8VarTxt256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBGFSbox256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBGFSbox128.req"
"./testvectors/AES/rsp/ECBGFSbox128.rsp" || { echo
"./testvectors/AES/req/ECBGFSbox128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBKeySbox128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBGFSbox192.req"
"./testvectors/AES/rsp/ECBGFSbox192.rsp" || { echo
"./testvectors/AES/req/ECBGFSbox192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBKeySbox192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBGFSbox256.req"
"./testvectors/AES/rsp/ECBGFSbox256.rsp" || { echo
"./testvectors/AES/req/ECBGFSbox256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBKeySbox256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBKeySbox128.req"
"./testvectors/AES/rsp/ECBKeySbox128.rsp" || {
echo "./testvectors/AES/req/ECBKeySbox128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBMCT128.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBKeySbox192.req"
"./testvectors/AES/rsp/ECBKeySbox192.rsp" || {
echo "./testvectors/AES/req/ECBKeySbox192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBMCT192.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBKeySbox256.req"
"./testvectors/AES/rsp/ECBKeySbox256.rsp" || {
echo "./testvectors/AES/req/ECBKeySbox256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBMCT256.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBMCT128.req"
"./testvectors/AES/rsp/ECBMCT128.rsp" || { echo
"./testvectors/AES/req/ECBMCT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBMMT128.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBMCT192.req"
"./testvectors/AES/rsp/ECBMCT192.rsp" || { echo
"./testvectors/AES/req/ECBMCT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBMMT192.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBMCT256.req"
"./testvectors/AES/rsp/ECBMCT256.rsp" || { echo
"./testvectors/AES/req/ECBMCT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBMMT256.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBMMT128.req"
"./testvectors/AES/rsp/ECBMMT128.rsp" || { echo
"./testvectors/AES/req/ECBMMT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBVarKey128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBMMT192.req"
"./testvectors/AES/rsp/ECBMMT192.rsp" || { echo
"./testvectors/AES/req/ECBMMT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBVarKey192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBMMT256.req"
"./testvectors/AES/rsp/ECBMMT256.rsp" || { echo
"./testvectors/AES/req/ECBMMT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBVarKey256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBVarKey128.req"
"./testvectors/AES/rsp/ECBVarKey128.rsp" || { echo
"./testvectors/AES/req/ECBVarKey128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBVarTxt128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBVarKey192.req"
"./testvectors/AES/rsp/ECBVarKey192.rsp" || { echo
"./testvectors/AES/req/ECBVarKey192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBVarTxt192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBVarKey256.req"
"./testvectors/AES/rsp/ECBVarKey256.rsp" || { echo
"./testvectors/AES/req/ECBVarKey256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/ECBVarTxt256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBVarTxt128.req"
"./testvectors/AES/rsp/ECBVarTxt128.rsp" || { echo
"./testvectors/AES/req/ECBVarTxt128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBGFSbox128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBVarTxt192.req"
"./testvectors/AES/rsp/ECBVarTxt192.rsp" || { echo
"./testvectors/AES/req/ECBVarTxt192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBGFSbox192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/ECBVarTxt256.req"
"./testvectors/AES/rsp/ECBVarTxt256.rsp" || { echo
"./testvectors/AES/req/ECBVarTxt256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBGFSbox256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBGFSbox128.req"
"./testvectors/AES/rsp/OFBGFSbox128.rsp" || { echo
"./testvectors/AES/req/OFBGFSbox128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBKeySbox128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBGFSbox192.req"
"./testvectors/AES/rsp/OFBGFSbox192.rsp" || { echo
"./testvectors/AES/req/OFBGFSbox192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBKeySbox192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBGFSbox256.req"
"./testvectors/AES/rsp/OFBGFSbox256.rsp" || { echo
"./testvectors/AES/req/OFBGFSbox256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBKeySbox256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBKeySbox128.req"
"./testvectors/AES/rsp/OFBKeySbox128.rsp" || {
echo "./testvectors/AES/req/OFBKeySbox128.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBMCT128.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBKeySbox192.req"
"./testvectors/AES/rsp/OFBKeySbox192.rsp" || {
echo "./testvectors/AES/req/OFBKeySbox192.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBMCT192.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBKeySbox256.req"
"./testvectors/AES/rsp/OFBKeySbox256.rsp" || {
echo "./testvectors/AES/req/OFBKeySbox256.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBMCT256.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBMCT128.req"
"./testvectors/AES/rsp/OFBMCT128.rsp" || { echo
"./testvectors/AES/req/OFBMCT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBMMT128.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBMCT192.req"
"./testvectors/AES/rsp/OFBMCT192.rsp" || { echo
"./testvectors/AES/req/OFBMCT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBMMT192.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBMCT256.req"
"./testvectors/AES/rsp/OFBMCT256.rsp" || { echo
"./testvectors/AES/req/OFBMCT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBMMT256.req || { echo fips_aesavs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBMMT128.req"
"./testvectors/AES/rsp/OFBMMT128.rsp" || { echo
"./testvectors/AES/req/OFBMMT128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBVarKey128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBMMT192.req"
"./testvectors/AES/rsp/OFBMMT192.rsp" || { echo
"./testvectors/AES/req/OFBMMT192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBVarKey192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBMMT256.req"
"./testvectors/AES/rsp/OFBMMT256.rsp" || { echo
"./testvectors/AES/req/OFBMMT256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBVarKey256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBVarKey128.req"
"./testvectors/AES/rsp/OFBVarKey128.rsp" || { echo
"./testvectors/AES/req/OFBVarKey128.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBVarTxt128.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBVarKey192.req"
"./testvectors/AES/rsp/OFBVarKey192.rsp" || { echo
"./testvectors/AES/req/OFBVarKey192.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBVarTxt192.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBVarKey256.req"
"./testvectors/AES/rsp/OFBVarKey256.rsp" || { echo
"./testvectors/AES/req/OFBVarKey256.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_aesavs -f
testvectors/aes/req/OFBVarTxt256.req || { echo fips_aesavs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBVarTxt128.req"
"./testvectors/AES/rsp/OFBVarTxt128.rsp" || { echo
"./testvectors/AES/req/OFBVarTxt128.req failure" ;
exit 1
}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBVarTxt192.req"
"./testvectors/AES/rsp/OFBVarTxt192.rsp" || { echo
"./testvectors/AES/req/OFBVarTxt192.req failure" ;
exit 1
+}
+../util/shlib_wrap.sh ../test/fips_aesavs -f
"./testvectors/AES/req/OFBVarTxt256.req"
"./testvectors/AES/rsp/OFBVarTxt256.rsp" || { echo
"./testvectors/AES/req/OFBVarTxt256.req failure" ;
exit 1
+}
+
+echo Running tests in "./testvectors/DSA/req"
+rm -rf "./testvectors/DSA/rsp"
+mkdir "./testvectors/DSA/rsp"
+
+../util/shlib_wrap.sh ../test/fips_dssvs keypair <
"./testvectors/DSA/req/KeyPair.req" >
"./testvectors/DSA/rsp/KeyPair.rsp" || { echo
"./testvectors/DSA/req/KeyPair.req failure" ; exit
1; }
+../util/shlib_wrap.sh ../test/fips_dssvs pqg <
"./testvectors/DSA/req/PQGGen.req" >
"./testvectors/DSA/rsp/PQGGen.rsp" || { echo
"./testvectors/DSA/req/PQGGen.req failure" ; exit
1; }
+../util/shlib_wrap.sh ../test/fips_dssvs siggen <
"./testvectors/DSA/req/SigGen.req" >
"./testvectors/DSA/rsp/SigGen.rsp" || { echo
"./testvectors/DSA/req/SigGen.req failure" ; exit
1; }
+../util/shlib_wrap.sh ../test/fips_dssvs sigver <
"./testvectors/DSA/req/SigVer.req" >
"./testvectors/DSA/rsp/SigVer.rsp" || { echo
"./testvectors/DSA/req/SigVer.req failure" ; exit
1; }
+
+echo Running tests in "./testvectors/HMAC/req"
+rm -rf "./testvectors/HMAC/rsp"
+mkdir "./testvectors/HMAC/rsp"
+
+../util/shlib_wrap.sh ../test/fips_hmactest <
"./testvectors/HMAC/req/HMAC.req" >
"./testvectors/HMAC/rsp/HMAC.rsp" || { echo
"./testvectors/HMAC/req/HMAC.req failure" ; exit
1; }
+
+echo Running tests in "./testvectors/RNG/req"
+rm -rf "./testvectors/RNG/rsp"
+mkdir "./testvectors/RNG/rsp"
+
+../util/shlib_wrap.sh ../test/fips_rngvs mct <
"./testvectors/RNG/req/ANSI931_AES128MCT.req" >
"./testvectors/RNG/rsp/ANSI931_AES128MCT.rsp" || {
echo "./testvectors/RNG/req/ANSI931_AES128MCT.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_rngvs vst <
"./testvectors/RNG/req/ANSI931_AES128VST.req" >
"./testvectors/RNG/rsp/ANSI931_AES128VST.rsp" || {
echo "./testvectors/RNG/req/ANSI931_AES128VST.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_rngvs mct <
"./testvectors/RNG/req/ANSI931_AES192MCT.req" >
"./testvectors/RNG/rsp/ANSI931_AES192MCT.rsp" || {
echo "./testvectors/RNG/req/ANSI931_AES192MCT.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_rngvs vst <
"./testvectors/RNG/req/ANSI931_AES192VST.req" >
"./testvectors/RNG/rsp/ANSI931_AES192VST.rsp" || {
echo "./testvectors/RNG/req/ANSI931_AES192VST.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_rngvs mct <
"./testvectors/RNG/req/ANSI931_AES256MCT.req" >
"./testvectors/RNG/rsp/ANSI931_AES256MCT.rsp" || {
echo "./testvectors/RNG/req/ANSI931_AES256MCT.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_rngvs vst <
"./testvectors/RNG/req/ANSI931_AES256VST.req" >
"./testvectors/RNG/rsp/ANSI931_AES256VST.rsp" || {
echo "./testvectors/RNG/req/ANSI931_AES256VST.req
failure" ; exit 1; }
+
+echo Running tests in "./testvectors/RSA/req"
+rm -rf "./testvectors/RSA/rsp"
+mkdir "./testvectors/RSA/rsp"
+
+../util/shlib_wrap.sh ../test/fips_rsagtest <
"./testvectors/RSA/req/KeyGenRSA.req" >
"./testvectors/RSA/rsp/KeyGenRSA.rsp" || { echo
"./testvectors/RSA/req/KeyGenRSA.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_rsastest <
"./testvectors/RSA/req/SigGen15.req" >
"./testvectors/RSA/rsp/SigGen15.rsp" || { echo
"./testvectors/RSA/req/SigGen15.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_rsastest -saltlen 0
< "./testvectors/RSA/req/SigGenPSS.req" >
"./testvectors/RSA/rsp/SigGenPSS.rsp" || { echo
"./testvectors/RSA/req/SigGenPSS.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_rsastest -x931 <
"./testvectors/RSA/req/SigGenRSA.req" >
"./testvectors/RSA/rsp/SigGenRSA.rsp" || { echo
"./testvectors/RSA/req/SigGenRSA.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_rsavtest <
"./testvectors/RSA/req/SigVer15.req" >
"./testvectors/RSA/rsp/SigVer15.rsp" || { echo
"./testvectors/RSA/req/SigVer15.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_rsavtest -saltlen 0
< "./testvectors/RSA/req/SigVerPSS.req" >
"./testvectors/RSA/rsp/SigVerPSS.rsp" || { echo
"./testvectors/RSA/req/SigVerPSS.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_rsavtest -x931 <
"./testvectors/RSA/req/SigVerRSA.req" >
"./testvectors/RSA/rsp/SigVerRSA.rsp" || { echo
"./testvectors/RSA/req/SigVerRSA.req failure" ;
exit 1; }
-# tdes tests
-rm -rf testvectors/tdes/rsp
-mkdir testvectors/tdes/rsp
+echo Running tests in "./testvectors/SHA/req"
+rm -rf "./testvectors/SHA/rsp"
+mkdir "./testvectors/SHA/rsp"
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCinvperm.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA1LongMsg.req" >
"./testvectors/SHA/rsp/SHA1LongMsg.rsp" || { echo
"./testvectors/SHA/req/SHA1LongMsg.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA1Monte.req" >
"./testvectors/SHA/rsp/SHA1Monte.rsp" || { echo
"./testvectors/SHA/req/SHA1Monte.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA1ShortMsg.req" >
"./testvectors/SHA/rsp/SHA1ShortMsg.rsp" || { echo
"./testvectors/SHA/req/SHA1ShortMsg.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA224LongMsg.req" >
"./testvectors/SHA/rsp/SHA224LongMsg.rsp" || {
echo "./testvectors/SHA/req/SHA224LongMsg.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA224Monte.req" >
"./testvectors/SHA/rsp/SHA224Monte.rsp" || { echo
"./testvectors/SHA/req/SHA224Monte.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA224ShortMsg.req" >
"./testvectors/SHA/rsp/SHA224ShortMsg.rsp" || {
echo "./testvectors/SHA/req/SHA224ShortMsg.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA256LongMsg.req" >
"./testvectors/SHA/rsp/SHA256LongMsg.rsp" || {
echo "./testvectors/SHA/req/SHA256LongMsg.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA256Monte.req" >
"./testvectors/SHA/rsp/SHA256Monte.rsp" || { echo
"./testvectors/SHA/req/SHA256Monte.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA256ShortMsg.req" >
"./testvectors/SHA/rsp/SHA256ShortMsg.rsp" || {
echo "./testvectors/SHA/req/SHA256ShortMsg.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA384LongMsg.req" >
"./testvectors/SHA/rsp/SHA384LongMsg.rsp" || {
echo "./testvectors/SHA/req/SHA384LongMsg.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA384Monte.req" >
"./testvectors/SHA/rsp/SHA384Monte.rsp" || { echo
"./testvectors/SHA/req/SHA384Monte.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA384ShortMsg.req" >
"./testvectors/SHA/rsp/SHA384ShortMsg.rsp" || {
echo "./testvectors/SHA/req/SHA384ShortMsg.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA512LongMsg.req" >
"./testvectors/SHA/rsp/SHA512LongMsg.rsp" || {
echo "./testvectors/SHA/req/SHA512LongMsg.req
failure" ; exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA512Monte.req" >
"./testvectors/SHA/rsp/SHA512Monte.rsp" || { echo
"./testvectors/SHA/req/SHA512Monte.req failure" ;
exit 1; }
+../util/shlib_wrap.sh ../test/fips_shatest <
"./testvectors/SHA/req/SHA512ShortMsg.req" >
"./testvectors/SHA/rsp/SHA512ShortMsg.rsp" || {
echo "./testvectors/SHA/req/SHA512ShortMsg.req
failure" ; exit 1; }
+
+echo Running tests in "./testvectors/TDES/req"
+rm -rf "./testvectors/TDES/rsp"
+mkdir "./testvectors/TDES/rsp"
+
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCinvperm.req"
"./testvectors/TDES/rsp/TCBCinvperm.rsp" || { echo
"./testvectors/TDES/req/TCBCinvperm.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCMMT1.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCMMT1.req"
"./testvectors/TDES/rsp/TCBCMMT1.rsp" || { echo
"./testvectors/TDES/req/TCBCMMT1.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCMMT2.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCMMT2.req"
"./testvectors/TDES/rsp/TCBCMMT2.rsp" || { echo
"./testvectors/TDES/req/TCBCMMT2.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCMMT3.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCMMT3.req"
"./testvectors/TDES/rsp/TCBCMMT3.rsp" || { echo
"./testvectors/TDES/req/TCBCMMT3.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCMonte1.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCMonte1.req"
"./testvectors/TDES/rsp/TCBCMonte1.rsp" || { echo
"./testvectors/TDES/req/TCBCMonte1.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCMonte2.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCMonte2.req"
"./testvectors/TDES/rsp/TCBCMonte2.rsp" || { echo
"./testvectors/TDES/req/TCBCMonte2.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCMonte3.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCMonte3.req"
"./testvectors/TDES/rsp/TCBCMonte3.rsp" || { echo
"./testvectors/TDES/req/TCBCMonte3.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCpermop.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCpermop.req"
"./testvectors/TDES/rsp/TCBCpermop.rsp" || { echo
"./testvectors/TDES/req/TCBCpermop.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCsubtab.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCsubtab.req"
"./testvectors/TDES/rsp/TCBCsubtab.rsp" || { echo
"./testvectors/TDES/req/TCBCsubtab.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCvarkey.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCvarkey.req"
"./testvectors/TDES/rsp/TCBCvarkey.rsp" || { echo
"./testvectors/TDES/req/TCBCvarkey.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCBCvartext.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCBCvartext.req"
"./testvectors/TDES/rsp/TCBCvartext.rsp" || { echo
"./testvectors/TDES/req/TCBCvartext.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64invperm.req || { echo
fips_desmovs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64invperm.req"
"./testvectors/TDES/rsp/TCFB64invperm.rsp" || {
echo "./testvectors/TDES/req/TCFB64invperm.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64MMT1.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64MMT1.req"
"./testvectors/TDES/rsp/TCFB64MMT1.rsp" || { echo
"./testvectors/TDES/req/TCFB64MMT1.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64MMT2.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64MMT2.req"
"./testvectors/TDES/rsp/TCFB64MMT2.rsp" || { echo
"./testvectors/TDES/req/TCFB64MMT2.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64MMT3.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64MMT3.req"
"./testvectors/TDES/rsp/TCFB64MMT3.rsp" || { echo
"./testvectors/TDES/req/TCFB64MMT3.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64Monte1.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64Monte1.req"
"./testvectors/TDES/rsp/TCFB64Monte1.rsp" || {
echo "./testvectors/TDES/req/TCFB64Monte1.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64Monte2.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64Monte2.req"
"./testvectors/TDES/rsp/TCFB64Monte2.rsp" || {
echo "./testvectors/TDES/req/TCFB64Monte2.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64Monte3.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64Monte3.req"
"./testvectors/TDES/rsp/TCFB64Monte3.rsp" || {
echo "./testvectors/TDES/req/TCFB64Monte3.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64permop.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64permop.req"
"./testvectors/TDES/rsp/TCFB64permop.rsp" || {
echo "./testvectors/TDES/req/TCFB64permop.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64subtab.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64subtab.req"
"./testvectors/TDES/rsp/TCFB64subtab.rsp" || {
echo "./testvectors/TDES/req/TCFB64subtab.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64varkey.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64varkey.req"
"./testvectors/TDES/rsp/TCFB64varkey.rsp" || {
echo "./testvectors/TDES/req/TCFB64varkey.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB64vartext.req || { echo
fips_desmovs -f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB64vartext.req"
"./testvectors/TDES/rsp/TCFB64vartext.rsp" || {
echo "./testvectors/TDES/req/TCFB64vartext.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8invperm.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8invperm.req"
"./testvectors/TDES/rsp/TCFB8invperm.rsp" || {
echo "./testvectors/TDES/req/TCFB8invperm.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8MMT1.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8MMT1.req"
"./testvectors/TDES/rsp/TCFB8MMT1.rsp" || { echo
"./testvectors/TDES/req/TCFB8MMT1.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8MMT2.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8MMT2.req"
"./testvectors/TDES/rsp/TCFB8MMT2.rsp" || { echo
"./testvectors/TDES/req/TCFB8MMT2.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8MMT3.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8MMT3.req"
"./testvectors/TDES/rsp/TCFB8MMT3.rsp" || { echo
"./testvectors/TDES/req/TCFB8MMT3.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8Monte1.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8Monte1.req"
"./testvectors/TDES/rsp/TCFB8Monte1.rsp" || { echo
"./testvectors/TDES/req/TCFB8Monte1.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8Monte2.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8Monte2.req"
"./testvectors/TDES/rsp/TCFB8Monte2.rsp" || { echo
"./testvectors/TDES/req/TCFB8Monte2.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8Monte3.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8Monte3.req"
"./testvectors/TDES/rsp/TCFB8Monte3.rsp" || { echo
"./testvectors/TDES/req/TCFB8Monte3.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8permop.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8permop.req"
"./testvectors/TDES/rsp/TCFB8permop.rsp" || { echo
"./testvectors/TDES/req/TCFB8permop.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8subtab.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8subtab.req"
"./testvectors/TDES/rsp/TCFB8subtab.rsp" || { echo
"./testvectors/TDES/req/TCFB8subtab.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8varkey.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8varkey.req"
"./testvectors/TDES/rsp/TCFB8varkey.rsp" || { echo
"./testvectors/TDES/req/TCFB8varkey.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TCFB8vartext.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TCFB8vartext.req"
"./testvectors/TDES/rsp/TCFB8vartext.rsp" || {
echo "./testvectors/TDES/req/TCFB8vartext.req
failure" ; exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBinvperm.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBinvperm.req"
"./testvectors/TDES/rsp/TECBinvperm.rsp" || { echo
"./testvectors/TDES/req/TECBinvperm.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBMMT1.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBMMT1.req"
"./testvectors/TDES/rsp/TECBMMT1.rsp" || { echo
"./testvectors/TDES/req/TECBMMT1.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBMMT2.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBMMT2.req"
"./testvectors/TDES/rsp/TECBMMT2.rsp" || { echo
"./testvectors/TDES/req/TECBMMT2.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBMMT3.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBMMT3.req"
"./testvectors/TDES/rsp/TECBMMT3.rsp" || { echo
"./testvectors/TDES/req/TECBMMT3.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBMonte1.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBMonte1.req"
"./testvectors/TDES/rsp/TECBMonte1.rsp" || { echo
"./testvectors/TDES/req/TECBMonte1.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBMonte2.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBMonte2.req"
"./testvectors/TDES/rsp/TECBMonte2.rsp" || { echo
"./testvectors/TDES/req/TECBMonte2.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBMonte3.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBMonte3.req"
"./testvectors/TDES/rsp/TECBMonte3.rsp" || { echo
"./testvectors/TDES/req/TECBMonte3.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBpermop.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBpermop.req"
"./testvectors/TDES/rsp/TECBpermop.rsp" || { echo
"./testvectors/TDES/req/TECBpermop.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBsubtab.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBsubtab.req"
"./testvectors/TDES/rsp/TECBsubtab.rsp" || { echo
"./testvectors/TDES/req/TECBsubtab.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBvarkey.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBvarkey.req"
"./testvectors/TDES/rsp/TECBvarkey.rsp" || { echo
"./testvectors/TDES/req/TECBvarkey.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TECBvartext.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TECBvartext.req"
"./testvectors/TDES/rsp/TECBvartext.rsp" || { echo
"./testvectors/TDES/req/TECBvartext.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBinvperm.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBinvperm.req"
"./testvectors/TDES/rsp/TOFBinvperm.rsp" || { echo
"./testvectors/TDES/req/TOFBinvperm.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBMMT1.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBMMT1.req"
"./testvectors/TDES/rsp/TOFBMMT1.rsp" || { echo
"./testvectors/TDES/req/TOFBMMT1.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBMMT2.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBMMT2.req"
"./testvectors/TDES/rsp/TOFBMMT2.rsp" || { echo
"./testvectors/TDES/req/TOFBMMT2.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBMMT3.req || { echo fips_desmovs -f
failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBMMT3.req"
"./testvectors/TDES/rsp/TOFBMMT3.rsp" || { echo
"./testvectors/TDES/req/TOFBMMT3.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBMonte1.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBMonte1.req"
"./testvectors/TDES/rsp/TOFBMonte1.rsp" || { echo
"./testvectors/TDES/req/TOFBMonte1.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBMonte2.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBMonte2.req"
"./testvectors/TDES/rsp/TOFBMonte2.rsp" || { echo
"./testvectors/TDES/req/TOFBMonte2.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBMonte3.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBMonte3.req"
"./testvectors/TDES/rsp/TOFBMonte3.rsp" || { echo
"./testvectors/TDES/req/TOFBMonte3.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBpermop.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBpermop.req"
"./testvectors/TDES/rsp/TOFBpermop.rsp" || { echo
"./testvectors/TDES/req/TOFBpermop.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBsubtab.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBsubtab.req"
"./testvectors/TDES/rsp/TOFBsubtab.rsp" || { echo
"./testvectors/TDES/req/TOFBsubtab.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBvarkey.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBvarkey.req"
"./testvectors/TDES/rsp/TOFBvarkey.rsp" || { echo
"./testvectors/TDES/req/TOFBvarkey.req failure" ;
exit 1
}
-../util/shlib_wrap.sh ../test/fips_desmovs -f
testvectors/tdes/req/TOFBvartext.req || { echo fips_desmovs
-f failure ; exit 1
+../util/shlib_wrap.sh ../test/fips_desmovs -f
"./testvectors/TDES/req/TOFBvartext.req"
"./testvectors/TDES/rsp/TOFBvartext.rsp" || { echo
"./testvectors/TDES/req/TOFBvartext.req failure" ;
exit 1
}
-
-# hmac tests
-rm -rf testvectors/hmac/rsp
-mkdir testvectors/hmac/rsp
-
-if [ -f testvectors/hmac/req/HMAC.req ] ; then
../util/shlib_wrap.sh ../test/fips_hmactest <
testvectors/hmac/req/HMAC.req >
testvectors/hmac/rsp/HMAC.rsp || { echo fips_hmactest
failure ; exit 1; } ; fi
-
-# rng tests
-rm -rf testvectors/rng/rsp
-mkdir testvectors/rng/rsp
-
-if [ -f testvectors/rng/req/ANSI931_AES128MCT.req ] ;
then ../util/shlib_wrap.sh ../test/fips_rngvs mct <
testvectors/rng/req/ANSI931_AES128MCT.req >
testvectors/rng/rsp/ANSI931_AES128MCT.rsp || { echo
fips_rngvs mct failure ; exit 1; } ; fi
-if [ -f testvectors/rng/req/ANSI931_AES192MCT.req ] ;
then ../util/shlib_wrap.sh ../test/fips_rngvs mct <
testvectors/rng/req/ANSI931_AES192MCT.req >
testvectors/rng/rsp/ANSI931_AES192MCT.rsp || { echo
fips_rngvs mct failure ; exit 1; } ; fi
-if [ -f testvectors/rng/req/ANSI931_AES256MCT.req ] ;
then ../util/shlib_wrap.sh ../test/fips_rngvs mct <
testvectors/rng/req/ANSI931_AES256MCT.req >
testvectors/rng/rsp/ANSI931_AES256MCT.rsp || { echo
fips_rngvs mct failure ; exit 1; } ; fi
-if [ -f testvectors/rng/req/ANSI931_AES128VST.req ] ;
then ../util/shlib_wrap.sh ../test/fips_rngvs vst <
testvectors/rng/req/ANSI931_AES128VST.req >
testvectors/rng/rsp/ANSI931_AES128VST.rsp || { echo
fips_rngvs vst failure ; exit 1; } ; fi
-if [ -f testvectors/rng/req/ANSI931_AES192VST.req ] ;
then ../util/shlib_wrap.sh ../test/fips_rngvs vst <
testvectors/rng/req/ANSI931_AES192VST.req >
testvectors/rng/rsp/ANSI931_AES192VST.rsp || { echo
fips_rngvs vst failure ; exit 1; } ; fi
-if [ -f testvectors/rng/req/ANSI931_AES256VST.req ] ;
then ../util/shlib_wrap.sh ../test/fips_rngvs vst <
testvectors/rng/req/ANSI931_AES256VST.req >
testvectors/rng/rsp/ANSI931_AES256VST.rsp || { echo
fips_rngvs vst failure ; exit 1; } ; fi
-
-# rsa tests
-rm -rf testvectors/rsa/rsp
-mkdir testvectors/rsa/rsp
-
-if [ -f testvectors/rsa/req/SigGen15.req ] ; then
../util/shlib_wrap.sh ../test/fips_rsastest <
testvectors/rsa/req/SigGen15.req >
testvectors/rsa/rsp/SigGen15.rsp || { echo fips_rsastest
failure ; exit 1; } ; fi
-if [ -f testvectors/rsa/req/SigVer15.req ] ; then
../util/shlib_wrap.sh ../test/fips_rsavtest <
testvectors/rsa/req/SigVer15.req >
testvectors/rsa/rsp/SigVer15.rsp || { echo fips_rsavtest
failure ; exit 1; } ; fi
-if [ -f testvectors/rsa/req/SigGenPSS.req ] ; then
../util/shlib_wrap.sh ../test/fips_rsastest -saltlen 0 <
testvectors/rsa/req/SigGenPSS.req >
testvectors/rsa/rsp/SigGenPSS.rsp || { echo fips_rsastest
-saltlen 0 failure ; exit 1; } ; fi
-if [ -f testvectors/rsa/req/SigVerPSS.req ] ; then
../util/shlib_wrap.sh ../test/fips_rsavtest -saltlen 0 <
testvectors/rsa/req/SigVerPSS.req >
testvectors/rsa/rsp/SigVerPSS.rsp || { echo fips_rsavtest
-saltlen 0 failure ; exit 1; } ; fi
-if [ -f testvectors/rsa/req/SigGenRSA.req ] ; then
../util/shlib_wrap.sh ../test/fips_rsastest -x931 <
testvectors/rsa/req/SigGenRSA.req >
testvectors/rsa/rsp/SigGenRSA.rsp || { echo fips_rsastest
-x931 failure ; exit 1; } ; fi
-if [ -f testvectors/rsa/req/SigVerRSA.req ] ; then
../util/shlib_wrap.sh ../test/fips_rsavtest -x931 <
testvectors/rsa/req/SigVerRSA.req >
testvectors/rsa/rsp/SigVerRSA.rsp || { echo fips_rsavtest
-x931 failure ; exit 1; } ; fi
-if [ -f testvectors/rsa/req/KeyGenRSA.req ] ; then
../util/shlib_wrap.sh ../test/fips_rsagtest <
testvectors/rsa/req/KeyGenRSA.req >
testvectors/rsa/rsp/KeyGenRSA.rsp || { echo fips_rsagtest
failure ; exit 1; } ; fi
-
-# rsa_salt_62 tests
-rm -rf testvectors/rsa_salt_62/rsp
-mkdir testvectors/rsa_salt_62/rsp
-
-if [ -f testvectors/rsa_salt_62/req/SigGenPSS.req ] ;
then ../util/shlib_wrap.sh ../test/fips_rsastest -saltlen 62
< testvectors/rsa_salt_62/req/SigGenPSS.req >
testvectors/rsa_salt_62/rsp/SigGenPSS.rsp || { echo
fips_rsastest -saltlen 62 failure ; exit 1; } ; fi
-if [ -f testvectors/rsa_salt_62/req/SigVerPSS.req ] ;
then ../util/shlib_wrap.sh ../test/fips_rsavtest -saltlen 62
< testvectors/rsa_salt_62/req/SigVerPSS.req >
testvectors/rsa_salt_62/rsp/SigVerPSS.rsp || { echo
fips_rsavtest -saltlen 62 failure ; exit 1; } ; fi
 .
patch -p0 <<' .'
Index: openssl/fips/mkfipsscr.pl
============================================================
================
$ cvs diff -u -r1.1.2.4 -r1.1.2.5 mkfipsscr.pl
--- openssl/fips/mkfipsscr.pl 21 Sep 2007 18:05:25
-0000 1.1.2.4
+++ openssl/fips/mkfipsscr.pl 22 Sep 2007 12:43:13
-0000 1.1.2.5
 -336,7 +336,17 
if ($win32)
{
- $tprefix = ".\" unless defined $tprefix;
+ if (!defined $tprefix)
+ {
+ if ($onedir)
+ {
+ $tprefix = ".\";
+ }
+ else
+ {
+ $tprefix = "..\out32dll\";
+ }
+ }
$outfile = "fipstests.bat" unless defined
$outfile;
open(OUT, ">$outfile");
 -416,7 +426,7 
$fips_found{$1}++;
test_line($win32, $_, $tprefix, $fips_tests{$1});
}
- else
+ elsif (! /SHAmix.req$/)
{
print STDERR "WARNING: unrecognized filename
$_n";
}
 .
____________________________________________________________
__________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List
openssl-cvs openssl.org
Automated List Manager
majordomo openssl.org
|