cryptomgmtlibs/securitytestfw/inc/SecurityTests.iby
branchRCL_3
changeset 61 641f389e9157
parent 45 030c4fbc13d7
child 62 a71299154b21
equal deleted inserted replaced
60:f18401adf8e1 61:641f389e9157
    19 #define __SECURITYTESTS_IBY__
    19 #define __SECURITYTESTS_IBY__
    20 
    20 
    21 // We need bigger ROFS files for tests with TBAS
    21 // We need bigger ROFS files for tests with TBAS
    22 rofssize=0x2100000
    22 rofssize=0x2100000
    23 
    23 
       
    24 // conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation
       
    25 #ifdef _SERIAL_DOWNLOAD
    24 // Save build details in ROM
    26 // Save build details in ROM
    25 data=\buildid.txt                 \buildid.txt
    27 data=\buildid.txt                 \buildid.txt
    26 
    28 #endif
    27 
    29 
    28 // This should be included in the Techview.oby file
    30 // This should be included in the Techview.oby file
    29 // All test data and scripts gets copied to the root of ROM drive.
    31 // 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.
    32 // This should be copied to the relevant directory on the C drive.
    31 
    33 
    45 #include "testutil.iby"
    47 #include "testutil.iby"
    46 //#include "xml.iby" // Needed for security tests
    48 //#include "xml.iby" // Needed for security tests
    47 
    49 
    48 #include "securityframeworktestserver.iby"
    50 #include "securityframeworktestserver.iby"
    49 
    51 
    50 
       
    51 #if defined SYMBIAN_KEYSTORE_USE_AUTH_SERVER || defined SDP_ROM1
    52 #if defined SYMBIAN_KEYSTORE_USE_AUTH_SERVER || defined SDP_ROM1
    52 
       
    53 	#include "ups.iby"
    53 	#include "ups.iby"
    54 	#include "tups.iby"
    54 	#include "tups.iby"
    55 	#include "asnpkcstests.iby"
    55 	#include "asnpkcstests.iby"
    56 	#include "certmantests.iby"
    56 	#include "certmantests.iby"
    57 	#include "tpkcs7server.iby"     
    57 	#include "tpkcs7server.iby"     
    58 	#include "tpkcs12integrationserver.iby"  	
    58 	#include "tpkcs12integrationserver.iby"  	
    59 	#include "ctframeworktests.iby"
    59 	#include "ctframeworktests.iby"
    60 	#include "cryptotests.iby"
    60 	// conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation
       
    61 	// temp added
       
    62 	#ifndef _SERIAL_DOWNLOAD
       
    63 		#include "streamingcaf.iby"
       
    64 		// iby files for caf
       
    65 		#include "caf.iby"
       
    66 		#include "caftest.iby"
       
    67 		#include "reccafconfig.iby"
       
    68 		#include "rta.iby"
       
    69 		#include "rtatest.iby"
       
    70 		#include "cryptotests.iby"
       
    71 		#include "tscaf.iby"	
       
    72 		#include "randomtests.iby"
       
    73 		#include "hashtests.iby"
       
    74 
       
    75 		#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    76 		#include "mtputils.iby"
       
    77 		#include "mtputilstest.iby"
       
    78 		#include "refcafhelper.iby"
       
    79 		#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
    80 	#endif
       
    81 
    61 #else
    82 #else
    62 	#include "streamingcaf.iby"
    83 	#include "streamingcaf.iby"
    63 	// iby files for caf
    84 	// iby files for caf
    64 	#include "caf.iby"
    85 	#include "caf.iby"
    65 	#include "caftest.iby"
    86 	#include "caftest.iby"
    74 	#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
    95 	#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
    75 	#include "mtputils.iby"
    96 	#include "mtputils.iby"
    76 	#include "mtputilstest.iby"
    97 	#include "mtputilstest.iby"
    77 	#include "refcafhelper.iby"
    98 	#include "refcafhelper.iby"
    78 	#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
    99 	#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
    79 
   100 	// conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation
    80 #endif
   101 	// temp added
    81  
   102 	#ifndef _SERIAL_DOWNLOAD
       
   103 		#include "ups.iby"
       
   104 		#include "tups.iby"
       
   105 		#include "asnpkcstests.iby"
       
   106 		#include "certmantests.iby"
       
   107 		#include "tpkcs7server.iby"     
       
   108 		#include "tpkcs12integrationserver.iby"  	
       
   109 		#include "ctframeworktests.iby"		
       
   110 	#endif 
       
   111 
       
   112 #endif 
    82 	
   113 	
    83 // Common utils libraries
   114 // Common utils libraries
    84 #include "securitycommonutils.iby"
   115 #include "securitycommonutils.iby"
    85 #include "securitytestframework.iby"	
   116 #include "securitytestframework.iby"	
    86 #include "secutiltests.iby"
   117 #include "secutiltests.iby"
    97 
   128 
    98 
   129 
    99 define ZDRIVE \epoc32\winscw\c
   130 define ZDRIVE \epoc32\winscw\c
   100 // This is the bat file to run the security tests automatically
   131 // This is the bat file to run the security tests automatically
   101 // comms configuration (and configuration using sim.tsy)
   132 // comms configuration (and configuration using sim.tsy)
       
   133 // temp addeed the next line
       
   134 #ifndef _SERIAL_DOWNLOAD
       
   135 data = ZDRIVE\auto.cfg                 \buildid.txt
       
   136 #endif
   102 data = ZDRIVE\auto.cfg					\auto.cfg
   137 data = ZDRIVE\auto.cfg					\auto.cfg
   103 data = ZDRIVE\auto_broken.cfg					\auto_broken.cfg
   138 data = ZDRIVE\auto_broken.cfg					\auto_broken.cfg
   104 data = ZDRIVE\autosimtsy.cfg					\autosimtsy.cfg
   139 data = ZDRIVE\autosimtsy.cfg					\autosimtsy.cfg
   105 data = ZDRIVE\prompt.cfg					\prompt.cfg
   140 data = ZDRIVE\prompt.cfg					\prompt.cfg
   106 
   141 
   124 #else
   159 #else
   125 	data = ZDRIVE\autohardware\runcaftests.bat		\runcaftests.bat
   160 	data = ZDRIVE\autohardware\runcaftests.bat		\runcaftests.bat
   126 #endif
   161 #endif
   127 
   162 
   128 
   163 
       
   164 
   129 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
   165 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
   130 	data = ZDRIVE\autohardware\runcrypto_wmdrm.bat	               	\runcrypto.bat
   166 	data = ZDRIVE\autohardware\runcrypto_wmdrm.bat	               	\runcrypto.bat
   131 #else
   167 #else
   132 	#ifdef __SECURITY_MANDATORY_SWICERTSTORE__
   168 	data = ZDRIVE\autohardware\runcrypto.bat	               	\runcrypto.bat
   133 		data = ZDRIVE\autohardware\runhardwarecrypto.bat				\runcrypto.bat
   169 #endif
   134 	#else
   170 
   135 		data = ZDRIVE\autohardware\runcrypto.bat	               	\runcrypto.bat
       
   136 	#endif
       
   137 #endif
       
   138 
   171 
   139 
   172 
   140 data = ZDRIVE\autohardware\testsecurityperformance_cryptalg.bat	\testsecurityperformance_cryptalg.bat
   173 data = ZDRIVE\autohardware\testsecurityperformance_cryptalg.bat	\testsecurityperformance_cryptalg.bat
   141 data = ZDRIVE\autohardware\testsecurityperformance_crypto.bat	\testsecurityperformance_crypto.bat
   174 data = ZDRIVE\autohardware\testsecurityperformance_crypto.bat	\testsecurityperformance_crypto.bat
   142 
   175 
   143 #ifdef SYMBIAN_AUTH_SERVER
   176 #ifdef SYMBIAN_AUTH_SERVER
   144 	#ifdef SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
   177 #ifdef SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
   145 		data = ZDRIVE\autohardware\runauthtests_macroenabled.bat		\runauthtests.bat
   178 	data = ZDRIVE\autohardware\runauthtests_macroenabled.bat		\runauthtests.bat
       
   179 #else
       
   180 	data = ZDRIVE\autohardware\runauthtests.bat				\runauthtests.bat
       
   181 #endif	//SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
       
   182 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER
       
   183 	data = ZDRIVE\autohardware\runfiletokens_useauth.bat		\runfiletokens.bat
       
   184 #else
       
   185 	#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
   186 		data = ZDRIVE\autohardware\runfiletokens_disableauth_with_wmdrm.bat		\runfiletokens.bat
   146 	#else
   187 	#else
   147 		data = ZDRIVE\autohardware\runauthtests.bat				\runauthtests.bat
   188 		data = ZDRIVE\autohardware\runfiletokens_disableauth.bat		\runfiletokens.bat
   148 	#endif	//SYMBIAN_ENABLE_POST_MARKET_AUTHENTICATION_PLUGINS
   189 	#endif
   149 	#ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER
   190 #endif // SYMBIAN_KEYSTORE_USE_AUTH_SERVER
   150 		data = ZDRIVE\autohardware\runfiletokens_useauth.bat		\runfiletokens.bat
       
   151 	#else
       
   152 		#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT
       
   153 			data = ZDRIVE\autohardware\runfiletokens_disableauth_with_wmdrm.bat		\runfiletokens.bat
       
   154 		#else
       
   155 			data = ZDRIVE\autohardware\runfiletokens_disableauth.bat		\runfiletokens.bat
       
   156 		#endif
       
   157 	#endif // SYMBIAN_KEYSTORE_USE_AUTH_SERVER
       
   158 #else
   191 #else
   159 	data = ZDRIVE\autohardware\runfiletokens.bat		\runfiletokens.bat
   192 	data = ZDRIVE\autohardware\runfiletokens.bat		\runfiletokens.bat
   160 #endif // SYMBIAN_AUTH_SERVER
   193 #endif // SYMBIAN_AUTH_SERVER
   161 
   194 
   162 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER 
   195 #ifdef SYMBIAN_KEYSTORE_USE_AUTH_SERVER 
   196 
   229 
   197 file=ABI_DIR\BUILD_DIR\ceddump.exe                  System\Programs\ceddump.exe
   230 file=ABI_DIR\BUILD_DIR\ceddump.exe                  System\Programs\ceddump.exe
   198 
   231 
   199 file=ABI_DIR\BUILD_DIR\RUNTESTS.EXE                 System\Programs\RUNTESTS.EXE
   232 file=ABI_DIR\BUILD_DIR\RUNTESTS.EXE                 System\Programs\RUNTESTS.EXE
   200 
   233 
       
   234 // conditionally included to avoid to be included in vasco image creation but needed in h4/h6 image creation
       
   235 #ifdef _SERIAL_DOWNLOAD
   201 #include "thindump.iby"
   236 #include "thindump.iby"
       
   237 #endif
   202 #include "sntpclient.iby"
   238 #include "sntpclient.iby"
   203 
   239 
   204 // *** Additional includes and configuration for SSM Requirements ***
   240 // *** Additional includes and configuration for SSM Requirements ***
   205 #ifdef _SSMSTARTUPMODE
   241 #ifdef _SSMSTARTUPMODE
   206 data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\0\eshell  private\2000d75b\startup\0\eshell)
   242 data=MULTI_LINGUIFY(RSC EPOCROOT##epoc32\data\z\private\2000d75b\startup\0\eshell  private\2000d75b\startup\0\eshell)