|
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of the License "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 REM Embedded keys |
|
17 temb |
|
18 move c:\temblog.txt c:\testresults\ |
|
19 move c:\testresults\temblog.txt e:\testresults\temblog.txt |
|
20 |
|
21 REM hash |
|
22 copy /s z:\thash\ c:\thash\ |
|
23 thash |
|
24 move c:\hashlog.txt c:\testresults\ |
|
25 move c:\testresults\hashlog.txt e:\testresults\hashlog.txt |
|
26 del /s c:\thash\ |
|
27 |
|
28 REM random |
|
29 t_random |
|
30 move c:\t_random.log c:\testresults\ |
|
31 move c:\testresults\t_random.log e:\testresults\t_random.log |
|
32 |
|
33 REM padding - uses testexecute framework |
|
34 copy /s z:\tpadding\ c:\tpadding\ |
|
35 testexecute c:\tpadding\tpadding.script |
|
36 move c:\logs\testexecute\tpadding.htm e:\testresults\tpadding.htm |
|
37 del /s c:\tpadding\ |
|
38 |
|
39 REM new cryptospi tests |
|
40 copy /s z:\testdata\tcryptospi\ c:\testdata\tcryptospi\ |
|
41 testexecute z:\testdata\tcryptospi\scripts\tcryptospi.script |
|
42 move c:\logs\testexecute\tcryptospi.htm e:\testresults\tcryptospi.htm |
|
43 del /s c:\testdata\tcryptospi\ |
|
44 |
|
45 REM crypto, asymmetric |
|
46 |
|
47 tasymmetric z:\tasymmetric\tasymmetrictests.txt c:\testresults\tasymmetrictests.log |
|
48 REM tasymmetric z:\tasymmetric\asymmetricPerformance.txt c:\testresults\asymmetricPerformance.log |
|
49 |
|
50 move c:\testresults\tasymmetrictests.log e:\testresults\tasymmetrictests.log |
|
51 |
|
52 REM crypto, symmetric |
|
53 |
|
54 tsymmetric z:\tsymmetric\tsymmetrictests.txt c:\testresults\tsymmetrictests.log |
|
55 tsymmetric z:\tsymmetric\AESECBVectorsScript.txt c:\testresults\AESECBVectorsScript.log |
|
56 tsymmetric z:\tsymmetric\AESECB_KAT_VT.txt c:\testresults\AESECB_KAT_VT.log |
|
57 tsymmetric z:\tsymmetric\AESECB_KAT_VK.txt c:\testresults\AESECB_KAT_VK.log |
|
58 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB128.txt c:\testresults\AESMonteCarloEncryptECB128.log |
|
59 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB192.txt c:\testresults\AESMonteCarloEncryptECB192.log |
|
60 tsymmetric z:\tsymmetric\AESMonteCarloEncryptECB256.txt c:\testresults\AESMonteCarloEncryptECB256.log |
|
61 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB128.txt c:\testresults\AESMonteCarloDecryptECB128.log |
|
62 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB192.txt c:\testresults\AESMonteCarloDecryptECB192.log |
|
63 tsymmetric z:\tsymmetric\AESMonteCarloDecryptECB256.txt c:\testresults\AESMonteCarloDecryptECB256.log |
|
64 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC128.txt c:\testresults\AESMonteCarloEncryptCBC128.log |
|
65 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC192.txt c:\testresults\AESMonteCarloEncryptCBC192.log |
|
66 tsymmetric z:\tsymmetric\AESMonteCarloEncryptCBC256.txt c:\testresults\AESMonteCarloEncryptCBC256.log |
|
67 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC128.txt c:\testresults\AESMonteCarloDecryptCBC128.log |
|
68 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC192.txt c:\testresults\AESMonteCarloDecryptCBC192.log |
|
69 tsymmetric z:\tsymmetric\AESMonteCarloDecryptCBC256.txt c:\testresults\AESMonteCarloDecryptCBC256.log |
|
70 |
|
71 |
|
72 rem copy logs to mmc card |
|
73 move c:\testresults\tsymmetrictests.log e:\testresults\tsymmetrictests.log |
|
74 move c:\testresults\AESECBVectorsScript.log e:\testresults\AESECBVectorsScript.log |
|
75 move c:\testresults\AESECB_KAT_VT.log e:\testresults\AESECB_KAT_VT.log |
|
76 move c:\testresults\AESECB_KAT_VK.log e:\testresults\AESECB_KAT_VK.log |
|
77 move c:\testresults\AESMonteCarloEncryptECB128.log e:\testresults\AESMonteCarloEncryptECB128.log |
|
78 move c:\testresults\AESMonteCarloEncryptECB192.log e:\testresults\AESMonteCarloEncryptECB192.log |
|
79 move c:\testresults\AESMonteCarloEncryptECB256.log e:\testresults\AESMonteCarloEncryptECB256.log |
|
80 move c:\testresults\AESMonteCarloDecryptECB128.log e:\testresults\AESMonteCarloDecryptECB128.log |
|
81 move c:\testresults\AESMonteCarloDecryptECB192.log e:\testresults\AESMonteCarloDecryptECB192.log |
|
82 move c:\testresults\AESMonteCarloDecryptECB256.log e:\testresults\AESMonteCarloDecryptECB256.log |
|
83 move c:\testresults\AESMonteCarloEncryptCBC128.log e:\testresults\AESMonteCarloEncryptCBC128.log |
|
84 move c:\testresults\AESMonteCarloEncryptCBC192.log e:\testresults\AESMonteCarloEncryptCBC192.log |
|
85 move c:\testresults\AESMonteCarloEncryptCBC256.log e:\testresults\AESMonteCarloEncryptCBC256.log |
|
86 move c:\testresults\AESMonteCarloDecryptCBC128.log e:\testresults\AESMonteCarloDecryptCBC128.log |
|
87 move c:\testresults\AESMonteCarloDecryptCBC192.log e:\testresults\AESMonteCarloDecryptCBC192.log |
|
88 move c:\testresults\AESMonteCarloDecryptCBC256.log e:\testresults\AESMonteCarloDecryptCBC256.log |
|
89 |
|
90 REM crypto, bigint |
|
91 |
|
92 tbigint z:\tbigint\tconstructiontests.txt c:\testresults\tconstruction.log |
|
93 tbigint z:\tbigint\tbasicmathstests.txt c:\testresults\tbasicmaths.log |
|
94 tbigint z:\tbigint\tmontgomerytests.txt c:\testresults\tmontgomery.log |
|
95 REM tbigint z:\tbigint\tperformancetests.txt c:\testresults\tperformance.log |
|
96 tbigint z:\tbigint\tprimetests.txt c:\testresults\tprime.log |
|
97 REM tbigint z:\tbigint\tprimetests2.txt c:\testresults\tprime2.log |
|
98 tbigint z:\tbigint\tprimefailuretests.txt c:\testresults\tprimefailure.log |
|
99 tbigint z:\tbigint\tprimegen.txt c:\testresults\tprimegen.log |
|
100 |
|
101 rem copy logs to mmc card |
|
102 move c:\testresults\tconstruction.log e:\testresults\tconstruction.log |
|
103 move c:\testresults\tbasicmaths.log e:\testresults\tbasicmaths.log |
|
104 move c:\testresults\tmontgomery.log e:\testresults\tmontgomery.log |
|
105 REM move c:\testresults\tperformance.log e:\testresults\tperformance.log |
|
106 move c:\testresults\tprime.log e:\testresults\tprime.log |
|
107 REM move c:\testresults\tprime2.log e:\testresults\tprime2.log |
|
108 move c:\testresults\tprimefailure.log e:\testresults\tprimefailure.log |
|
109 move c:\testresults\tprimegen.log e:\testresults\tprimegen.log |
|
110 |
|
111 REM crypto, tpkcs5kdf |
|
112 md c:\tpkcs5kdf |
|
113 |
|
114 copy z:\tpkcs12kdftests.txt c:\tpkcs5kdf\tpkcs12kdftests.txt |
|
115 tpkcs5kdf c:\tpkcs5kdf\tpkcs12kdftests.txt c:\tpkcs5kdf\tpkcs12kdftests.log |
|
116 move c:\tpkcs5kdf\tpkcs12kdftests.log e:\testresults\tpkcs12kdftests.log |
|
117 del /s c:\tpkcs5kdf\ |
|
118 |
|
119 REM crypto, pbe |
|
120 |
|
121 md c:\tpbe |
|
122 copy z:\tpbe\*.dat c:\tpbe |
|
123 attrib c:\tpbe\strong.dat -r |
|
124 attrib c:\tpbe\weak.dat -r |
|
125 tpbe z:\tpbe\tpbetests_v2.txt c:\testresults\tpbetestsv2.log |
|
126 move c:\testresults\tpbetestsv2.log e:\testresults\tpbetestsv2.log |
|
127 del /s c:\tpbe\ |