cryptomgmtlibs/securitytestfw/inc/SecurityTests_sdp_9.5.iby
changeset 8 35751d3474b7
child 15 da2ae96f639b
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     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 #else
       
    61 	#include "streamingcaf.iby"
       
    62 	// iby files for caf
       
    63 	#include "caf.iby"
       
    64 	#include "caftest.iby"
       
    65 	#include "reccafconfig.iby"
       
    66 	#include "rta.iby"
       
    67 	#include "rtatest.iby"
       
    68 	#include "cryptotests.iby"
       
    69 	#include "tscaf.iby"	
       
    70 	#include "randomtests.iby"
       
    71 	#include "hashtests.iby"
       
    72 
       
    73 #endif
       
    74  
       
    75 	
       
    76 // Common utils libraries
       
    77 #include "securitycommonutils.iby"
       
    78 #include "securitytestframework.iby"	
       
    79 #include "secutiltests.iby"
       
    80 
       
    81 //filetokens and authserver run in both the images.
       
    82 #include "filetokenstests.iby"
       
    83 
       
    84 
       
    85 #ifdef SYMBIAN_AUTH_SERVER
       
    86 	#include "tAuthSvr.iby"
       
    87 	#include "authserver.iby"
       
    88 	#include "pinplugin.iby"
       
    89 #endif // SYMBIAN_AUTH_SERVER
       
    90 
       
    91 
       
    92 define ZDRIVE \epoc32\winscw\c
       
    93 // This is the bat file to run the security tests automatically
       
    94 // comms configuration (and configuration using sim.tsy)
       
    95 data = ZDRIVE\auto.cfg					\auto.cfg
       
    96 data = ZDRIVE\auto_broken.cfg					\auto_broken.cfg
       
    97 data = ZDRIVE\autosimtsy.cfg					\autosimtsy.cfg
       
    98 data = ZDRIVE\prompt.cfg					\prompt.cfg
       
    99 
       
   100 // This the file which used to redirect the request from cam-ocsptest01 to ban-ocsptest01
       
   101 data = ZDRIVE\autohardware\hosts		     \hosts
       
   102 
       
   103 
       
   104 #ifdef __AUTO_HARDWARE_TESTS__
       
   105 	data = ZDRIVE\autohardware\autoexec.bat		\autoexec.bat
       
   106 #endif
       
   107 
       
   108 
       
   109 data = ZDRIVE\autohardware\runcertman_9.5.bat			\runcertman.bat
       
   110 data = ZDRIVE\autohardware\runasnpkcs_9.4.bat			\runasnpkcs.bat
       
   111 data = ZDRIVE\autohardware\runcryptotokens_9.4.bat		\runcryptotokens.bat
       
   112 data = ZDRIVE\autohardware\runupstests_9.4.bat			\runupstests.bat
       
   113 data = ZDRIVE\autohardware\runpkcs12tests_9.4.bat		\runpkcs12tests.bat
       
   114 
       
   115 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
       
   116 	data = ZDRIVE\autohardware\runcaftests_9.6.bat		\runcaftests.bat
       
   117 #else
       
   118 	data = ZDRIVE\autohardware\runcaftests_9.5.bat		\runcaftests.bat
       
   119 #endif
       
   120 
       
   121 #ifdef SYMBIAN_CRYPTOSPI
       
   122 	data = ZDRIVE\autohardware\runcrypto_9.5.bat	               	\runcrypto.bat
       
   123 #else
       
   124 	data = ZDRIVE\autohardware\runcrypto_9.4.bat	               	\runcrypto.bat
       
   125 #endif
       
   126 
       
   127 data = ZDRIVE\autohardware\testsecurityperformance_cryptalg.bat	\testsecurityperformance_cryptalg.bat
       
   128 data = ZDRIVE\autohardware\testsecurityperformance_crypto.bat	\testsecurityperformance_crypto.bat
       
   129 
       
   130 #ifdef SYMBIAN_AUTH_SERVER
       
   131 #ifdef SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
       
   132 	data = ZDRIVE\autohardware\runauthtests_macroenabled.bat		\runauthtests.bat
       
   133 #else
       
   134 	data = ZDRIVE\autohardware\runauthtests.bat				\runauthtests.bat
       
   135 #endif	//SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
       
   136 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER
       
   137 	data = ZDRIVE\autohardware\runfiletokens_useauth.bat		\runfiletokens.bat
       
   138 #else
       
   139 	data = ZDRIVE\autohardware\runfiletokens_disableauth.bat		\runfiletokens.bat
       
   140 #endif // SYMBIAN_KEYSTORE_USE_AUTH_SERVER
       
   141 #else
       
   142 	data = ZDRIVE\autohardware\runfiletokens_9.4.bat		\runfiletokens.bat
       
   143 #endif // SYMBIAN_AUTH_SERVER
       
   144 
       
   145 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER 
       
   146 	data = ZDRIVE\autohardware\testsecurity_sdp_auth.bat		\testsecurity.bat
       
   147 #else
       
   148 #ifdef SDP_ROM1
       
   149 	data = ZDRIVE\autohardware\testsecurity_sdp_newrom.bat		\testsecurity.bat
       
   150 #else
       
   151 	data = ZDRIVE\autohardware\testsecurity_sdp.bat			\testsecurity.bat
       
   152 #endif
       
   153 #endif
       
   154 	
       
   155 
       
   156 
       
   157 
       
   158 //estor.dll is put in ROFS by deafult but we need to put it into CORE as well
       
   159 //core version will be used; see DEF113303 for details
       
   160 #ifdef __SECURITY_TEST_ROM__
       
   161 #ifdef _INTERNAL_MMC
       
   162 ROM_IMAGE[0] {
       
   163 file = \epoc32\release\armv5\urel\estor.dll \sys\bin\estor.dll
       
   164 }
       
   165 #else
       
   166 #ifdef _NAND2
       
   167 ROM_IMAGE[0] {
       
   168 file = \epoc32\release\armv5\urel\estor.dll \sys\bin\estor.dll
       
   169 }
       
   170 #endif
       
   171 #endif
       
   172 #endif
       
   173 
       
   174 REM ---------- Comms-Infras ----------
       
   175 // ced is not included in release builds by default (in commdb.iby)
       
   176 // so we include it explicitly here if _DEBUG is NOT defined
       
   177 file=ABI_DIR\BUILD_DIR\ced.exe                      System\Libs\ced.exe
       
   178 data=EPOCROOT##epoc32\data\z\system\data\meshpreface1.cfg		system\data\meshpreface1.cfg
       
   179 
       
   180 file=ABI_DIR\BUILD_DIR\ceddump.exe                  System\Programs\ceddump.exe
       
   181 
       
   182 file=ABI_DIR\BUILD_DIR\RUNTESTS.EXE                 System\Programs\RUNTESTS.EXE
       
   183 
       
   184 #include "thindump.iby"
       
   185 #include "sntpclient.iby"
       
   186 
       
   187 // *** Additional includes and configuration for SSM Requirements ***
       
   188 #ifdef _SSMSTARTUPMODE
       
   189 data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\0\eshell  private\2000d75b\startup\0\eshell)
       
   190 
       
   191 // Addition IBY's required
       
   192 #include "aplp.iby"
       
   193 #include "amastart.iby"
       
   194 #include "shma.iby"
       
   195 #include "ssrefplugins.iby" 
       
   196 #endif
       
   197 
       
   198 
       
   199 // DEF139848 fix - Forward Propogation from Symtb9.1 - Illegal dependency from OCSP to HTTP.
       
   200 #include "ocsp.iby" 
       
   201 #include "ocsptests.iby"
       
   202 
       
   203 #endif