os/security/crypto/weakcryptospi/test/tpbe/scripts/tpbetests.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0001
    18 
    19 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0001
    20 
    21 //! @SYMTestCaseDesc          Copyright (C) 2005 - 2006 Symbian Ltd. All Rights Reserved
    22 
    23 //! @SYMTestActions           1) Element test case 1 with explicit kdf, salt len and iterations, ECipherRC2_CBC_128_16
    24 
    25 //!                           2) Element test case 1, ECipherRC2_CBC_128_16
    26 
    27 //!                           3) Element test case 2, ECipherRC2_CBC_128_16
    28 
    29 //!                           4) Element test case 3, ECipherRC2_CBC_128_16
    30 
    31 //!                           5) Test of Set encryption, password changing, exporting importing Test 1, ECipherRC2_CBC_128_16
    32 
    33 //!                           6) Test of Set encryption, password changing, exporting importing Test 1, explicit kdf, salt len, iter count, ECipherRC2_CBC_128_16
    34 
    35 //!                           7) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherRC2_CBC_128_16
    36 
    37 //!                           8) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherRC2_CBC_128_16
    38 
    39 //!                           9) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherRC2_CBC_128_16
    40 
    41 //!                           10) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherRC2_CBC_128_16
    42 
    43 //!                           11) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherRC2_CBC_128_16
    44 
    45 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-001
    46 
    47 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-002
    48 
    49 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-003
    50 
    51 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-004
    52 
    53 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-005
    54 
    55 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-006
    56 
    57 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-007
    58 
    59 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-008
    60 
    61 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-009
    62 
    63 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-010
    64 
    65 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0001-011
    66 
    67 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0001
    68 
    69 
    70 
    71 
    72 
    73 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0002
    74 
    75 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0002
    76 
    77 //! @SYMTestCaseDesc          /////////////////////////////////////////////////////////////////////////////////
    78 
    79 //!                           /////////////////////////////////////////////////////////////////////////////////
    80 
    81 //!                           /////////////////////////////////////////////////////////////////////////////////
    82 
    83 //! @SYMTestActions           1) Element test case 1, ECipherRC2_CBC_40_16
    84 
    85 //!                           2) Element test case 2, ECipherRC2_CBC_40_16
    86 
    87 //!                           3) Element test case 3, ECipherRC2_CBC_40_16
    88 
    89 //!                           4) Test of Set encryption, password changing, exporting importing Test 1, ECipherRC2_CBC_40_16
    90 
    91 //!                           5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherRC2_CBC_40_16
    92 
    93 //!                           6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherRC2_CBC_40_16
    94 
    95 //!                           7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherRC2_CBC_40_16
    96 
    97 //!                           8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherRC2_CBC_40_16
    98 
    99 //!                           9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherRC2_CBC_40_16
   100 
   101 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0002-001
   102 
   103 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0002-002
   104 
   105 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0002-003
   106 
   107 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0002-004
   108 
   109 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0002-005
   110 
   111 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0002-006
   112 
   113 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0002-007
   114 
   115 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0002-008
   116 
   117 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0002-009
   118 
   119 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0002
   120 
   121 
   122 
   123 
   124 
   125 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0003
   126 
   127 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0003
   128 
   129 //! @SYMTestCaseDesc          /////////////////////////////////////////////////////////////////////////////////
   130 
   131 //!                           /////////////////////////////////////////////////////////////////////////////////
   132 
   133 //!                           /////////////////////////////////////////////////////////////////////////////////
   134 
   135 //! @SYMTestActions           1) Element test case 1, ECipherRC2_CBC_128
   136 
   137 //!                           2) Element test case 2, ECipherRC2_CBC_128
   138 
   139 //!                           3) Element test case 3, ECipherRC2_CBC_128
   140 
   141 //!                           4) Test of Set encryption, password changing, exporting importing Test 1, ECipherRC2_CBC_128
   142 
   143 //!                           5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherRC2_CBC_128
   144 
   145 //!                           6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherRC2_CBC_128
   146 
   147 //!                           7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherRC2_CBC_128
   148 
   149 //!                           8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherRC2_CBC_128
   150 
   151 //!                           9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherRC2_CBC_128
   152 
   153 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0003-001
   154 
   155 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0003-002
   156 
   157 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0003-003
   158 
   159 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0003-004
   160 
   161 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0003-005
   162 
   163 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0003-006
   164 
   165 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0003-007
   166 
   167 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0003-008
   168 
   169 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0003-009
   170 
   171 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0003
   172 
   173 
   174 
   175 
   176 
   177 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0004
   178 
   179 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0004
   180 
   181 //! @SYMTestCaseDesc          /////////////////////////////////////////////////////////////////////////////////
   182 
   183 //!                           /////////////////////////////////////////////////////////////////////////////////
   184 
   185 //!                           /////////////////////////////////////////////////////////////////////////////////
   186 
   187 //! @SYMTestActions           1) Element test case 1, ECipherRC2_CBC_40
   188 
   189 //!                           2) Element test case 2, ECipherRC2_CBC_40
   190 
   191 //!                           3) Element test case 3, ECipherRC2_CBC_40
   192 
   193 //!                           4) Test of Set encryption, password changing, exporting importing Test 1, ECipherRC2_CBC_40
   194 
   195 //!                           5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherRC2_CBC_40
   196 
   197 //!                           6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherRC2_CBC_40
   198 
   199 //!                           7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherRC2_CBC_40
   200 
   201 //!                           8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherRC2_CBC_40
   202 
   203 //!                           9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherRC2_CBC_40
   204 
   205 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0004-001
   206 
   207 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0004-002
   208 
   209 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0004-003
   210 
   211 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0004-004
   212 
   213 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0004-005
   214 
   215 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0004-006
   216 
   217 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0004-007
   218 
   219 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0004-008
   220 
   221 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0004-009
   222 
   223 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0004
   224 
   225 
   226 
   227 
   228 
   229 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0005
   230 
   231 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0005
   232 
   233 //! @SYMTestCaseDesc          /////////////////////////////////////////////////////////////////////////////////
   234 
   235 //!                           /////////////////////////////////////////////////////////////////////////////////
   236 
   237 //!                           /////////////////////////////////////////////////////////////////////////////////
   238 
   239 //! @SYMTestActions           1) Element test case 1, ECipher3DES_CBC
   240 
   241 //!                           2) Element test case 2, ECipher3DES_CBC
   242 
   243 //!                           3) Element test case 3, ECipher3DES_CBC
   244 
   245 //!                           4) Test of Set encryption, password changing, exporting importing Test 1, ECipher3DES_CBC
   246 
   247 //!                           5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipher3DES_CBC
   248 
   249 //!                           6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipher3DES_CBC
   250 
   251 //!                           7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipher3DES_CBC
   252 
   253 //!                           8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipher3DES_CBC
   254 
   255 //!                           9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipher3DES_CBC
   256 
   257 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0005-001
   258 
   259 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0005-002
   260 
   261 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0005-003
   262 
   263 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0005-004
   264 
   265 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0005-005
   266 
   267 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0005-006
   268 
   269 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0005-007
   270 
   271 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0005-008
   272 
   273 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0005-009
   274 
   275 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0005
   276 
   277 
   278 
   279 
   280 
   281 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0006
   282 
   283 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0006
   284 
   285 //! @SYMTestCaseDesc          /////////////////////////////////////////////////////////////////////////////////
   286 
   287 //!                           /////////////////////////////////////////////////////////////////////////////////
   288 
   289 //!                           /////////////////////////////////////////////////////////////////////////////////
   290 
   291 //! @SYMTestActions           1) Element test case 1, ECipherAES_CBC_256
   292 
   293 //!                           2) Element test case 2, ECipherAES_CBC_256
   294 
   295 //!                           3) Element test case 3, ECipherAES_CBC_256
   296 
   297 //!                           4) Test of Set encryption, password changing, exporting importing Test 1, ECipherAES_CBC_256
   298 
   299 //!                           5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherAES_CBC_256
   300 
   301 //!                           6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherAES_CBC_256
   302 
   303 //!                           7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherAES_CBC_256
   304 
   305 //!                           8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherAES_CBC_256
   306 
   307 //!                           9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherAES_CBC_256
   308 
   309 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0006-001
   310 
   311 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0006-002
   312 
   313 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0006-003
   314 
   315 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0006-004
   316 
   317 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0006-005
   318 
   319 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0006-006
   320 
   321 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0006-007
   322 
   323 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0006-008
   324 
   325 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0006-009
   326 
   327 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0006
   328 
   329 
   330 
   331 
   332 
   333 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0007
   334 
   335 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0007
   336 
   337 //! @SYMTestCaseDesc          /////////////////////////////////////////////////////////////////////////////////
   338 
   339 //!                           /////////////////////////////////////////////////////////////////////////////////
   340 
   341 //!                           /////////////////////////////////////////////////////////////////////////////////
   342 
   343 //! @SYMTestActions           1) Element test case 1, ECipherAES_CBC_192
   344 
   345 //!                           2) Element test case 2, ECipherAES_CBC_192
   346 
   347 //!                           3) Element test case 3, ECipherAES_CBC_192
   348 
   349 //!                           4) Test of Set encryption, password changing, exporting importing Test 1, ECipherAES_CBC_192
   350 
   351 //!                           5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherAES_CBC_192
   352 
   353 //!                           6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherAES_CBC_192
   354 
   355 //!                           7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherAES_CBC_192
   356 
   357 //!                           8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherAES_CBC_192
   358 
   359 //!                           9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherAES_CBC_192
   360 
   361 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0007-001
   362 
   363 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0007-002
   364 
   365 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0007-003
   366 
   367 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0007-004
   368 
   369 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0007-005
   370 
   371 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0007-006
   372 
   373 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0007-007
   374 
   375 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0007-008
   376 
   377 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0007-009
   378 
   379 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0007
   380 
   381 
   382 
   383 
   384 
   385 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0008
   386 
   387 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0008
   388 
   389 //! @SYMTestCaseDesc          /////////////////////////////////////////////////////////////////////////////////
   390 
   391 //!                           /////////////////////////////////////////////////////////////////////////////////
   392 
   393 //!                           /////////////////////////////////////////////////////////////////////////////////
   394 
   395 //! @SYMTestActions           1) Element test case 1, ECipherAES_CBC_128
   396 
   397 //!                           2) Element test case 2, ECipherAES_CBC_128
   398 
   399 //!                           3) Element test case 3, ECipherAES_CBC_128
   400 
   401 //!                           4) Test of Set encryption, password changing, exporting importing Test 1, ECipherAES_CBC_128
   402 
   403 //!                           5) Test of Set encryption, password changing, exporting importing Test 2 -- 1 byte input, ECipherAES_CBC_128
   404 
   405 //!                           6) Test of Set encryption, password changing, exporting importing Test 3 -- 8 byte input, ECipherAES_CBC_128
   406 
   407 //!                           7) Test of Set encryption, password changing, exporting importing Test 4 -- 1 byte password, ECipherAES_CBC_128
   408 
   409 //!                           8) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password, ECipherAES_CBC_128
   410 
   411 //!                           9) Test of Set encryption, password changing, exporting importing Test 4 -- 0 byte password 0 byte input, ECipherAES_CBC_128
   412 
   413 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0008-001
   414 
   415 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0008-002
   416 
   417 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0008-003
   418 
   419 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0008-004
   420 
   421 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0008-005
   422 
   423 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0008-006
   424 
   425 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0008-007
   426 
   427 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0008-008
   428 
   429 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0008-009
   430 
   431 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0008
   432 
   433 
   434 
   435 
   436 
   437 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0009
   438 
   439 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0009
   440 
   441 //! @SYMTestCaseDesc          /////////////////////////////////////////////////////////////////////////////////
   442 
   443 //!                           /////////////////////////////////////////////////////////////////////////////////
   444 
   445 //!                           /////////////////////////////////////////////////////////////////////////////////
   446 
   447 //!                           
   448 
   449 //!                           Start of Permanent File Store PBE testing between weak and strong crypto
   450 
   451 //! @SYMTestActions           1) Write encrypted data to a PFS named according to crypto strength
   452 
   453 //!                           2) Decrypting weak crypto file
   454 
   455 //!                           3) Decrypting strong crypto file
   456 
   457 RUN_TEST_STEP                 -1    CTestHandler        WritePFS               tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0009-001
   458 
   459 RUN_TEST_STEP                 -1    CTestHandler        ReadPFS                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0009-002
   460 
   461 RUN_TEST_STEP                 -1    CTestHandler        ReadPFS                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0009-003
   462 
   463 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0009
   464 
   465 
   466 
   467 
   468 
   469 START_TESTCASE                SEC-CRYPTOSPI-TPBETESTS-0010
   470 
   471 //! @SYMTestCaseID            SEC-CRYPTOSPI-TPBETESTS-0010
   472 
   473 //! @SYMTestCaseDesc          Start of OOM testing
   474 
   475 //! @SYMTestActions           1) OOM start
   476 
   477 //!                           2) Element test case 2
   478 
   479 //!                           3) Test of Set encryption, password changing, exporting importing Test 1
   480 
   481 //!                           4) OOM end
   482 
   483 RUN_TEST_STEP                 -1    CTestHandler        startmemfailure     
   484 
   485 RUN_TEST_STEP                 -1    CTestHandler        Element                tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0010-002
   486 
   487 RUN_TEST_STEP                 -1    CTestHandler        Set                    tpbetests.ini   SEC-CRYPTOSPI-TPBETESTS-0010-003
   488 
   489 RUN_TEST_STEP                 -1    CTestHandler        stopmemfailure      
   490 
   491 END_TESTCASE                  SEC-CRYPTOSPI-TPBETESTS-0010
   492 
   493 
   494 
   495 
   496