1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptomgmtlibs/securitytestfw/test/autotesting/runcrypto_wmdrm.bat Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,153 @@
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 +
1.43 +testexecute z:\testdata\tcryptospi\scripts\te_dummyeccciphertestcases.script
1.44 +move c:\logs\testexecute\te_dummyeccciphertestcases.htm e:\testresults\te_dummyeccciphertestcases.htm
1.45 +
1.46 +del /s c:\testdata\tcryptospi\
1.47 +
1.48 +REM crypto, asymmetric
1.49 +
1.50 +REM tasymmetric z:\tasymmetric\asymmetricPerformance.txt c:\testresults\asymmetricPerformance.log
1.51 +
1.52 +tasymmetric z:\tasymmetric\tasymmetrictests.script c:\logs\testexecute\tasymmetrictests.htm
1.53 +move c:\logs\testexecute\tasymmetrictests.htm e:\testresults\tasymmetrictests.htm
1.54 +
1.55 +REM crypto, symmetric
1.56 +
1.57 +tsymmetric z:\tsymmetric\tsymmetrictests.script c:\logs\testexecute\tsymmetrictests.htm
1.58 +move c:\logs\testexecute\tsymmetrictests.htm e:\testresults\tsymmetrictests.htm
1.59 +
1.60 +tsymmetric z:\tsymmetric\AESECBVectorsScript.script c:\logs\testexecute\AESECBVectorsScript.htm
1.61 +move c:\logs\testexecute\AESECBVectorsScript.htm e:\testresults\AESECBVectorsScript.htm
1.62 +
1.63 +tsymmetric z:\tsymmetric\AESECB_KAT_VT.script c:\logs\testexecute\AESECB_KAT_VT.htm
1.64 +move c:\logs\testexecute\AESECB_KAT_VT.htm e:\testresults\AESECB_KAT_VT.htm
1.65 +
1.66 +tsymmetric z:\tsymmetric\AESECB_KAT_VK.script c:\logs\testexecute\AESECB_KAT_VK.htm
1.67 +move c:\logs\testexecute\AESECB_KAT_VK.htm e:\testresults\AESECB_KAT_VK.htm
1.68 +
1.69 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB128.script c:\logs\testexecute\AESMonteCarloEncryptECB128.htm
1.70 +move c:\logs\testexecute\AESMonteCarloEncryptECB128.htm e:\testresults\AESMonteCarloEncryptECB128.htm
1.71 +
1.72 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB192.script c:\logs\testexecute\AESMonteCarloEncryptECB192.htm
1.73 +move c:\logs\testexecute\AESMonteCarloEncryptECB192.htm e:\testresults\AESMonteCarloEncryptECB192.htm
1.74 +
1.75 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB256.script c:\logs\testexecute\AESMonteCarloEncryptECB256.htm
1.76 +move c:\logs\testexecute\AESMonteCarloEncryptECB256.htm e:\testresults\AESMonteCarloEncryptECB256.htm
1.77 +
1.78 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB128.script c:\logs\testexecute\AESMonteCarloDecryptECB128.htm
1.79 +move c:\logs\testexecute\AESMonteCarloDecryptECB128.htm e:\testresults\AESMonteCarloDecryptECB128.htm
1.80 +
1.81 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB192.script c:\logs\testexecute\AESMonteCarloDecryptECB192.htm
1.82 +move c:\logs\testexecute\AESMonteCarloDecryptECB192.htm e:\testresults\AESMonteCarloDecryptECB192.htm
1.83 +
1.84 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB256.script c:\logs\testexecute\AESMonteCarloDecryptECB256.htm
1.85 +move c:\logs\testexecute\AESMonteCarloDecryptECB256.htm e:\testresults\AESMonteCarloDecryptECB256.htm
1.86 +
1.87 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC128.script c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm
1.88 +move c:\logs\testexecute\AESMonteCarloEncryptCBC128.htm e:\testresults\AESMonteCarloEncryptCBC128.htm
1.89 +
1.90 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192A.script c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm
1.91 +move c:\logs\testexecute\AESMonteCarloEncryptCBC192A.htm e:\testresults\AESMonteCarloEncryptCBC192A.htm
1.92 +
1.93 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192B.script c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm
1.94 +move c:\logs\testexecute\AESMonteCarloEncryptCBC192B.htm e:\testresults\AESMonteCarloEncryptCBC192B.htm
1.95 +
1.96 +tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC256.script c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm
1.97 +move c:\logs\testexecute\AESMonteCarloEncryptCBC256.htm e:\testresults\AESMonteCarloEncryptCBC256.htm
1.98 +
1.99 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC128.script c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm
1.100 +move c:\logs\testexecute\AESMonteCarloDecryptCBC128.htm e:\testresults\AESMonteCarloDecryptCBC128.htm
1.101 +
1.102 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC192.script c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm
1.103 +move c:\logs\testexecute\AESMonteCarloDecryptCBC192.htm e:\testresults\AESMonteCarloDecryptCBC192.htm
1.104 +
1.105 +tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC256.script c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm
1.106 +move c:\logs\testexecute\AESMonteCarloDecryptCBC256.htm e:\testresults\AESMonteCarloDecryptCBC256.htm
1.107 +
1.108 +
1.109 +
1.110 +REM crypto, bigint
1.111 +
1.112 +tbigint z:\tbigint\tconstructiontests.script c:\logs\testexecute\tconstruction.htm
1.113 +move c:\logs\testexecute\tconstruction.htm e:\testresults\tconstruction.htm
1.114 +
1.115 +tbigint z:\tbigint\tbasicmathstests.script c:\logs\testexecute\tbasicmaths.htm
1.116 +move c:\logs\testexecute\tbasicmaths.htm e:\testresults\tbasicmaths.htm
1.117 +
1.118 +tbigint z:\tbigint\tmontgomerytests.script c:\logs\testexecute\tmontgomery.htm
1.119 +move c:\logs\testexecute\tmontgomery.htm e:\testresults\tmontgomery.htm
1.120 +
1.121 +REM tbigint z:\tbigint\tperformancetests.script c:\logs\testexecute\tperformance.htm
1.122 +REM move c:\logs\testexecute\tperformance.htm e:\testresults\tperformance.htm
1.123 +
1.124 +tbigint z:\tbigint\tprimetests.script c:\logs\testexecute\tprime.htm
1.125 +move c:\logs\testexecute\tprime.htm e:\testresults\tprime.htm
1.126 +
1.127 +REM tbigint z:\tbigint\tprimetests2.script c:\logs\testexecute\tprime2.htm
1.128 +REM move c:\logs\testexecute\tprime2.htm e:\testresults\tprime2.htm
1.129 +
1.130 +tbigint z:\tbigint\tprimefailuretests.script c:\logs\testexecute\tprimefailure.htm
1.131 +move c:\logs\testexecute\tprimefailure.htm e:\testresults\tprimefailure.htm
1.132 +
1.133 +tbigint z:\tbigint\tprimegen.script c:\logs\testexecute\tprimegen.htm
1.134 +move c:\logs\testexecute\tprimegen.htm e:\testresults\tprimegen.htm
1.135 +
1.136 +
1.137 +
1.138 +REM crypto, tpkcs5kdf
1.139 +md c:\tpkcs5kdf
1.140 +
1.141 +copy z:\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.script
1.142 +tpkcs5kdf c:\tpkcs5kdf\tpkcs12kdftests.script c:\tpkcs5kdf\tpkcs12kdftests.htm
1.143 +move c:\tpkcs5kdf\tpkcs12kdftests.htm e:\testresults\tpkcs12kdftests.htm
1.144 +del /s c:\tpkcs5kdf\
1.145 +
1.146 +
1.147 +REM crypto, pbe
1.148 +
1.149 +md c:\tpbe
1.150 +copy z:\tpbe\*.dat c:\tpbe
1.151 +attrib c:\tpbe\strong.dat -r
1.152 +attrib c:\tpbe\weak.dat -r
1.153 +tpbe z:\tpbe\tpbetests_v2.script c:\logs\testexecute\tpbetestsv2.htm
1.154 +move c:\logs\testexecute\tpbetestsv2.htm e:\testresults\tpbetestsv2.htm
1.155 +
1.156 +del /s c:\tpbe\