1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptomgmtlibs/securitytestfw/test/autotesting/runcrypto.bat Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,149 @@
1.4 +@rem
1.5 +@rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +@rem All rights reserved.
1.7 +@rem This component and the accompanying materials are made available
1.8 +@rem under the terms of the License "Eclipse Public License v1.0"
1.9 +@rem which accompanies this distribution, and is available
1.10 +@rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +@rem
1.12 +@rem Initial Contributors:
1.13 +@rem Nokia Corporation - initial contribution.
1.14 +@rem
1.15 +@rem Contributors:
1.16 +@rem
1.17 +@rem Description:
1.18 +@rem
1.19 +
1.20 +REM hash
1.21 +copy /s z:\thash\ c:\thash\
1.22 +thash
1.23 +move c:\hashlog.txt c:\testresults\
1.24 +move c:\testresults\hashlog.txt e:\testresults\hashlog.txt
1.25 +del /s c:\thash\
1.26 +
1.27 +REM random
1.28 +t_random
1.29 +move c:\t_random.log c:\testresults\
1.30 +move c:\testresults\t_random.log e:\testresults\t_random.log
1.31 +
1.32 +REM padding - uses testexecute framework
1.33 +copy /s z:\tpadding\ c:\tpadding\
1.34 +testexecute c:\tpadding\tpadding.script
1.35 +move c:\logs\testexecute\tpadding.htm e:\testresults\tpadding.htm
1.36 +del /s c:\tpadding\
1.37 +
1.38 +REM new cryptospi tests
1.39 +copy /s z:\testdata\tcryptospi\ c:\testdata\tcryptospi\
1.40 +testexecute z:\testdata\tcryptospi\scripts\tcryptospi.script
1.41 +move c:\logs\testexecute\tcryptospi.htm e:\testresults\tcryptospi.htm
1.42 +del /s c:\testdata\tcryptospi\
1.43 +
1.44 +REM crypto, asymmetric
1.45 +
1.46 +REM tasymmetric z:\tasymmetric\asymmetricPerformance.txt c:\testresults\asymmetricPerformance.log
1.47 +
1.48 +tasymmetric z:\tasymmetric\tasymmetrictests.script c:\logs\testexecute\tasymmetrictests.htm
1.49 +move c:\logs\testexecute\tasymmetrictests.htm e:\testresults\tasymmetrictests.htm
1.50 +
1.51 +REM crypto, symmetric
1.52 +
1.53 +tsymmetric z:\tsymmetric\tsymmetrictests.script c:\logs\testexecute\tsymmetrictests.htm
1.54 +move c:\logs\testexecute\tsymmetrictests.htm e:\testresults\tsymmetrictests.htm
1.55 +
1.56 +tsymmetric z:\tsymmetric\AESECBVectorsScript.script c:\logs\testexecute\AESECBVectorsScript.htm
1.57 +move c:\logs\testexecute\AESECBVectorsScript.htm e:\testresults\AESECBVectorsScript.htm
1.58 +
1.59 +tsymmetric z:\tsymmetric\AESECB_KAT_VT.script c:\logs\testexecute\AESECB_KAT_VT.htm
1.60 +move c:\logs\testexecute\AESECB_KAT_VT.htm e:\testresults\AESECB_KAT_VT.htm
1.61 +
1.62 +tsymmetric z:\tsymmetric\AESECB_KAT_VK.script c:\logs\testexecute\AESECB_KAT_VK.htm
1.63 +move c:\logs\testexecute\AESECB_KAT_VK.htm e:\testresults\AESECB_KAT_VK.htm
1.64 +
1.65 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB128.script c:\logs\testexecute\AESMonteCarloEncryptECB128.htm
1.66 +move c:\logs\testexecute\AESMonteCarloEncryptECB128.htm e:\testresults\AESMonteCarloEncryptECB128.htm
1.67 +
1.68 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB192.script c:\logs\testexecute\AESMonteCarloEncryptECB192.htm
1.69 +move c:\logs\testexecute\AESMonteCarloEncryptECB192.htm e:\testresults\AESMonteCarloEncryptECB192.htm
1.70 +
1.71 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB256.script c:\logs\testexecute\AESMonteCarloEncryptECB256.htm
1.72 +move c:\logs\testexecute\AESMonteCarloEncryptECB256.htm e:\testresults\AESMonteCarloEncryptECB256.htm
1.73 +
1.74 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB128.script c:\logs\testexecute\AESMonteCarloDecryptECB128.htm
1.75 +move c:\logs\testexecute\AESMonteCarloDecryptECB128.htm e:\testresults\AESMonteCarloDecryptECB128.htm
1.76 +
1.77 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB192.script c:\logs\testexecute\AESMonteCarloDecryptECB192.htm
1.78 +move c:\logs\testexecute\AESMonteCarloDecryptECB192.htm e:\testresults\AESMonteCarloDecryptECB192.htm
1.79 +
1.80 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB256.script c:\logs\testexecute\AESMonteCarloDecryptECB256.htm
1.81 +move c:\logs\testexecute\AESMonteCarloDecryptECB256.htm e:\testresults\AESMonteCarloDecryptECB256.htm
1.82 +
1.83 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC128.script c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm
1.84 +move c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm e:\testresults\AESMonteCarloEncryptCBC128.htm
1.85 +
1.86 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192A.script c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm
1.87 +move c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm e:\testresults\AESMonteCarloEncryptCBC192A.htm
1.88 +
1.89 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192B.script c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm
1.90 +move c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm e:\testresults\AESMonteCarloEncryptCBC192B.htm
1.91 +
1.92 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC256.script c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm
1.93 +move c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm e:\testresults\AESMonteCarloEncryptCBC256.htm
1.94 +
1.95 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC128.script c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm
1.96 +move c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm e:\testresults\AESMonteCarloDecryptCBC128.htm
1.97 +
1.98 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC192.script c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm
1.99 +move c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm e:\testresults\AESMonteCarloDecryptCBC192.htm
1.100 +
1.101 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC256.script c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm
1.102 +move c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm e:\testresults\AESMonteCarloDecryptCBC256.htm
1.103 +
1.104 +
1.105 +
1.106 +REM crypto, bigint
1.107 +
1.108 +tbigint z:\tbigint\tconstructiontests.script c:\logs\testexecute\tconstruction.htm
1.109 +move c:\logs\testexecute\tconstruction.htm e:\testresults\tconstruction.htm
1.110 +
1.111 +tbigint z:\tbigint\tbasicmathstests.script c:\logs\testexecute\tbasicmaths.htm
1.112 +move c:\logs\testexecute\tbasicmaths.htm e:\testresults\tbasicmaths.htm
1.113 +
1.114 +tbigint z:\tbigint\tmontgomerytests.script c:\logs\testexecute\tmontgomery.htm
1.115 +move c:\logs\testexecute\tmontgomery.htm e:\testresults\tmontgomery.htm
1.116 +
1.117 +REM tbigint z:\tbigint\tperformancetests.script c:\logs\testexecute\tperformance.htm
1.118 +REM move c:\logs\testexecute\tperformance.htm e:\testresults\tperformance.htm
1.119 +
1.120 +tbigint z:\tbigint\tprimetests.script c:\logs\testexecute\tprime.htm
1.121 +move c:\logs\testexecute\tprime.htm e:\testresults\tprime.htm
1.122 +
1.123 +REM tbigint z:\tbigint\tprimetests2.script c:\logs\testexecute\tprime2.htm
1.124 +REM move c:\logs\testexecute\tprime2.htm e:\testresults\tprime2.htm
1.125 +
1.126 +tbigint z:\tbigint\tprimefailuretests.script c:\logs\testexecute\tprimefailure.htm
1.127 +move c:\logs\testexecute\tprimefailure.htm e:\testresults\tprimefailure.htm
1.128 +
1.129 +tbigint z:\tbigint\tprimegen.script c:\logs\testexecute\tprimegen.htm
1.130 +move c:\logs\testexecute\tprimegen.htm e:\testresults\tprimegen.htm
1.131 +
1.132 +
1.133 +
1.134 +REM crypto, tpkcs5kdf
1.135 +md c:\tpkcs5kdf
1.136 +
1.137 +copy z:\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.script
1.138 +tpkcs5kdf c:\tpkcs5kdf\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.htm
1.139 +move c:\tpkcs5kdf\tpkcs12kdftests.htm e:\testresults\tpkcs12kdftests.htm
1.140 +del /s c:\tpkcs5kdf\
1.141 +
1.142 +
1.143 +REM crypto, pbe
1.144 +
1.145 +md c:\tpbe
1.146 +copy z:\tpbe\*.dat c:\tpbe
1.147 +attrib c:\tpbe\strong.dat -r
1.148 +attrib c:\tpbe\weak.dat -r
1.149 +tpbe z:\tpbe\tpbetests_v2.script c:\logs\testexecute\tpbetestsv2.htm
1.150 +move c:\logs\testexecute\tpbetestsv2.htm e:\testresults\tpbetestsv2.htm
1.151 +
1.152 +del /s c:\tpbe\