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)
committerJanusz Kozerski <j.kozerski@samsung.com>
Mon, 20 Oct 2014 13:26:06 +0000 (15:26 +0200)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Conflicts:
test/maketests.com
test/tests.com

test/maketests.com
test/tests.com

index a59abc8..97e0c3b 100644 (file)
@@ -148,7 +148,7 @@ $ TEST_FILES = "BNTEST,ECTEST,ECDSATEST,ECDHTEST,IDEATEST,"+ -
               "RANDTEST,DHTEST,ENGINETEST,"+ -
               "BFTEST,CASTTEST,SSLTEST,EXPTEST,DSATEST,RSA_TEST,"+ -
               "EVP_TEST,IGETEST,JPAKETEST,SRPTEST,"+ -
-              "ASN1TEST,HEARTBEAT_TEST"
+              "ASN1TEST,HEARTBEAT_TEST,CONSTANT_TIME_TEST"
 $! Should we add MTTEST,PQ_TEST,LH_TEST,DIVTEST,TABTEST as well?
 $!
 $! Additional directory information.
@@ -187,6 +187,7 @@ $ T_D_JPAKETEST  := [-.crypto.jpake]
 $ T_D_SRPTEST    := [-.crypto.srp]
 $ T_D_ASN1TEST   := [-.test]
 $ T_D_HEARTBEAT_TEST := [-.ssl]
+$ T_D_CONSTANT_TIME_TEST := [-.crypto]
 $!
 $ TCPIP_PROGRAMS = ",,"
 $ IF COMPILER .EQS. "VAXC" THEN -
index 80e9807..39a7bfa 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_srp,test_cms,test_heartbeat
+       test_jpake,test_srp,test_cms,test_heartbeat,test_constant_time
 $      endif
 $      tests = f$edit(tests,"COLLAPSE")
 $
@@ -96,6 +96,7 @@ $     JPAKETEST :=    jpaketest
 $      SRPTEST :=      srptest
 $      ASN1TEST :=     asn1test
 $      HEARTBEATTEST := heartbeat_test
+$      CONSTTIMETEST := constant_time_test
 $!
 $      tests_i = 0
 $ loop_tests:
@@ -371,6 +372,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: