From 592c6e1191eeffbfedbcd373fa74c70309e2e8ad Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 25 Sep 2014 06:47:23 +0200 Subject: [PATCH] Add the constant time test to the VMS build and tests Reviewed-by: Tim Hudson Conflicts: test/maketests.com test/tests.com --- test/maketests.com | 3 ++- test/tests.com | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/test/maketests.com b/test/maketests.com index a59abc87b5..97e0c3bd39 100644 --- a/test/maketests.com +++ b/test/maketests.com @@ -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 - diff --git a/test/tests.com b/test/tests.com index 80e9807898..39a7bfa607 100644 --- a/test/tests.com +++ b/test/tests.com @@ -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: -- 2.25.1