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>
Thu, 25 Sep 2014 06:07:54 +0000 (08:07 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
test/maketests.com
test/tests.com

index 7351437..7e2d939 100644 (file)
@@ -148,7 +148,8 @@ $ TEST_FILES = "BNTEST,ECTEST,ECDSATEST,ECDHTEST,IDEATEST,"+ -
               "RANDTEST,DHTEST,ENGINETEST,"+ -
               "BFTEST,CASTTEST,SSLTEST,EXPTEST,DSATEST,RSA_TEST,"+ -
               "EVP_TEST,IGETEST,JPAKETEST,SRPTEST,"+ -
-              "ASN1TEST,V3NAMETEST,HEARTBEAT_TEST"
+              "ASN1TEST,V3NAMETEST,HEARTBEAT_TEST,"+ -
+              "CONSTANT_TIME_TEST"
 $! Should we add MTTEST,PQ_TEST,LH_TEST,DIVTEST,TABTEST as well?
 $!
 $! Additional directory information.
@@ -188,6 +189,7 @@ $ T_D_SRPTEST    := [-.crypto.srp]
 $ T_D_V3NAMETEST := [-.crypto.x509v3]
 $ T_D_ASN1TEST   := [-.test]
 $ T_D_HEARTBEAT_TEST := [-.ssl]
+$ T_D_CONSTANT_TIME_TEST := [-.crypto]
 $!
 $ TCPIP_PROGRAMS = ",,"
 $ IF COMPILER .EQS. "VAXC" THEN -
index d352a55..6e1c818 100644 (file)
@@ -56,7 +56,8 @@ $         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_srp,test_cms,test_ocsp,test_v3name,test_heartbeat
+       test_jpake,test_srp,test_cms,test_ocsp,test_v3name,test_heartbeat,-
+       test_constant_time
 $      endif
 $      tests = f$edit(tests,"COLLAPSE")
 $
@@ -97,6 +98,7 @@ $     SRPTEST :=      srptest
 $      V3NAMETEST :=   v3nametest
 $      ASN1TEST :=     asn1test
 $      HEARTBEATTEST :=        heartbeat_test
+$      CONSTTIMETEST :=        constant_time_test
 $!
 $      tests_i = 0
 $ loop_tests:
@@ -380,6 +382,10 @@ $ test_heartbeat:
 $       write sys$output "Test HEARTBEAT"
 $       mcr 'texe_dir''heartbeattest'
 $       return
+$ test_constant_time:
+$       write sys$output "Test constant time utilities"
+$       mcr 'texe_dir''consttimetest'
+$       return
 $
 $
 $ exit: