crypto/weakcrypto/test/tsymmetric/scripts/symmetricOOMtests.txt
changeset 71 dd83586b62d6
equal deleted inserted replaced
66:8873e6835f7b 71:dd83586b62d6
       
     1 <action>
       
     2 	<actionname>None</actionname>
       
     3 	<actiontype>startmemfailure</actiontype>
       
     4 	<actionbody></actionbody>
       
     5 	<actionresult>
       
     6 		<return>KErrNone</return>
       
     7 	</actionresult>
       
     8 </action>
       
     9 
       
    10 <action>
       
    11 	<actionname>3DES CBC Incremental Buffering Test 1</actionname>
       
    12 	<actiontype>Incremental</actiontype>
       
    13 	<actionbody>
       
    14 		<incremental>
       
    15 			<ciphertype>3DESCBC</ciphertype>
       
    16 			<key>010101010101010101010101010101010101010101010101</key>
       
    17 			<input>012345678901234567</input>
       
    18 			<iv>8877665544332211</iv>
       
    19 		</incremental>
       
    20 	</actionbody>
       
    21 	<actionresult>
       
    22 		<return>KErrNone</return>
       
    23 	</actionresult>
       
    24 </action>
       
    25 <action>
       
    26 	<actionname>3DES ECB Incremental Buffering Test 1</actionname>
       
    27 	<actiontype>Incremental</actiontype>
       
    28 	<actionbody>
       
    29 		<incremental>
       
    30 			<ciphertype>3DESECB</ciphertype>
       
    31 			<key>010101010101010101010101010101010101010101010101</key>
       
    32 			<input>012345678901234567</input>
       
    33 		</incremental>
       
    34 	</actionbody>
       
    35 	<actionresult>
       
    36 		<return>KErrNone</return>
       
    37 	</actionresult>
       
    38 </action>
       
    39 <action>
       
    40 	<actionname>DES CBC Incremental Buffering Test 1</actionname>
       
    41 	<actiontype>Incremental</actiontype>
       
    42 	<actionbody>
       
    43 		<incremental>
       
    44 			<ciphertype>DESCBC</ciphertype>
       
    45 			<key>0101010101010101</key>
       
    46 			<input>012345678901234567</input>
       
    47 			<iv>8877665544332211</iv>
       
    48 		</incremental>
       
    49 	</actionbody>
       
    50 	<actionresult>
       
    51 		<return>KErrNone</return>
       
    52 	</actionresult>
       
    53 </action>
       
    54 <action>
       
    55 	<actionname>DES ECB Incremental Buffering Test 1</actionname>
       
    56 	<actiontype>Incremental</actiontype>
       
    57 	<actionbody>
       
    58 		<incremental>
       
    59 			<ciphertype>DESECB</ciphertype>
       
    60 			<key>0101010101010101</key>
       
    61 			<input>012345678901234567</input>
       
    62 		</incremental>
       
    63 	</actionbody>
       
    64 	<actionresult>
       
    65 		<return>KErrNone</return>
       
    66 	</actionresult>
       
    67 </action>
       
    68 <action>
       
    69 	<actionname>AES ECB Incremental Buffering Test 0</actionname>
       
    70 	<actiontype>Incremental</actiontype>
       
    71 	<actionbody>
       
    72 		<incremental>
       
    73 			<ciphertype>AESECB</ciphertype>
       
    74 			<key>01010101010101010101010101010101</key>
       
    75 			<input>012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789</input>
       
    76 		</incremental>
       
    77 	</actionbody>
       
    78 	<actionresult>
       
    79 		<return>KErrNone</return>
       
    80 	</actionresult>
       
    81 </action>
       
    82 <action>
       
    83 	<actionname>RC4 Incremental Buffering Test 1</actionname>
       
    84 	<actiontype>Incremental</actiontype>
       
    85 	<actionbody>
       
    86 		<incremental>
       
    87 			<ciphertype>RC4</ciphertype>
       
    88 			<key>01010101010101010101010101010101</key>
       
    89 			<input>012345678901234567</input>
       
    90 		</incremental>
       
    91 	</actionbody>
       
    92 	<actionresult>
       
    93 		<return>KErrNone</return>
       
    94 	</actionresult>
       
    95 </action>
       
    96 
       
    97 <action>
       
    98 	<actionname>DES ECB Vector Test 0</actionname>
       
    99 	<actiontype>Vector</actiontype>
       
   100 	<actionbody>
       
   101 		<vector>
       
   102 			<ciphertype>DESECB</ciphertype>
       
   103 			<key>10316E028C8F3B4A</key>
       
   104 			<input>0000000000000000</input>
       
   105 			<output>82DCBAFBDEAB6602</output>
       
   106 			<result>ETrue</result>
       
   107 		</vector>
       
   108 	</actionbody>
       
   109 	<actionresult>
       
   110 		<return>KErrNone</return>
       
   111 	</actionresult>
       
   112 </action>
       
   113 <action>
       
   114 	<actionname>DES CBC Vector Test 1</actionname>
       
   115 	<actiontype>Vector</actiontype>
       
   116 	<actionbody>
       
   117 		<vector>
       
   118 			<ciphertype>DESCBC</ciphertype>
       
   119 			<key>0101010101010101</key>
       
   120 			<input>8000000000000000</input>
       
   121 			<output>95F8A5E5DD31D900</output>
       
   122 			<iv>0000000000000000</iv>
       
   123 			<result>ETrue</result>
       
   124 		</vector>
       
   125 	</actionbody>
       
   126 	<actionresult>
       
   127 		<return>KErrNone</return>
       
   128 	</actionresult>
       
   129 </action>
       
   130 <action>
       
   131 	<actionname>3 DES ECB Vector Test 3</actionname>
       
   132 	<actiontype>Vector</actiontype>
       
   133 	<actionbody>
       
   134 		<vector>
       
   135 			<ciphertype>3DESECB</ciphertype>
       
   136 			<key>010101010101010101010101010101010101010101010101</key>
       
   137 			<input>2000000000000000</input>
       
   138 			<output>2E8653104F3834EA</output>
       
   139 			<result>ETrue</result>
       
   140 		</vector>
       
   141 	</actionbody>
       
   142 	<actionresult>
       
   143 		<return>KErrNone</return>
       
   144 	</actionresult>
       
   145 </action>
       
   146 <action>
       
   147 	<actionname>3 DES CBC Vector Test 4</actionname>
       
   148 	<actiontype>Vector</actiontype>
       
   149 	<actionbody>
       
   150 		<vector>
       
   151 			<ciphertype>3DESCBC</ciphertype>
       
   152 			<key>010101010101010101010101010101010101010101010101</key>
       
   153 			<input>1000000000000000</input>
       
   154 			<output>4BD388FF6CD81D4F</output>
       
   155 			<iv>0000000000000000</iv>
       
   156 			<result>ETrue</result>
       
   157 		</vector>
       
   158 	</actionbody>
       
   159 	<actionresult>
       
   160 		<return>KErrNone</return>
       
   161 	</actionresult>
       
   162 </action>
       
   163 <action>
       
   164 	<actionname>RC2 ECB Vector Test 0</actionname>
       
   165 	<actiontype>Vector</actiontype>
       
   166 	<actionbody>
       
   167 		<vector>
       
   168 			<ciphertype>RC2ECB</ciphertype>
       
   169 			<key>88</key>
       
   170 			<effectiveKeyLength>64</effectiveKeyLength>
       
   171 			<input>0000000000000000</input>
       
   172 			<output>61A8A244ADACCCF0</output>
       
   173 			<result>ETrue</result>
       
   174 		</vector>
       
   175 	</actionbody>
       
   176 	<actionresult>
       
   177 		<return>KErrNone</return>
       
   178 	</actionresult>
       
   179 </action>
       
   180 <action>
       
   181 	<actionname>RC2 CBC Vector Test 3</actionname>
       
   182 	<actiontype>Vector</actiontype>
       
   183 	<actionbody>
       
   184 		<vector>
       
   185 			<ciphertype>RC2CBC</ciphertype>
       
   186 			<key>0123456789ABCDEF</key>
       
   187 			<effectiveKeyLength>64</effectiveKeyLength>
       
   188 			<input>88BCA90E90875A7F</input>
       
   189 			<output>B0E5CDDD09CB4581</output>
       
   190 			<iv>456789ABCDEF0123</iv>
       
   191 			<result>ETrue</result>
       
   192 		</vector>
       
   193 	</actionbody>
       
   194 	<actionresult>
       
   195 		<return>KErrNone</return>
       
   196 	</actionresult>
       
   197 </action>
       
   198 <action>
       
   199 	<actionname>RC4 Vector Test 0</actionname>
       
   200 	<actiontype>Vector</actiontype>
       
   201 	<actionbody>
       
   202 		<vector>
       
   203 			<ciphertype>RC4</ciphertype>
       
   204 			<key>70E40040838C10495A4B31551D2A18EF</key>
       
   205 			<input>9017E9CEB5ECDD634860A86C1BB51663A5244CED6125B0359DAE984EDE35C86D</input>
       
   206 			<output>1400000C12C873074727389C1041B96E3BF94260A8772A294823ACA42EF21651</output>
       
   207 			<result>ETrue</result>
       
   208 		</vector>
       
   209 	</actionbody>
       
   210 	<actionresult>
       
   211 		<return>KErrNone</return>
       
   212 	</actionresult>
       
   213 </action>
       
   214 <action>
       
   215 	<actionname>RC4 Vector Test 1</actionname>
       
   216 	<actiontype>Vector</actiontype>
       
   217 	<actionbody>
       
   218 		<vector>
       
   219 			<ciphertype>RC4</ciphertype>
       
   220 			<key>022F0FFA3CB41D904C9D8A5EB98FC953</key>
       
   221 			<input>1400000CED47F2AC3869DAEA1E2A05F51BAACEA8885D0FECCAE2A4E9A9419C6B</input>
       
   222 			<output>09B6024ACDDAB55A0CE3D306A70467D39F1190C27280664153F7B713B0F61AC2</output>
       
   223 			<result>ETrue</result>
       
   224 		</vector>
       
   225 	</actionbody>
       
   226 	<actionresult>
       
   227 		<return>KErrNone</return>
       
   228 	</actionresult>
       
   229 </action>
       
   230 <action>
       
   231 	<actionname>Null Vector Test 1 -- oh the humour</actionname>
       
   232 	<actiontype>Vector</actiontype>
       
   233 	<actionbody>
       
   234 		<vector>
       
   235 			<ciphertype>NULL</ciphertype>
       
   236 			<input>6284093818384927</input>
       
   237 			<output>6284093818384927</output>
       
   238 			<result>ETrue</result>
       
   239 		</vector>
       
   240 	</actionbody>
       
   241 	<actionresult>
       
   242 		<return>KErrNone</return>
       
   243 	</actionresult>
       
   244 </action>
       
   245 <action>
       
   246 	<actionname>Null Vector Test 2 -- oh the humour</actionname>
       
   247 	<actiontype>Vector</actiontype>
       
   248 	<actionbody>
       
   249 		<vector>
       
   250 			<ciphertype>NULL</ciphertype>
       
   251 			<input>984908728230972B34</input>
       
   252 			<output>984908728230972B34</output>
       
   253 			<result>ETrue</result>
       
   254 		</vector>
       
   255 	</actionbody>
       
   256 	<actionresult>
       
   257 		<return>KErrNone</return>
       
   258 	</actionresult>
       
   259 </action>
       
   260 
       
   261 <action>
       
   262 	<actionname>AES ECB KAT VK 1</actionname>
       
   263 	<actiontype>Vector</actiontype>
       
   264 	<actionbody>
       
   265 		<vector>
       
   266 			<ciphertype>AESECB</ciphertype>
       
   267 			<key>80000000000000000000000000000000</key>
       
   268 			<input>00000000000000000000000000000000</input>
       
   269 			<output>0EDD33D3C621E546455BD8BA1418BEC8</output>
       
   270 			<result>ETrue</result>
       
   271 		</vector>
       
   272 	</actionbody>
       
   273 	<actionresult>
       
   274 		<return>KErrNone</return>
       
   275 	</actionresult>
       
   276 </action>
       
   277 <action>
       
   278 	<actionname>AES ECB KAT VT 1</actionname>
       
   279 	<actiontype>Vector</actiontype>
       
   280 	<actionbody>
       
   281 		<vector>
       
   282 			<ciphertype>AESECB</ciphertype>
       
   283 			<key>00000000000000000000000000000000</key>
       
   284 			<input>80000000000000000000000000000000</input>
       
   285 			<output>3AD78E726C1EC02B7EBFE92B23D9EC34</output>
       
   286 			<result>ETrue</result>
       
   287 		</vector>
       
   288 	</actionbody>
       
   289 	<actionresult>
       
   290 		<return>KErrNone</return>
       
   291 	</actionresult>
       
   292 </action>
       
   293 <action>
       
   294 	<actionname>AESECB Vector Test 0</actionname>
       
   295 	<actiontype>Vector</actiontype>
       
   296 	<actionbody>
       
   297 		<vector>
       
   298 			<ciphertype>AESECB</ciphertype>
       
   299 			<key>00010203050607080A0B0C0D0F101112</key>
       
   300 			<input>506812A45F08C889B97F5980038B8359</input>
       
   301 			<output>D8F532538289EF7D06B506A4FD5BE9C9</output>
       
   302 			<result>ETrue</result>
       
   303 		</vector>
       
   304 	</actionbody>
       
   305 	<actionresult>
       
   306 		<return>KErrNone</return>
       
   307 	</actionresult>
       
   308 </action>
       
   309 <action>
       
   310 	<actionname>AES CBC MonteCarlo Dec 1</actionname>
       
   311 	<actiontype>MonteCarlo</actiontype>
       
   312 	<actionbody>
       
   313 		<MonteCarlo>
       
   314 			<ciphertype>AESDEC_CBC</ciphertype>
       
   315 			<key>FACA37E0B0C85373DF706E73F7C9AF86</key>
       
   316 			<iv>52D0C29FF8793A519BD6A8289FC80E6A</iv>
       
   317 			<input>FACA37E0B0C85373DF706E73F7C9AF86</input>
       
   318 			<output>F5372F9735C5685F1DA362AF6ECB2940</output>
       
   319 			<result>ETrue</result>
       
   320 		</MonteCarlo>
       
   321 	</actionbody>
       
   322 	<actionresult>
       
   323 		<return>KErrNone</return>
       
   324 	</actionresult>
       
   325 </action>
       
   326 <action>
       
   327 	<actionname>AES CBC MonteCarlo Enc 0</actionname>
       
   328 	<actiontype>MonteCarlo</actiontype>
       
   329 	<actionbody>
       
   330 		<MonteCarlo>
       
   331 			<ciphertype>AESENC_CBC</ciphertype>
       
   332 			<key>00000000000000000000000000000000</key>
       
   333 			<iv>00000000000000000000000000000000</iv>
       
   334 			<input>00000000000000000000000000000000</input>
       
   335 			<output>8A05FC5E095AF4848A08D328D3688E3D</output>
       
   336 			<result>ETrue</result>
       
   337 		</MonteCarlo>
       
   338 	</actionbody>
       
   339 	<actionresult>
       
   340 		<return>KErrNone</return>
       
   341 	</actionresult>
       
   342 </action>
       
   343 <action>
       
   344 	<actionname>None</actionname>
       
   345 	<actiontype>stopmemfailure</actiontype>
       
   346 	<actionbody></actionbody>
       
   347 	<actionresult>
       
   348 		<return>KErrNone</return>
       
   349 	</actionresult>
       
   350 </action>