1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __SECURITYTESTS_IBY__ |
|
19 #define __SECURITYTESTS_IBY__ |
|
20 |
|
21 // We need bigger ROFS files for tests with TBAS |
|
22 rofssize=0x2100000 |
|
23 |
|
24 // Save build details in ROM |
|
25 data=\buildid.txt \buildid.txt |
|
26 |
|
27 |
|
28 // This should be included in the Techview.oby file |
|
29 // All test data and scripts gets copied to the root of ROM drive. |
|
30 // This should be copied to the relevant directory on the C drive. |
|
31 |
|
32 // platsec.oby should be included, but a problem in rombuild prevents build with watchers disabled and PlatSecEnforceSysBin ON |
|
33 //#include "platsec.oby" |
|
34 ROM_IMAGE[0] { |
|
35 PlatSecDiagnostics ON |
|
36 PlatSecEnforcement ON |
|
37 PlatSecEnforceSysBin ON |
|
38 PlatSecProcessIsolation ON |
|
39 } |
|
40 |
|
41 #include "setcap.iby" |
|
42 |
|
43 #include "testexecute.iby" |
|
44 #include "t_testhandler.iby" |
|
45 #include "testutil.iby" |
|
46 //#include "xml.iby" // Needed for security tests |
|
47 |
|
48 #include "securityframeworktestserver.iby" |
|
49 |
|
50 |
|
51 #if defined SYMBIAN_KEYSTORE_USE_AUTH_SERVER || defined SDP_ROM1 |
|
52 |
|
53 #include "ups.iby" |
|
54 #include "tups.iby" |
|
55 #include "asnpkcstests.iby" |
|
56 #include "certmantests.iby" |
|
57 #include "tpkcs7server.iby" |
|
58 #include "tpkcs12integrationserver.iby" |
|
59 #include "ctframeworktests.iby" |
|
60 #include "cryptotests.iby" |
|
61 #else |
|
62 #include "streamingcaf.iby" |
|
63 // iby files for caf |
|
64 #include "caf.iby" |
|
65 #include "caftest.iby" |
|
66 #include "reccafconfig.iby" |
|
67 #include "rta.iby" |
|
68 #include "rtatest.iby" |
|
69 #include "cryptotests.iby" |
|
70 #include "tscaf.iby" |
|
71 #include "randomtests.iby" |
|
72 #include "hashtests.iby" |
|
73 |
|
74 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
75 #include "mtputils.iby" |
|
76 #include "mtputilstest.iby" |
|
77 #include "refcafhelper.iby" |
|
78 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
79 |
|
80 #endif |
|
81 |
|
82 |
|
83 // Common utils libraries |
|
84 #include "securitycommonutils.iby" |
|
85 #include "securitytestframework.iby" |
|
86 #include "secutiltests.iby" |
|
87 |
|
88 //filetokens and authserver run in both the images. |
|
89 #include "filetokenstests.iby" |
|
90 |
|
91 |
|
92 #ifdef SYMBIAN_AUTH_SERVER |
|
93 #include "tAuthSvr.iby" |
|
94 #include "authserver.iby" |
|
95 #include "pinplugin.iby" |
|
96 #endif // SYMBIAN_AUTH_SERVER |
|
97 |
|
98 |
|
99 define ZDRIVE \epoc32\winscw\c |
|
100 // This is the bat file to run the security tests automatically |
|
101 // comms configuration (and configuration using sim.tsy) |
|
102 data = ZDRIVE\auto.cfg \auto.cfg |
|
103 data = ZDRIVE\auto_broken.cfg \auto_broken.cfg |
|
104 data = ZDRIVE\autosimtsy.cfg \autosimtsy.cfg |
|
105 data = ZDRIVE\prompt.cfg \prompt.cfg |
|
106 |
|
107 // This the file which used to redirect the request from cam-ocsptest01 to ban-ocsptest01 |
|
108 data = ZDRIVE\autohardware\hosts \hosts |
|
109 |
|
110 |
|
111 #ifdef __AUTO_HARDWARE_TESTS__ |
|
112 data = ZDRIVE\autohardware\autoexec.bat \autoexec.bat |
|
113 #endif |
|
114 |
|
115 |
|
116 data = ZDRIVE\autohardware\runcertman_9.5.bat \runcertman.bat |
|
117 data = ZDRIVE\autohardware\runasnpkcs_9.4.bat \runasnpkcs.bat |
|
118 data = ZDRIVE\autohardware\runcryptotokens_9.4.bat \runcryptotokens.bat |
|
119 data = ZDRIVE\autohardware\runupstests_9.4.bat \runupstests.bat |
|
120 data = ZDRIVE\autohardware\runpkcs12tests_9.4.bat \runpkcs12tests.bat |
|
121 |
|
122 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
|
123 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
124 data = ZDRIVE\autohardware\runcaftests_wmdrm.bat \runcaftests.bat |
|
125 #else |
|
126 data = ZDRIVE\autohardware\runcaftests_9.6.bat \runcaftests.bat |
|
127 #endif |
|
128 |
|
129 #else |
|
130 data = ZDRIVE\autohardware\runcaftests_9.5.bat \runcaftests.bat |
|
131 #endif |
|
132 |
|
133 #ifdef SYMBIAN_CRYPTOSPI |
|
134 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
135 #ifdef __SECURITY_MANDATORY_SWICERTSTORE__ |
|
136 data = ZDRIVE\autohardware\runhardwarecrypto.bat \runcrypto.bat |
|
137 #else |
|
138 data = ZDRIVE\autohardware\runcrypto_wmdrm.bat \runcrypto.bat |
|
139 #endif |
|
140 #else |
|
141 #ifdef __SECURITY_MANDATORY_SWICERTSTORE__ |
|
142 data = ZDRIVE\autohardware\runhardwarecrypto.bat \runcrypto.bat |
|
143 #else |
|
144 data = ZDRIVE\autohardware\runcrypto_9.5.bat \runcrypto.bat |
|
145 #endif |
|
146 #endif |
|
147 #else |
|
148 data = ZDRIVE\autohardware\runcrypto_9.4.bat \runcrypto.bat |
|
149 #endif |
|
150 |
|
151 |
|
152 |
|
153 data = ZDRIVE\autohardware\testsecurityperformance_cryptalg.bat \testsecurityperformance_cryptalg.bat |
|
154 data = ZDRIVE\autohardware\testsecurityperformance_crypto.bat \testsecurityperformance_crypto.bat |
|
155 |
|
156 #ifdef SYMBIAN_AUTH_SERVER |
|
157 #ifdef SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS |
|
158 data = ZDRIVE\autohardware\runauthtests_macroenabled.bat \runauthtests.bat |
|
159 #else |
|
160 data = ZDRIVE\autohardware\runauthtests.bat \runauthtests.bat |
|
161 #endif //SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS |
|
162 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER |
|
163 data = ZDRIVE\autohardware\runfiletokens_useauth.bat \runfiletokens.bat |
|
164 #else |
|
165 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
166 data = ZDRIVE\autohardware\runfiletokens_disableauth_with_wmdrm.bat \runfiletokens.bat |
|
167 #else |
|
168 data = ZDRIVE\autohardware\runfiletokens_disableauth.bat \runfiletokens.bat |
|
169 #endif |
|
170 #endif // SYMBIAN_KEYSTORE_USE_AUTH_SERVER |
|
171 #else |
|
172 data = ZDRIVE\autohardware\runfiletokens_9.4.bat \runfiletokens.bat |
|
173 #endif // SYMBIAN_AUTH_SERVER |
|
174 |
|
175 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER |
|
176 data = ZDRIVE\autohardware\testsecurity_sdp_auth.bat \testsecurity.bat |
|
177 #else |
|
178 #ifdef SDP_ROM1 |
|
179 data = ZDRIVE\autohardware\testsecurity_sdp_newrom.bat \testsecurity.bat |
|
180 #else |
|
181 data = ZDRIVE\autohardware\testsecurity_sdp.bat \testsecurity.bat |
|
182 #endif |
|
183 #endif |
|
184 |
|
185 |
|
186 |
|
187 |
|
188 //estor.dll is put in ROFS by deafult but we need to put it into CORE as well |
|
189 //core version will be used; see DEF113303 for details |
|
190 #ifdef __SECURITY_TEST_ROM__ |
|
191 #ifdef _INTERNAL_MMC |
|
192 ROM_IMAGE[0] { |
|
193 file = \epoc32\release\armv5\urel\estor.dll \sys\bin\estor.dll |
|
194 } |
|
195 #else |
|
196 #ifdef _NAND2 |
|
197 ROM_IMAGE[0] { |
|
198 file = \epoc32\release\armv5\urel\estor.dll \sys\bin\estor.dll |
|
199 } |
|
200 #endif |
|
201 #endif |
|
202 #endif |
|
203 |
|
204 REM ---------- Comms-Infras ---------- |
|
205 // ced is not included in release builds by default (in commdb.iby) |
|
206 // so we include it explicitly here if _DEBUG is NOT defined |
|
207 file=ABI_DIR\BUILD_DIR\ced.exe System\Libs\ced.exe |
|
208 data=EPOCROOT##epoc32\data\z\system\data\meshpreface1.cfg system\data\meshpreface1.cfg |
|
209 |
|
210 file=ABI_DIR\BUILD_DIR\ceddump.exe System\Programs\ceddump.exe |
|
211 |
|
212 file=ABI_DIR\BUILD_DIR\RUNTESTS.EXE System\Programs\RUNTESTS.EXE |
|
213 |
|
214 #include "thindump.iby" |
|
215 #include "sntpclient.iby" |
|
216 |
|
217 // *** Additional includes and configuration for SSM Requirements *** |
|
218 #ifdef _SSMSTARTUPMODE |
|
219 data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\0\eshell private\2000d75b\startup\0\eshell) |
|
220 |
|
221 // Addition IBY's required |
|
222 #include "aplp.iby" |
|
223 #include "amastart.iby" |
|
224 #include "shma.iby" |
|
225 #include "ssrefplugins.iby" |
|
226 #endif |
|
227 |
|
228 |
|
229 // DEF139848 fix - Forward Propogation from Symtb9.1 - Illegal dependency from OCSP to HTTP. |
|
230 #include "ocsp.iby" |
|
231 #include "ocsptests.iby" |
|
232 |
|
233 #endif |
|