Add the constant time test to the VMS build and tests
authorRichard Levitte <levitte@openssl.org>
Thu, 25 Sep 2014 04:47:23 +0000 (06:47 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 15 Oct 2014 09:32:17 +0000 (11:32 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Conflicts:
test/maketests.com
test/tests.com

test/maketests.com
test/tests.com

index 386e5cf3c1624a73953a87ef0acebfa09f7af48c..8f8c9fdd63535ec08804235410c7f3d5c1af3723 100644 (file)
@@ -146,7 +146,8 @@ $ TEST_FILES = "BNTEST,ECTEST,ECDSATEST,ECDHTEST,IDEATEST,"+ -
               "MDC2TEST,RMDTEST,"+ -
               "RANDTEST,DHTEST,ENGINETEST,"+ -
               "BFTEST,CASTTEST,SSLTEST,EXPTEST,DSATEST,RSA_TEST,"+ -
-              "EVP_TEST,IGETEST,JPAKETEST,ASN1TEST"
+              "EVP_TEST,IGETEST,JPAKETEST,"+ -
+              "ASN1TEST,CONSTANT_TIME_TEST"
 $! Should we add MTTEST,PQ_TEST,LH_TEST,DIVTEST,TABTEST as well?
 $!
 $! Additional directory information.
@@ -183,6 +184,7 @@ $ T_D_EVP_TEST   := [-.crypto.evp]
 $ T_D_IGETEST    := [-.test]
 $ T_D_JPAKETEST  := [-.crypto.jpake]
 $ T_D_ASN1TEST   := [-.test]
+$ T_D_CONSTANT_TIME_TEST := [-.crypto]
 $!
 $ TCPIP_PROGRAMS = ",,"
 $ IF COMPILER .EQS. "VAXC" THEN -
index a685ebc5649178ce06b9530c5ccbc82d7c3a6540..0a59816920421c11ff09ab9e58d0356262e3a625 100644 (file)
@@ -56,7 +56,7 @@ $         tests := -
        test_enc,test_x509,test_rsa,test_crl,test_sid,-
        test_gen,test_req,test_pkcs7,test_verify,test_dh,test_dsa,-
        test_ss,test_ca,test_engine,test_evp,test_ssl,test_tsa,test_ige,-
-       test_jpake,test_cms
+       test_jpake,test_cms,test_constant_time
 $      endif
 $      tests = f$edit(tests,"COLLAPSE")
 $
@@ -92,6 +92,7 @@ $     EVPTEST :=      evp_test
 $      IGETEST :=      igetest
 $      JPAKETEST :=    jpaketest
 $      ASN1TEST :=     asn1test
+$      CONSTTIMETEST := constant_time_test
 $!
 $      tests_i = 0
 $ loop_tests:
@@ -357,6 +358,10 @@ $  ! Define the logical name used to find openssl.exe in the perl script.
 $      define /user_mode osslx 'exe_dir'
 $      perl CMS-TEST.PL
 $      return
+$ test_constant_time:
+$       write sys$output "Test constant time utilities"
+$       mcr 'texe_dir''consttimetest'
+$       return
 $
 $
 $ exit: