os/security/crypto/weakcryptospi/test/tpkcs5kdf/scripts/tpkcs12kdftests.script
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
//
sl@0
     2
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
// All rights reserved.
sl@0
     4
// This component and the accompanying materials are made available
sl@0
     5
// under the terms of the License "Eclipse Public License v1.0"
sl@0
     6
// which accompanies this distribution, and is available
sl@0
     7
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
//
sl@0
     9
// Initial Contributors:
sl@0
    10
// Nokia Corporation - initial contribution.
sl@0
    11
//
sl@0
    12
// Contributors:
sl@0
    13
//
sl@0
    14
// Description: 
sl@0
    15
//
sl@0
    16
sl@0
    17
START_TESTCASE                SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001
sl@0
    18
sl@0
    19
//! @SYMTestCaseID            SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001
sl@0
    20
sl@0
    21
//! @SYMTestCaseDesc          Copyright (c) Symbian Software Ltd 2006 - 2007. All rights reserved.
sl@0
    22
sl@0
    23
//! @SYMTestActions           1) PKCS5 Key Derivation Test 1 -- vector from peter gutmann
sl@0
    24
sl@0
    25
//!                           2) PKCS5 Key Derivation Test 2 -- 100 iterations vector from generated openssl
sl@0
    26
sl@0
    27
//!                           3) PKCS5 Key Derivation Test 3 -- 1000 iterations 16 byte key, vector generated from openssl
sl@0
    28
sl@0
    29
//!                           4) PKCS5 Key Derivation Test 4 -- 10000 iteration 64 byte key -- vector from generated openssl
sl@0
    30
sl@0
    31
//!                           5) PKCS5 Key Derivation Test 5 -- 16 byte key, really long password vector generated from openssl
sl@0
    32
sl@0
    33
//!                           6) PKCS5 Key Derivation Test 6 -- 16 byte key, medium size password vector generated from openssl
sl@0
    34
sl@0
    35
//!                           7) PKCS5 Key Derivation Test 7 -- 32 byte key, long salt, short password vector generated from openssl
sl@0
    36
sl@0
    37
//!                           8) PKCS5 Key Derivation Test 8 -- 32 byte key, long salt, long password vector generated from openssl
sl@0
    38
sl@0
    39
//!                           9) PKCS5 Key Derivation Test 9 -- 16 byte key, really long password vector generated from openssl
sl@0
    40
sl@0
    41
//!                           10) PKCS5 Key Derivation Test 10 -- 16 byte key, really long password vector generated from openssl
sl@0
    42
sl@0
    43
//!                           11) PKCS5 Key Derivation Test 11 -- 16 byte key, really long password vector generated from openssl
sl@0
    44
sl@0
    45
//!                           12) PKCS5 Key Derivation Test 12 -- 32 byte key, really long password vector generated from openssl
sl@0
    46
sl@0
    47
//!                           13) PKCS5 Key Derivation Test 13 -- 32 byte key, long password vector generated from openssl
sl@0
    48
sl@0
    49
//!                           14) PKCS5 Key Derivation Test 14 -- 32 byte key, long password vector generated from openssl
sl@0
    50
sl@0
    51
//!                           15) PKCS5 Key Derivation Test 15 -- 32 byte key, medium length password vector generated from openssl
sl@0
    52
sl@0
    53
//!                           16) PKCS5 Key Derivation Test 16 -- 32 byte key, long password vector generated from openssl
sl@0
    54
sl@0
    55
//!                           17) PKCS5 Key Derivation Test 17 -- 32 byte key, long password vector generated from openssl
sl@0
    56
sl@0
    57
//!                           18) PKCS5 Key Derivation Test 18 -- 32 byte key, long password vector generated from openssl
sl@0
    58
sl@0
    59
//!                           19) PKCS5 Key Derivation Test 19 -- 32 byte key, 65 byte password to test the fixed bug in the CHMAC::Init code vector generated from openssl
sl@0
    60
sl@0
    61
//!                           20) PKCS5 Key Derivation Test 20 -- 32 byte key, password with spaces vector generated from openssl
sl@0
    62
sl@0
    63
//!                           21) PKCS5 Key Derivation Test 21 -- 1 byte key vector generated from openssl
sl@0
    64
sl@0
    65
//!                           22) PKCS5 Key Derivation Test 22 -- 128 byte key vector generated from openssl
sl@0
    66
sl@0
    67
//!                           23) PKCS5 Key Derivation Test 23 -- 160 (multiple of hash size) byte key vector generated from openssl
sl@0
    68
sl@0
    69
//!                           24) PKCS5 Key Derivation Test 24 -- 8 byte key vector generated from openssl
sl@0
    70
sl@0
    71
//!                           25) PKCS5 Key Derivation Test 25 -- 256 byte key vector generated from openssl
sl@0
    72
sl@0
    73
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-001
sl@0
    74
sl@0
    75
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-002
sl@0
    76
sl@0
    77
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-003
sl@0
    78
sl@0
    79
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-004
sl@0
    80
sl@0
    81
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-005
sl@0
    82
sl@0
    83
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-006
sl@0
    84
sl@0
    85
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-007
sl@0
    86
sl@0
    87
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-008
sl@0
    88
sl@0
    89
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-009
sl@0
    90
sl@0
    91
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-010
sl@0
    92
sl@0
    93
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-011
sl@0
    94
sl@0
    95
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-012
sl@0
    96
sl@0
    97
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-013
sl@0
    98
sl@0
    99
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-014
sl@0
   100
sl@0
   101
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-015
sl@0
   102
sl@0
   103
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-016
sl@0
   104
sl@0
   105
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-017
sl@0
   106
sl@0
   107
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-018
sl@0
   108
sl@0
   109
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-019
sl@0
   110
sl@0
   111
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-020
sl@0
   112
sl@0
   113
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-021
sl@0
   114
sl@0
   115
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-022
sl@0
   116
sl@0
   117
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-023
sl@0
   118
sl@0
   119
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-024
sl@0
   120
sl@0
   121
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001-025
sl@0
   122
sl@0
   123
END_TESTCASE                  SEC-CRYPTOSPI-TPKCS12KDFTESTS-0001
sl@0
   124
sl@0
   125
sl@0
   126
sl@0
   127
sl@0
   128
sl@0
   129
START_TESTCASE                SEC-CRYPTOSPI-TPKCS12KDFTESTS-0002
sl@0
   130
sl@0
   131
//! @SYMTestCaseID            SEC-CRYPTOSPI-TPKCS12KDFTESTS-0002
sl@0
   132
sl@0
   133
//! @SYMTestCaseDesc          Out of Memory tests follow
sl@0
   134
sl@0
   135
//! @SYMTestActions           1) OOM Start
sl@0
   136
sl@0
   137
//!                           2) PKCS5 Key Derivation Test 1 -- vector from peter gutmann
sl@0
   138
sl@0
   139
//!                           3) PKCS5 Key Derivation Test 2 -- 100 iterations vector from generated openssl
sl@0
   140
sl@0
   141
//!                           4) PKCS5 Key Derivation Test 3 -- 1000 iterations 16 byte key, vector generated from openssl
sl@0
   142
sl@0
   143
//!                           5) PKCS5 Key Derivation Test 4 -- 10000 iteration 64 byte key -- vector from generated openssl
sl@0
   144
sl@0
   145
//!                           6) PKCS5 Key Derivation Test 5 -- leave from performAction other than KErrNoMemory
sl@0
   146
sl@0
   147
//!                           7) OOM End
sl@0
   148
sl@0
   149
RUN_TEST_STEP                 -1    CTestHandler        startmemfailure     
sl@0
   150
sl@0
   151
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0002-002
sl@0
   152
sl@0
   153
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0002-003
sl@0
   154
sl@0
   155
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0002-004
sl@0
   156
sl@0
   157
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0002-005
sl@0
   158
sl@0
   159
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CRYPTOSPI-TPKCS12KDFTESTS-0002-006
sl@0
   160
sl@0
   161
RUN_TEST_STEP                 -1    CTestHandler        stopmemfailure      
sl@0
   162
sl@0
   163
END_TESTCASE                  SEC-CRYPTOSPI-TPKCS12KDFTESTS-0002
sl@0
   164
sl@0
   165
sl@0
   166
sl@0
   167
sl@0
   168
sl@0
   169
START_TESTCASE                SEC-CRYPTOSPI-TPKCS12KDFTESTS-0003
sl@0
   170
sl@0
   171
//! @SYMTestCaseID            SEC-CRYPTOSPI-TPKCS12KDFTESTS-0003
sl@0
   172
sl@0
   173
//! @SYMTestCaseDesc          End of out of memory tests
sl@0
   174
sl@0
   175
//!                           
sl@0
   176
sl@0
   177
//!                           =====================================================================
sl@0
   178
sl@0
   179
//!                           PKCS#12 tests
sl@0
   180
sl@0
   181
//! @SYMTestActions           1) OOM Start
sl@0
   182
sl@0
   183
RUN_TEST_STEP                 -1    CTestHandler        startmemfailure     
sl@0
   184
sl@0
   185
END_TESTCASE                  SEC-CRYPTOSPI-TPKCS12KDFTESTS-0003
sl@0
   186
sl@0
   187
sl@0
   188
sl@0
   189
sl@0
   190
sl@0
   191
START_TESTCASE                SEC-CIT_PREQ1054_01-0001
sl@0
   192
sl@0
   193
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0001
sl@0
   194
sl@0
   195
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   196
sl@0
   197
//! @SYMREQ                   CIT_PREQ1054
sl@0
   198
sl@0
   199
//! @SYMTestPriority          medium
sl@0
   200
sl@0
   201
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   202
sl@0
   203
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   204
sl@0
   205
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   206
sl@0
   207
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0001
sl@0
   208
sl@0
   209
END_TESTCASE                  SEC-CIT_PREQ1054_01-0001
sl@0
   210
sl@0
   211
sl@0
   212
sl@0
   213
sl@0
   214
sl@0
   215
START_TESTCASE                SEC-CIT_PREQ1054_01-0002
sl@0
   216
sl@0
   217
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0002
sl@0
   218
sl@0
   219
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   220
sl@0
   221
//! @SYMREQ                   CIT_PREQ1054
sl@0
   222
sl@0
   223
//! @SYMTestPriority          medium
sl@0
   224
sl@0
   225
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   226
sl@0
   227
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   228
sl@0
   229
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   230
sl@0
   231
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0002
sl@0
   232
sl@0
   233
END_TESTCASE                  SEC-CIT_PREQ1054_01-0002
sl@0
   234
sl@0
   235
sl@0
   236
sl@0
   237
sl@0
   238
sl@0
   239
START_TESTCASE                SEC-CIT_PREQ1054_01-0003
sl@0
   240
sl@0
   241
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0003
sl@0
   242
sl@0
   243
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   244
sl@0
   245
//! @SYMREQ                   CIT_PREQ1054
sl@0
   246
sl@0
   247
//! @SYMTestPriority          medium
sl@0
   248
sl@0
   249
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   250
sl@0
   251
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   252
sl@0
   253
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   254
sl@0
   255
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0003
sl@0
   256
sl@0
   257
END_TESTCASE                  SEC-CIT_PREQ1054_01-0003
sl@0
   258
sl@0
   259
sl@0
   260
sl@0
   261
sl@0
   262
sl@0
   263
START_TESTCASE                SEC-CIT_PREQ1054_01-0004
sl@0
   264
sl@0
   265
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0004
sl@0
   266
sl@0
   267
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   268
sl@0
   269
//! @SYMREQ                   CIT_PREQ1054
sl@0
   270
sl@0
   271
//! @SYMTestPriority          medium
sl@0
   272
sl@0
   273
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   274
sl@0
   275
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   276
sl@0
   277
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   278
sl@0
   279
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0004
sl@0
   280
sl@0
   281
END_TESTCASE                  SEC-CIT_PREQ1054_01-0004
sl@0
   282
sl@0
   283
sl@0
   284
sl@0
   285
sl@0
   286
sl@0
   287
START_TESTCASE                SEC-CIT_PREQ1054_01-0005
sl@0
   288
sl@0
   289
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0005
sl@0
   290
sl@0
   291
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   292
sl@0
   293
//! @SYMREQ                   CIT_PREQ1054
sl@0
   294
sl@0
   295
//! @SYMTestPriority          medium
sl@0
   296
sl@0
   297
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   298
sl@0
   299
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   300
sl@0
   301
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   302
sl@0
   303
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0005
sl@0
   304
sl@0
   305
END_TESTCASE                  SEC-CIT_PREQ1054_01-0005
sl@0
   306
sl@0
   307
sl@0
   308
sl@0
   309
sl@0
   310
sl@0
   311
START_TESTCASE                SEC-CIT_PREQ1054_01-0006
sl@0
   312
sl@0
   313
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0006
sl@0
   314
sl@0
   315
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   316
sl@0
   317
//! @SYMREQ                   CIT_PREQ1054
sl@0
   318
sl@0
   319
//! @SYMTestPriority          medium
sl@0
   320
sl@0
   321
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   322
sl@0
   323
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   324
sl@0
   325
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   326
sl@0
   327
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0006
sl@0
   328
sl@0
   329
END_TESTCASE                  SEC-CIT_PREQ1054_01-0006
sl@0
   330
sl@0
   331
sl@0
   332
sl@0
   333
sl@0
   334
sl@0
   335
START_TESTCASE                SEC-CIT_PREQ1054_01-0007
sl@0
   336
sl@0
   337
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0007
sl@0
   338
sl@0
   339
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   340
sl@0
   341
//! @SYMREQ                   CIT_PREQ1054
sl@0
   342
sl@0
   343
//! @SYMTestPriority          medium
sl@0
   344
sl@0
   345
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   346
sl@0
   347
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   348
sl@0
   349
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   350
sl@0
   351
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0007
sl@0
   352
sl@0
   353
END_TESTCASE                  SEC-CIT_PREQ1054_01-0007
sl@0
   354
sl@0
   355
sl@0
   356
sl@0
   357
sl@0
   358
sl@0
   359
START_TESTCASE                SEC-CIT_PREQ1054_01-0008
sl@0
   360
sl@0
   361
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0008
sl@0
   362
sl@0
   363
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   364
sl@0
   365
//! @SYMREQ                   CIT_PREQ1054
sl@0
   366
sl@0
   367
//! @SYMTestPriority          medium
sl@0
   368
sl@0
   369
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   370
sl@0
   371
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   372
sl@0
   373
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   374
sl@0
   375
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0008
sl@0
   376
sl@0
   377
END_TESTCASE                  SEC-CIT_PREQ1054_01-0008
sl@0
   378
sl@0
   379
sl@0
   380
sl@0
   381
sl@0
   382
sl@0
   383
START_TESTCASE                SEC-CIT_PREQ1054_01-0009
sl@0
   384
sl@0
   385
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0009
sl@0
   386
sl@0
   387
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   388
sl@0
   389
//! @SYMREQ                   CIT_PREQ1054
sl@0
   390
sl@0
   391
//! @SYMTestPriority          medium
sl@0
   392
sl@0
   393
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   394
sl@0
   395
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   396
sl@0
   397
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   398
sl@0
   399
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0009
sl@0
   400
sl@0
   401
END_TESTCASE                  SEC-CIT_PREQ1054_01-0009
sl@0
   402
sl@0
   403
sl@0
   404
sl@0
   405
sl@0
   406
sl@0
   407
START_TESTCASE                SEC-CIT_PREQ1054_01-0010
sl@0
   408
sl@0
   409
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0010
sl@0
   410
sl@0
   411
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   412
sl@0
   413
//! @SYMREQ                   CIT_PREQ1054
sl@0
   414
sl@0
   415
//! @SYMTestPriority          medium
sl@0
   416
sl@0
   417
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   418
sl@0
   419
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   420
sl@0
   421
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   422
sl@0
   423
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0010
sl@0
   424
sl@0
   425
END_TESTCASE                  SEC-CIT_PREQ1054_01-0010
sl@0
   426
sl@0
   427
sl@0
   428
sl@0
   429
sl@0
   430
sl@0
   431
START_TESTCASE                SEC-CIT_PREQ1054_01-0011
sl@0
   432
sl@0
   433
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0011
sl@0
   434
sl@0
   435
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   436
sl@0
   437
//! @SYMREQ                   CIT_PREQ1054
sl@0
   438
sl@0
   439
//! @SYMTestPriority          medium
sl@0
   440
sl@0
   441
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   442
sl@0
   443
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   444
sl@0
   445
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   446
sl@0
   447
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0011
sl@0
   448
sl@0
   449
END_TESTCASE                  SEC-CIT_PREQ1054_01-0011
sl@0
   450
sl@0
   451
sl@0
   452
sl@0
   453
sl@0
   454
sl@0
   455
START_TESTCASE                SEC-CIT_PREQ1054_01-0012
sl@0
   456
sl@0
   457
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0012
sl@0
   458
sl@0
   459
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   460
sl@0
   461
//! @SYMREQ                   CIT_PREQ1054
sl@0
   462
sl@0
   463
//! @SYMTestPriority          medium
sl@0
   464
sl@0
   465
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   466
sl@0
   467
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   468
sl@0
   469
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   470
sl@0
   471
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0012
sl@0
   472
sl@0
   473
END_TESTCASE                  SEC-CIT_PREQ1054_01-0012
sl@0
   474
sl@0
   475
sl@0
   476
sl@0
   477
sl@0
   478
sl@0
   479
START_TESTCASE                CIT_PREQ1054_01_0013
sl@0
   480
sl@0
   481
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0013
sl@0
   482
sl@0
   483
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   484
sl@0
   485
//! @SYMREQ                   CIT_PREQ1054
sl@0
   486
sl@0
   487
//! @SYMTestPriority          medium
sl@0
   488
sl@0
   489
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   490
sl@0
   491
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   492
sl@0
   493
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   494
sl@0
   495
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0013
sl@0
   496
sl@0
   497
END_TESTCASE                  SEC-CIT_PREQ1054_01-0013
sl@0
   498
sl@0
   499
sl@0
   500
sl@0
   501
sl@0
   502
sl@0
   503
START_TESTCASE                SEC-CIT_PREQ1054_01-0014
sl@0
   504
sl@0
   505
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0014
sl@0
   506
sl@0
   507
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   508
sl@0
   509
//! @SYMREQ                   CIT_PREQ1054
sl@0
   510
sl@0
   511
//! @SYMTestPriority          medium
sl@0
   512
sl@0
   513
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   514
sl@0
   515
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   516
sl@0
   517
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   518
sl@0
   519
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0014
sl@0
   520
sl@0
   521
END_TESTCASE                  SEC-CIT_PREQ1054_01-0014
sl@0
   522
sl@0
   523
sl@0
   524
sl@0
   525
sl@0
   526
sl@0
   527
START_TESTCASE                SEC-CIT_PREQ1054_01-0015
sl@0
   528
sl@0
   529
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0015
sl@0
   530
sl@0
   531
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   532
sl@0
   533
//! @SYMREQ                   CIT_PREQ1054
sl@0
   534
sl@0
   535
//! @SYMTestPriority          medium
sl@0
   536
sl@0
   537
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   538
sl@0
   539
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   540
sl@0
   541
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   542
sl@0
   543
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0015
sl@0
   544
sl@0
   545
END_TESTCASE                  SEC-CIT_PREQ1054_01-0015
sl@0
   546
sl@0
   547
sl@0
   548
sl@0
   549
sl@0
   550
sl@0
   551
START_TESTCASE                SEC-CIT_PREQ1054_01-0016
sl@0
   552
sl@0
   553
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0016
sl@0
   554
sl@0
   555
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   556
sl@0
   557
//! @SYMREQ                   CIT_PREQ1054
sl@0
   558
sl@0
   559
//! @SYMTestPriority          medium
sl@0
   560
sl@0
   561
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   562
sl@0
   563
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   564
sl@0
   565
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   566
sl@0
   567
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0016
sl@0
   568
sl@0
   569
END_TESTCASE                  SEC-CIT_PREQ1054_01-0016
sl@0
   570
sl@0
   571
sl@0
   572
sl@0
   573
sl@0
   574
sl@0
   575
START_TESTCASE                SEC-CIT_PREQ1054_01-0017
sl@0
   576
sl@0
   577
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0017
sl@0
   578
sl@0
   579
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   580
sl@0
   581
//! @SYMREQ                   CIT_PREQ1054
sl@0
   582
sl@0
   583
//! @SYMTestPriority          medium
sl@0
   584
sl@0
   585
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   586
sl@0
   587
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   588
sl@0
   589
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   590
sl@0
   591
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0017
sl@0
   592
sl@0
   593
END_TESTCASE                  SEC-CIT_PREQ1054_01-0017
sl@0
   594
sl@0
   595
sl@0
   596
sl@0
   597
sl@0
   598
sl@0
   599
START_TESTCASE                SEC-CIT_PREQ1054_01-0018
sl@0
   600
sl@0
   601
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0018
sl@0
   602
sl@0
   603
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   604
sl@0
   605
//! @SYMREQ                   CIT_PREQ1054
sl@0
   606
sl@0
   607
//! @SYMTestPriority          medium
sl@0
   608
sl@0
   609
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   610
sl@0
   611
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   612
sl@0
   613
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   614
sl@0
   615
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0018
sl@0
   616
sl@0
   617
END_TESTCASE                  SEC-CIT_PREQ1054_01-0018
sl@0
   618
sl@0
   619
sl@0
   620
sl@0
   621
sl@0
   622
sl@0
   623
START_TESTCASE                SEC-CIT_PREQ1054_01-0019
sl@0
   624
sl@0
   625
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0019
sl@0
   626
sl@0
   627
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   628
sl@0
   629
//! @SYMREQ                   CIT_PREQ1054
sl@0
   630
sl@0
   631
//! @SYMTestPriority          medium
sl@0
   632
sl@0
   633
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   634
sl@0
   635
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   636
sl@0
   637
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   638
sl@0
   639
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0019
sl@0
   640
sl@0
   641
END_TESTCASE                  SEC-CIT_PREQ1054_01-0019
sl@0
   642
sl@0
   643
sl@0
   644
sl@0
   645
sl@0
   646
sl@0
   647
START_TESTCASE                SEC-CIT_PREQ1054_01-0020
sl@0
   648
sl@0
   649
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0020
sl@0
   650
sl@0
   651
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   652
sl@0
   653
//! @SYMREQ                   CIT_PREQ1054
sl@0
   654
sl@0
   655
//! @SYMTestPriority          medium
sl@0
   656
sl@0
   657
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   658
sl@0
   659
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   660
sl@0
   661
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   662
sl@0
   663
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0020
sl@0
   664
sl@0
   665
END_TESTCASE                  SEC-CIT_PREQ1054_01-0020
sl@0
   666
sl@0
   667
sl@0
   668
sl@0
   669
sl@0
   670
sl@0
   671
START_TESTCASE                SEC-CIT_PREQ1054_01-0021
sl@0
   672
sl@0
   673
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0021
sl@0
   674
sl@0
   675
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   676
sl@0
   677
//! @SYMREQ                   CIT_PREQ1054
sl@0
   678
sl@0
   679
//! @SYMTestPriority          medium
sl@0
   680
sl@0
   681
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   682
sl@0
   683
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   684
sl@0
   685
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   686
sl@0
   687
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0021
sl@0
   688
sl@0
   689
END_TESTCASE                  SEC-CIT_PREQ1054_01-0021
sl@0
   690
sl@0
   691
sl@0
   692
sl@0
   693
sl@0
   694
sl@0
   695
START_TESTCASE                SEC-CIT_PREQ1054_01-0022
sl@0
   696
sl@0
   697
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0022
sl@0
   698
sl@0
   699
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   700
sl@0
   701
//! @SYMREQ                   CIT_PREQ1054
sl@0
   702
sl@0
   703
//! @SYMTestPriority          medium
sl@0
   704
sl@0
   705
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   706
sl@0
   707
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   708
sl@0
   709
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   710
sl@0
   711
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0022
sl@0
   712
sl@0
   713
END_TESTCASE                  SEC-CIT_PREQ1054_01-0022
sl@0
   714
sl@0
   715
sl@0
   716
sl@0
   717
sl@0
   718
sl@0
   719
START_TESTCASE                SEC-CIT_PREQ1054_01-0023
sl@0
   720
sl@0
   721
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0023
sl@0
   722
sl@0
   723
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   724
sl@0
   725
//! @SYMREQ                   CIT_PREQ1054
sl@0
   726
sl@0
   727
//! @SYMTestPriority          medium
sl@0
   728
sl@0
   729
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   730
sl@0
   731
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   732
sl@0
   733
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   734
sl@0
   735
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0023
sl@0
   736
sl@0
   737
END_TESTCASE                  SEC-CIT_PREQ1054_01-0023
sl@0
   738
sl@0
   739
sl@0
   740
sl@0
   741
sl@0
   742
sl@0
   743
START_TESTCASE                SEC-CIT_PREQ1054_01-0024
sl@0
   744
sl@0
   745
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0024
sl@0
   746
sl@0
   747
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   748
sl@0
   749
//! @SYMREQ                   CIT_PREQ1054
sl@0
   750
sl@0
   751
//! @SYMTestPriority          medium
sl@0
   752
sl@0
   753
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   754
sl@0
   755
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   756
sl@0
   757
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   758
sl@0
   759
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0024
sl@0
   760
sl@0
   761
END_TESTCASE                  SEC-CIT_PREQ1054_01-0024
sl@0
   762
sl@0
   763
sl@0
   764
sl@0
   765
sl@0
   766
sl@0
   767
START_TESTCASE                SEC-CIT_PREQ1054_01-0025
sl@0
   768
sl@0
   769
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0025
sl@0
   770
sl@0
   771
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   772
sl@0
   773
//! @SYMREQ                   CIT_PREQ1054
sl@0
   774
sl@0
   775
//! @SYMTestPriority          medium
sl@0
   776
sl@0
   777
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   778
sl@0
   779
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   780
sl@0
   781
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
   782
sl@0
   783
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0025
sl@0
   784
sl@0
   785
END_TESTCASE                  SEC-CIT_PREQ1054_01-0025
sl@0
   786
sl@0
   787
sl@0
   788
sl@0
   789
sl@0
   790
sl@0
   791
START_TESTCASE                SEC-CIT_PREQ1054_01-0026
sl@0
   792
sl@0
   793
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0026
sl@0
   794
sl@0
   795
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   796
sl@0
   797
//! @SYMREQ                   CIT_PREQ1054
sl@0
   798
sl@0
   799
//! @SYMTestPriority          medium
sl@0
   800
sl@0
   801
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   802
sl@0
   803
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   804
sl@0
   805
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   806
sl@0
   807
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0026
sl@0
   808
sl@0
   809
END_TESTCASE                  SEC-CIT_PREQ1054_01-0026
sl@0
   810
sl@0
   811
sl@0
   812
sl@0
   813
sl@0
   814
sl@0
   815
START_TESTCASE                SEC-CIT_PREQ1054_01-0027
sl@0
   816
sl@0
   817
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0027
sl@0
   818
sl@0
   819
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   820
sl@0
   821
//! @SYMREQ                   CIT_PREQ1054
sl@0
   822
sl@0
   823
//! @SYMTestPriority          medium
sl@0
   824
sl@0
   825
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   826
sl@0
   827
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   828
sl@0
   829
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   830
sl@0
   831
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0027
sl@0
   832
sl@0
   833
END_TESTCASE                  SEC-CIT_PREQ1054_01-0027
sl@0
   834
sl@0
   835
sl@0
   836
sl@0
   837
sl@0
   838
sl@0
   839
START_TESTCASE                SEC-CIT_PREQ1054_01-0028
sl@0
   840
sl@0
   841
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0028
sl@0
   842
sl@0
   843
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   844
sl@0
   845
//! @SYMREQ                   CIT_PREQ1054
sl@0
   846
sl@0
   847
//! @SYMTestPriority          medium
sl@0
   848
sl@0
   849
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   850
sl@0
   851
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   852
sl@0
   853
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   854
sl@0
   855
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0028
sl@0
   856
sl@0
   857
END_TESTCASE                  SEC-CIT_PREQ1054_01-0028
sl@0
   858
sl@0
   859
sl@0
   860
sl@0
   861
sl@0
   862
sl@0
   863
START_TESTCASE                SEC-CIT_PREQ1054_01-0029
sl@0
   864
sl@0
   865
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0029
sl@0
   866
sl@0
   867
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   868
sl@0
   869
//! @SYMREQ                   CIT_PREQ1054
sl@0
   870
sl@0
   871
//! @SYMTestPriority          medium
sl@0
   872
sl@0
   873
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   874
sl@0
   875
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   876
sl@0
   877
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   878
sl@0
   879
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0029
sl@0
   880
sl@0
   881
END_TESTCASE                  SEC-CIT_PREQ1054_01-0029
sl@0
   882
sl@0
   883
sl@0
   884
sl@0
   885
sl@0
   886
sl@0
   887
START_TESTCASE                SEC-CIT_PREQ1054_01-0030
sl@0
   888
sl@0
   889
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0030
sl@0
   890
sl@0
   891
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   892
sl@0
   893
//! @SYMREQ                   CIT_PREQ1054
sl@0
   894
sl@0
   895
//! @SYMTestPriority          medium
sl@0
   896
sl@0
   897
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   898
sl@0
   899
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   900
sl@0
   901
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
   902
sl@0
   903
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0030
sl@0
   904
sl@0
   905
END_TESTCASE                  SEC-CIT_PREQ1054_01-0030
sl@0
   906
sl@0
   907
sl@0
   908
sl@0
   909
sl@0
   910
sl@0
   911
START_TESTCASE                SEC-CIT_PREQ1054_01-0031
sl@0
   912
sl@0
   913
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0031
sl@0
   914
sl@0
   915
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   916
sl@0
   917
//! @SYMREQ                   CIT_PREQ1054
sl@0
   918
sl@0
   919
//! @SYMTestPriority          medium
sl@0
   920
sl@0
   921
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   922
sl@0
   923
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   924
sl@0
   925
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   926
sl@0
   927
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0031
sl@0
   928
sl@0
   929
END_TESTCASE                  SEC-CIT_PREQ1054_01-0031
sl@0
   930
sl@0
   931
sl@0
   932
sl@0
   933
sl@0
   934
sl@0
   935
START_TESTCASE                SEC-CIT_PREQ1054_01-0032
sl@0
   936
sl@0
   937
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0032
sl@0
   938
sl@0
   939
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   940
sl@0
   941
//! @SYMREQ                   CIT_PREQ1054
sl@0
   942
sl@0
   943
//! @SYMTestPriority          medium
sl@0
   944
sl@0
   945
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   946
sl@0
   947
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   948
sl@0
   949
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   950
sl@0
   951
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0032
sl@0
   952
sl@0
   953
END_TESTCASE                  SEC-CIT_PREQ1054_01-0032
sl@0
   954
sl@0
   955
sl@0
   956
sl@0
   957
sl@0
   958
sl@0
   959
START_TESTCASE                SEC-CIT_PREQ1054_01-0033
sl@0
   960
sl@0
   961
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0033
sl@0
   962
sl@0
   963
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   964
sl@0
   965
//! @SYMREQ                   CIT_PREQ1054
sl@0
   966
sl@0
   967
//! @SYMTestPriority          medium
sl@0
   968
sl@0
   969
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   970
sl@0
   971
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   972
sl@0
   973
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   974
sl@0
   975
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0033
sl@0
   976
sl@0
   977
END_TESTCASE                  SEC-CIT_PREQ1054_01-0033
sl@0
   978
sl@0
   979
sl@0
   980
sl@0
   981
sl@0
   982
sl@0
   983
START_TESTCASE                SEC-CIT_PREQ1054_01-0034
sl@0
   984
sl@0
   985
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0034
sl@0
   986
sl@0
   987
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
   988
sl@0
   989
//! @SYMREQ                   CIT_PREQ1054
sl@0
   990
sl@0
   991
//! @SYMTestPriority          medium
sl@0
   992
sl@0
   993
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
   994
sl@0
   995
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
   996
sl@0
   997
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
   998
sl@0
   999
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0034
sl@0
  1000
sl@0
  1001
END_TESTCASE                  SEC-CIT_PREQ1054_01-0034
sl@0
  1002
sl@0
  1003
sl@0
  1004
sl@0
  1005
sl@0
  1006
sl@0
  1007
START_TESTCASE                SEC-CIT_PREQ1054_01-0035
sl@0
  1008
sl@0
  1009
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0035
sl@0
  1010
sl@0
  1011
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1012
sl@0
  1013
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1014
sl@0
  1015
//! @SYMTestPriority          medium
sl@0
  1016
sl@0
  1017
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1018
sl@0
  1019
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1020
sl@0
  1021
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1022
sl@0
  1023
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0035
sl@0
  1024
sl@0
  1025
END_TESTCASE                  SEC-CIT_PREQ1054_01-0035
sl@0
  1026
sl@0
  1027
sl@0
  1028
sl@0
  1029
sl@0
  1030
sl@0
  1031
START_TESTCASE                SEC-CIT_PREQ1054_01-0036
sl@0
  1032
sl@0
  1033
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0036
sl@0
  1034
sl@0
  1035
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1036
sl@0
  1037
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1038
sl@0
  1039
//! @SYMTestPriority          medium
sl@0
  1040
sl@0
  1041
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1042
sl@0
  1043
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1044
sl@0
  1045
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1046
sl@0
  1047
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0036
sl@0
  1048
sl@0
  1049
END_TESTCASE                  SEC-CIT_PREQ1054_01-0036
sl@0
  1050
sl@0
  1051
sl@0
  1052
sl@0
  1053
sl@0
  1054
sl@0
  1055
START_TESTCASE                SEC-CIT_PREQ1054_01-0037
sl@0
  1056
sl@0
  1057
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0037
sl@0
  1058
sl@0
  1059
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1060
sl@0
  1061
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1062
sl@0
  1063
//! @SYMTestPriority          medium
sl@0
  1064
sl@0
  1065
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1066
sl@0
  1067
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1068
sl@0
  1069
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1070
sl@0
  1071
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0037
sl@0
  1072
sl@0
  1073
END_TESTCASE                  SEC-CIT_PREQ1054_01-0037
sl@0
  1074
sl@0
  1075
sl@0
  1076
sl@0
  1077
sl@0
  1078
sl@0
  1079
START_TESTCASE                SEC-CIT_PREQ1054_01-0038
sl@0
  1080
sl@0
  1081
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0038
sl@0
  1082
sl@0
  1083
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1084
sl@0
  1085
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1086
sl@0
  1087
//! @SYMTestPriority          medium
sl@0
  1088
sl@0
  1089
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1090
sl@0
  1091
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1092
sl@0
  1093
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1094
sl@0
  1095
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0038
sl@0
  1096
sl@0
  1097
END_TESTCASE                  SEC-CIT_PREQ1054_01-0038
sl@0
  1098
sl@0
  1099
sl@0
  1100
sl@0
  1101
sl@0
  1102
sl@0
  1103
START_TESTCASE                SEC-CIT_PREQ1054_01-0039
sl@0
  1104
sl@0
  1105
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0039
sl@0
  1106
sl@0
  1107
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1108
sl@0
  1109
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1110
sl@0
  1111
//! @SYMTestPriority          medium
sl@0
  1112
sl@0
  1113
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1114
sl@0
  1115
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1116
sl@0
  1117
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1118
sl@0
  1119
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0039
sl@0
  1120
sl@0
  1121
END_TESTCASE                  SEC-CIT_PREQ1054_01-0039
sl@0
  1122
sl@0
  1123
sl@0
  1124
sl@0
  1125
sl@0
  1126
sl@0
  1127
START_TESTCASE                SEC-CIT_PREQ1054_01-0040
sl@0
  1128
sl@0
  1129
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0040
sl@0
  1130
sl@0
  1131
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1132
sl@0
  1133
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1134
sl@0
  1135
//! @SYMTestPriority          medium
sl@0
  1136
sl@0
  1137
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1138
sl@0
  1139
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1140
sl@0
  1141
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1142
sl@0
  1143
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0040
sl@0
  1144
sl@0
  1145
END_TESTCASE                  SEC-CIT_PREQ1054_01-0040
sl@0
  1146
sl@0
  1147
sl@0
  1148
sl@0
  1149
sl@0
  1150
sl@0
  1151
START_TESTCASE                SEC-CIT_PREQ1054_01-0041
sl@0
  1152
sl@0
  1153
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0041
sl@0
  1154
sl@0
  1155
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1156
sl@0
  1157
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1158
sl@0
  1159
//! @SYMTestPriority          medium
sl@0
  1160
sl@0
  1161
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1162
sl@0
  1163
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1164
sl@0
  1165
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1166
sl@0
  1167
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0041
sl@0
  1168
sl@0
  1169
END_TESTCASE                  SEC-CIT_PREQ1054_01-0041
sl@0
  1170
sl@0
  1171
sl@0
  1172
sl@0
  1173
sl@0
  1174
sl@0
  1175
START_TESTCASE                SEC-CIT_PREQ1054_01-0042
sl@0
  1176
sl@0
  1177
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0042
sl@0
  1178
sl@0
  1179
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1180
sl@0
  1181
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1182
sl@0
  1183
//! @SYMTestPriority          medium
sl@0
  1184
sl@0
  1185
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1186
sl@0
  1187
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1188
sl@0
  1189
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1190
sl@0
  1191
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0042
sl@0
  1192
sl@0
  1193
END_TESTCASE                  SEC-CIT_PREQ1054_01-0042
sl@0
  1194
sl@0
  1195
sl@0
  1196
sl@0
  1197
sl@0
  1198
sl@0
  1199
START_TESTCASE                SEC-CIT_PREQ1054_01-0043
sl@0
  1200
sl@0
  1201
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0043
sl@0
  1202
sl@0
  1203
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1204
sl@0
  1205
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1206
sl@0
  1207
//! @SYMTestPriority          medium
sl@0
  1208
sl@0
  1209
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1210
sl@0
  1211
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1212
sl@0
  1213
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1214
sl@0
  1215
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0043
sl@0
  1216
sl@0
  1217
END_TESTCASE                  SEC-CIT_PREQ1054_01-0043
sl@0
  1218
sl@0
  1219
sl@0
  1220
sl@0
  1221
sl@0
  1222
sl@0
  1223
START_TESTCASE                SEC-CIT_PREQ1054_01-0044
sl@0
  1224
sl@0
  1225
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0044
sl@0
  1226
sl@0
  1227
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1228
sl@0
  1229
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1230
sl@0
  1231
//! @SYMTestPriority          medium
sl@0
  1232
sl@0
  1233
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1234
sl@0
  1235
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1236
sl@0
  1237
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1238
sl@0
  1239
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0044
sl@0
  1240
sl@0
  1241
END_TESTCASE                  SEC-CIT_PREQ1054_01-0044
sl@0
  1242
sl@0
  1243
sl@0
  1244
sl@0
  1245
sl@0
  1246
sl@0
  1247
START_TESTCASE                SEC-CIT_PREQ1054_01-0045
sl@0
  1248
sl@0
  1249
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0045
sl@0
  1250
sl@0
  1251
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1252
sl@0
  1253
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1254
sl@0
  1255
//! @SYMTestPriority          medium
sl@0
  1256
sl@0
  1257
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1258
sl@0
  1259
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1260
sl@0
  1261
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1262
sl@0
  1263
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0045
sl@0
  1264
sl@0
  1265
END_TESTCASE                  SEC-CIT_PREQ1054_01-0045
sl@0
  1266
sl@0
  1267
sl@0
  1268
sl@0
  1269
sl@0
  1270
sl@0
  1271
START_TESTCASE                SEC-CIT_PREQ1054_01-0046
sl@0
  1272
sl@0
  1273
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0046
sl@0
  1274
sl@0
  1275
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1276
sl@0
  1277
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1278
sl@0
  1279
//! @SYMTestPriority          medium
sl@0
  1280
sl@0
  1281
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1282
sl@0
  1283
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1284
sl@0
  1285
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1286
sl@0
  1287
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0046
sl@0
  1288
sl@0
  1289
END_TESTCASE                  SEC-CIT_PREQ1054_01-0046
sl@0
  1290
sl@0
  1291
sl@0
  1292
sl@0
  1293
sl@0
  1294
sl@0
  1295
START_TESTCASE                SEC-CIT_PREQ1054_01-0047
sl@0
  1296
sl@0
  1297
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0047
sl@0
  1298
sl@0
  1299
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1300
sl@0
  1301
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1302
sl@0
  1303
//! @SYMTestPriority          medium
sl@0
  1304
sl@0
  1305
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1306
sl@0
  1307
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1308
sl@0
  1309
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1310
sl@0
  1311
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0047
sl@0
  1312
sl@0
  1313
END_TESTCASE                  SEC-CIT_PREQ1054_01-0047
sl@0
  1314
sl@0
  1315
sl@0
  1316
sl@0
  1317
sl@0
  1318
sl@0
  1319
START_TESTCASE                SEC-CIT_PREQ1054_01-0048
sl@0
  1320
sl@0
  1321
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0048
sl@0
  1322
sl@0
  1323
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1324
sl@0
  1325
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1326
sl@0
  1327
//! @SYMTestPriority          medium
sl@0
  1328
sl@0
  1329
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1330
sl@0
  1331
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1332
sl@0
  1333
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1334
sl@0
  1335
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0048
sl@0
  1336
sl@0
  1337
END_TESTCASE                  SEC-CIT_PREQ1054_01-0048
sl@0
  1338
sl@0
  1339
sl@0
  1340
sl@0
  1341
sl@0
  1342
sl@0
  1343
START_TESTCASE                SEC-CIT_PREQ1054_01-0049
sl@0
  1344
sl@0
  1345
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0049
sl@0
  1346
sl@0
  1347
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1348
sl@0
  1349
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1350
sl@0
  1351
//! @SYMTestPriority          medium
sl@0
  1352
sl@0
  1353
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1354
sl@0
  1355
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1356
sl@0
  1357
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1358
sl@0
  1359
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0049
sl@0
  1360
sl@0
  1361
END_TESTCASE                  SEC-CIT_PREQ1054_01-0049
sl@0
  1362
sl@0
  1363
sl@0
  1364
sl@0
  1365
sl@0
  1366
sl@0
  1367
START_TESTCASE                SEC-CIT_PREQ1054_01-0050
sl@0
  1368
sl@0
  1369
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0050
sl@0
  1370
sl@0
  1371
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1372
sl@0
  1373
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1374
sl@0
  1375
//! @SYMTestPriority          medium
sl@0
  1376
sl@0
  1377
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1378
sl@0
  1379
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1380
sl@0
  1381
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1382
sl@0
  1383
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0050
sl@0
  1384
sl@0
  1385
END_TESTCASE                  SEC-CIT_PREQ1054_01-0050
sl@0
  1386
sl@0
  1387
sl@0
  1388
sl@0
  1389
sl@0
  1390
sl@0
  1391
START_TESTCASE                SEC-CIT_PREQ1054_01-0051
sl@0
  1392
sl@0
  1393
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0051
sl@0
  1394
sl@0
  1395
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1396
sl@0
  1397
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1398
sl@0
  1399
//! @SYMTestPriority          medium
sl@0
  1400
sl@0
  1401
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1402
sl@0
  1403
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1404
sl@0
  1405
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1406
sl@0
  1407
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0051
sl@0
  1408
sl@0
  1409
END_TESTCASE                  SEC-CIT_PREQ1054_01-0051
sl@0
  1410
sl@0
  1411
sl@0
  1412
sl@0
  1413
sl@0
  1414
sl@0
  1415
START_TESTCASE                SEC-CIT_PREQ1054_01-0052
sl@0
  1416
sl@0
  1417
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0052
sl@0
  1418
sl@0
  1419
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1420
sl@0
  1421
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1422
sl@0
  1423
//! @SYMTestPriority          medium
sl@0
  1424
sl@0
  1425
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1426
sl@0
  1427
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1428
sl@0
  1429
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1430
sl@0
  1431
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0052
sl@0
  1432
sl@0
  1433
END_TESTCASE                  SEC-CIT_PREQ1054_01-0052
sl@0
  1434
sl@0
  1435
sl@0
  1436
sl@0
  1437
sl@0
  1438
sl@0
  1439
START_TESTCASE                SEC-CIT_PREQ1054_01-0053
sl@0
  1440
sl@0
  1441
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0053
sl@0
  1442
sl@0
  1443
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1444
sl@0
  1445
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1446
sl@0
  1447
//! @SYMTestPriority          medium
sl@0
  1448
sl@0
  1449
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1450
sl@0
  1451
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1452
sl@0
  1453
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1454
sl@0
  1455
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0053
sl@0
  1456
sl@0
  1457
END_TESTCASE                  SEC-CIT_PREQ1054_01-0053
sl@0
  1458
sl@0
  1459
sl@0
  1460
sl@0
  1461
sl@0
  1462
sl@0
  1463
START_TESTCASE                SEC-CIT_PREQ1054_01-0054
sl@0
  1464
sl@0
  1465
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0054
sl@0
  1466
sl@0
  1467
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1468
sl@0
  1469
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1470
sl@0
  1471
//! @SYMTestPriority          medium
sl@0
  1472
sl@0
  1473
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1474
sl@0
  1475
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1476
sl@0
  1477
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1478
sl@0
  1479
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0054
sl@0
  1480
sl@0
  1481
END_TESTCASE                  SEC-CIT_PREQ1054_01-0054
sl@0
  1482
sl@0
  1483
sl@0
  1484
sl@0
  1485
sl@0
  1486
sl@0
  1487
START_TESTCASE                SEC-CIT_PREQ1054_01-0055
sl@0
  1488
sl@0
  1489
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0055
sl@0
  1490
sl@0
  1491
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1492
sl@0
  1493
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1494
sl@0
  1495
//! @SYMTestPriority          medium
sl@0
  1496
sl@0
  1497
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1498
sl@0
  1499
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1500
sl@0
  1501
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1502
sl@0
  1503
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0055
sl@0
  1504
sl@0
  1505
END_TESTCASE                  SEC-CIT_PREQ1054_01-0055
sl@0
  1506
sl@0
  1507
sl@0
  1508
sl@0
  1509
sl@0
  1510
sl@0
  1511
START_TESTCASE                SEC-CIT_PREQ1054_01-0056
sl@0
  1512
sl@0
  1513
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0056
sl@0
  1514
sl@0
  1515
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1516
sl@0
  1517
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1518
sl@0
  1519
//! @SYMTestPriority          medium
sl@0
  1520
sl@0
  1521
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1522
sl@0
  1523
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1524
sl@0
  1525
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1526
sl@0
  1527
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0056
sl@0
  1528
sl@0
  1529
END_TESTCASE                  SEC-CIT_PREQ1054_01-0056
sl@0
  1530
sl@0
  1531
sl@0
  1532
sl@0
  1533
sl@0
  1534
sl@0
  1535
START_TESTCASE                SEC-CIT_PREQ1054_01-0057
sl@0
  1536
sl@0
  1537
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0057
sl@0
  1538
sl@0
  1539
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1540
sl@0
  1541
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1542
sl@0
  1543
//! @SYMTestPriority          medium
sl@0
  1544
sl@0
  1545
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1546
sl@0
  1547
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1548
sl@0
  1549
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1550
sl@0
  1551
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0057
sl@0
  1552
sl@0
  1553
END_TESTCASE                  SEC-CIT_PREQ1054_01-0057
sl@0
  1554
sl@0
  1555
sl@0
  1556
sl@0
  1557
sl@0
  1558
sl@0
  1559
START_TESTCASE                SEC-CIT_PREQ1054_01-0058	
sl@0
  1560
sl@0
  1561
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0058
sl@0
  1562
sl@0
  1563
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1564
sl@0
  1565
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1566
sl@0
  1567
//! @SYMTestPriority          medium
sl@0
  1568
sl@0
  1569
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1570
sl@0
  1571
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1572
sl@0
  1573
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1574
sl@0
  1575
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0058
sl@0
  1576
sl@0
  1577
END_TESTCASE                  SEC-CIT_PREQ1054_01-0058
sl@0
  1578
sl@0
  1579
sl@0
  1580
sl@0
  1581
sl@0
  1582
sl@0
  1583
START_TESTCASE                SEC-CIT_PREQ1054_01-0059
sl@0
  1584
sl@0
  1585
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0059
sl@0
  1586
sl@0
  1587
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1588
sl@0
  1589
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1590
sl@0
  1591
//! @SYMTestPriority          medium
sl@0
  1592
sl@0
  1593
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1594
sl@0
  1595
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1596
sl@0
  1597
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1598
sl@0
  1599
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0059
sl@0
  1600
sl@0
  1601
END_TESTCASE                  SEC-CIT_PREQ1054_01-0059
sl@0
  1602
sl@0
  1603
sl@0
  1604
sl@0
  1605
sl@0
  1606
sl@0
  1607
START_TESTCASE                SEC-CIT_PREQ1054_01-0060
sl@0
  1608
sl@0
  1609
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0060
sl@0
  1610
sl@0
  1611
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1612
sl@0
  1613
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1614
sl@0
  1615
//! @SYMTestPriority          medium
sl@0
  1616
sl@0
  1617
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1618
sl@0
  1619
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1620
sl@0
  1621
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1622
sl@0
  1623
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0060
sl@0
  1624
sl@0
  1625
END_TESTCASE                  SEC-CIT_PREQ1054_01-0060
sl@0
  1626
sl@0
  1627
sl@0
  1628
sl@0
  1629
sl@0
  1630
sl@0
  1631
START_TESTCASE                SEC-CIT_PREQ1054_01-0061
sl@0
  1632
sl@0
  1633
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0061
sl@0
  1634
sl@0
  1635
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1636
sl@0
  1637
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1638
sl@0
  1639
//! @SYMTestPriority          medium
sl@0
  1640
sl@0
  1641
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1642
sl@0
  1643
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1644
sl@0
  1645
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1646
sl@0
  1647
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0061
sl@0
  1648
sl@0
  1649
END_TESTCASE                  SEC-CIT_PREQ1054_01-0061
sl@0
  1650
sl@0
  1651
sl@0
  1652
sl@0
  1653
sl@0
  1654
sl@0
  1655
START_TESTCASE                SEC-CIT_PREQ1054_01-0062
sl@0
  1656
sl@0
  1657
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0062
sl@0
  1658
sl@0
  1659
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1660
sl@0
  1661
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1662
sl@0
  1663
//! @SYMTestPriority          medium
sl@0
  1664
sl@0
  1665
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1666
sl@0
  1667
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1668
sl@0
  1669
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1670
sl@0
  1671
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0062
sl@0
  1672
sl@0
  1673
END_TESTCASE                  SEC-CIT_PREQ1054_01-0062
sl@0
  1674
sl@0
  1675
sl@0
  1676
sl@0
  1677
sl@0
  1678
sl@0
  1679
START_TESTCASE                SEC-CIT_PREQ1054_01-0063
sl@0
  1680
sl@0
  1681
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0063
sl@0
  1682
sl@0
  1683
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1684
sl@0
  1685
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1686
sl@0
  1687
//! @SYMTestPriority          medium
sl@0
  1688
sl@0
  1689
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1690
sl@0
  1691
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1692
sl@0
  1693
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1694
sl@0
  1695
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0063
sl@0
  1696
sl@0
  1697
END_TESTCASE                  SEC-CIT_PREQ1054_01-0063
sl@0
  1698
sl@0
  1699
sl@0
  1700
sl@0
  1701
sl@0
  1702
sl@0
  1703
START_TESTCASE                SEC-CIT_PREQ1054_01-0064
sl@0
  1704
sl@0
  1705
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0064
sl@0
  1706
sl@0
  1707
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1708
sl@0
  1709
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1710
sl@0
  1711
//! @SYMTestPriority          medium
sl@0
  1712
sl@0
  1713
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1714
sl@0
  1715
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1716
sl@0
  1717
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1718
sl@0
  1719
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0064
sl@0
  1720
sl@0
  1721
END_TESTCASE                  SEC-CIT_PREQ1054_01-0064
sl@0
  1722
sl@0
  1723
sl@0
  1724
sl@0
  1725
sl@0
  1726
sl@0
  1727
START_TESTCASE                SEC-CIT_PREQ1054_01-0065
sl@0
  1728
sl@0
  1729
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0065
sl@0
  1730
sl@0
  1731
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1732
sl@0
  1733
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1734
sl@0
  1735
//! @SYMTestPriority          medium
sl@0
  1736
sl@0
  1737
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1738
sl@0
  1739
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1740
sl@0
  1741
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  1742
sl@0
  1743
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0065
sl@0
  1744
sl@0
  1745
END_TESTCASE                  SEC-CIT_PREQ1054_01-0065
sl@0
  1746
sl@0
  1747
sl@0
  1748
sl@0
  1749
sl@0
  1750
sl@0
  1751
START_TESTCASE                SEC-CIT_PREQ1054_01-0066
sl@0
  1752
sl@0
  1753
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0066
sl@0
  1754
sl@0
  1755
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1756
sl@0
  1757
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1758
sl@0
  1759
//! @SYMTestPriority          medium
sl@0
  1760
sl@0
  1761
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1762
sl@0
  1763
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1764
sl@0
  1765
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1766
sl@0
  1767
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0066
sl@0
  1768
sl@0
  1769
END_TESTCASE                  SEC-CIT_PREQ1054_01-0066
sl@0
  1770
sl@0
  1771
sl@0
  1772
sl@0
  1773
sl@0
  1774
sl@0
  1775
START_TESTCASE                SEC-CIT_PREQ1054_01-0067
sl@0
  1776
sl@0
  1777
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0067
sl@0
  1778
sl@0
  1779
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1780
sl@0
  1781
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1782
sl@0
  1783
//! @SYMTestPriority          medium
sl@0
  1784
sl@0
  1785
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1786
sl@0
  1787
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1788
sl@0
  1789
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1790
sl@0
  1791
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0067
sl@0
  1792
sl@0
  1793
END_TESTCASE                  SEC-CIT_PREQ1054_01-0067
sl@0
  1794
sl@0
  1795
sl@0
  1796
sl@0
  1797
sl@0
  1798
sl@0
  1799
START_TESTCASE                SEC-CIT_PREQ1054_01-0068
sl@0
  1800
sl@0
  1801
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0068
sl@0
  1802
sl@0
  1803
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1804
sl@0
  1805
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1806
sl@0
  1807
//! @SYMTestPriority          medium
sl@0
  1808
sl@0
  1809
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1810
sl@0
  1811
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1812
sl@0
  1813
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1814
sl@0
  1815
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0068
sl@0
  1816
sl@0
  1817
END_TESTCASE                  SEC-CIT_PREQ1054_01-0068
sl@0
  1818
sl@0
  1819
sl@0
  1820
sl@0
  1821
sl@0
  1822
sl@0
  1823
START_TESTCASE                SEC-CIT_PREQ1054_01-0069
sl@0
  1824
sl@0
  1825
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0069
sl@0
  1826
sl@0
  1827
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1828
sl@0
  1829
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1830
sl@0
  1831
//! @SYMTestPriority          medium
sl@0
  1832
sl@0
  1833
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1834
sl@0
  1835
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1836
sl@0
  1837
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1838
sl@0
  1839
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0069
sl@0
  1840
sl@0
  1841
END_TESTCASE                  SEC-CIT_PREQ1054_01-0069
sl@0
  1842
sl@0
  1843
sl@0
  1844
sl@0
  1845
sl@0
  1846
sl@0
  1847
START_TESTCASE                SEC-CIT_PREQ1054_01-0070
sl@0
  1848
sl@0
  1849
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0070
sl@0
  1850
sl@0
  1851
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1852
sl@0
  1853
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1854
sl@0
  1855
//! @SYMTestPriority          medium
sl@0
  1856
sl@0
  1857
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1858
sl@0
  1859
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1860
sl@0
  1861
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  1862
sl@0
  1863
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0070
sl@0
  1864
sl@0
  1865
END_TESTCASE                  SEC-CIT_PREQ1054_01-0070
sl@0
  1866
sl@0
  1867
sl@0
  1868
sl@0
  1869
sl@0
  1870
sl@0
  1871
START_TESTCASE                SEC-CIT_PREQ1054_01-0071
sl@0
  1872
sl@0
  1873
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0071
sl@0
  1874
sl@0
  1875
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1876
sl@0
  1877
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1878
sl@0
  1879
//! @SYMTestPriority          medium
sl@0
  1880
sl@0
  1881
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1882
sl@0
  1883
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1884
sl@0
  1885
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1886
sl@0
  1887
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0071
sl@0
  1888
sl@0
  1889
END_TESTCASE                  SEC-CIT_PREQ1054_01-0071
sl@0
  1890
sl@0
  1891
sl@0
  1892
sl@0
  1893
sl@0
  1894
sl@0
  1895
START_TESTCASE                SEC-CIT_PREQ1054_01-0072
sl@0
  1896
sl@0
  1897
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0072
sl@0
  1898
sl@0
  1899
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1900
sl@0
  1901
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1902
sl@0
  1903
//! @SYMTestPriority          medium
sl@0
  1904
sl@0
  1905
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1906
sl@0
  1907
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1908
sl@0
  1909
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1910
sl@0
  1911
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0072
sl@0
  1912
sl@0
  1913
END_TESTCASE                  SEC-CIT_PREQ1054_01-0072
sl@0
  1914
sl@0
  1915
sl@0
  1916
sl@0
  1917
sl@0
  1918
sl@0
  1919
START_TESTCASE                SEC-CIT_PREQ1054_01-0073
sl@0
  1920
sl@0
  1921
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0073
sl@0
  1922
sl@0
  1923
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1924
sl@0
  1925
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1926
sl@0
  1927
//! @SYMTestPriority          medium
sl@0
  1928
sl@0
  1929
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1930
sl@0
  1931
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1932
sl@0
  1933
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1934
sl@0
  1935
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0073
sl@0
  1936
sl@0
  1937
END_TESTCASE                  SEC-CIT_PREQ1054_01-0073
sl@0
  1938
sl@0
  1939
sl@0
  1940
sl@0
  1941
sl@0
  1942
sl@0
  1943
START_TESTCASE                SEC-CIT_PREQ1054_01-0074
sl@0
  1944
sl@0
  1945
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0074
sl@0
  1946
sl@0
  1947
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1948
sl@0
  1949
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1950
sl@0
  1951
//! @SYMTestPriority          medium
sl@0
  1952
sl@0
  1953
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1954
sl@0
  1955
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1956
sl@0
  1957
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1958
sl@0
  1959
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0074
sl@0
  1960
sl@0
  1961
END_TESTCASE                  SEC-CIT_PREQ1054_01-0074
sl@0
  1962
sl@0
  1963
sl@0
  1964
sl@0
  1965
sl@0
  1966
sl@0
  1967
START_TESTCASE                SEC-CIT_PREQ1054_01-0075
sl@0
  1968
sl@0
  1969
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0075
sl@0
  1970
sl@0
  1971
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1972
sl@0
  1973
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1974
sl@0
  1975
//! @SYMTestPriority          medium
sl@0
  1976
sl@0
  1977
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  1978
sl@0
  1979
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  1980
sl@0
  1981
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  1982
sl@0
  1983
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0075
sl@0
  1984
sl@0
  1985
END_TESTCASE                  SEC-CIT_PREQ1054_01-0075
sl@0
  1986
sl@0
  1987
sl@0
  1988
sl@0
  1989
sl@0
  1990
sl@0
  1991
START_TESTCASE                SEC-CIT_PREQ1054_01-0076
sl@0
  1992
sl@0
  1993
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0076
sl@0
  1994
sl@0
  1995
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  1996
sl@0
  1997
//! @SYMREQ                   CIT_PREQ1054
sl@0
  1998
sl@0
  1999
//! @SYMTestPriority          medium
sl@0
  2000
sl@0
  2001
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2002
sl@0
  2003
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2004
sl@0
  2005
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2006
sl@0
  2007
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0076
sl@0
  2008
sl@0
  2009
END_TESTCASE                  SEC-CIT_PREQ1054_01-0076
sl@0
  2010
sl@0
  2011
sl@0
  2012
sl@0
  2013
sl@0
  2014
sl@0
  2015
START_TESTCASE                SEC-CIT_PREQ1054_01-0077
sl@0
  2016
sl@0
  2017
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0077
sl@0
  2018
sl@0
  2019
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2020
sl@0
  2021
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2022
sl@0
  2023
//! @SYMTestPriority          medium
sl@0
  2024
sl@0
  2025
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2026
sl@0
  2027
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2028
sl@0
  2029
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2030
sl@0
  2031
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0077
sl@0
  2032
sl@0
  2033
END_TESTCASE                  SEC-CIT_PREQ1054_01-0077
sl@0
  2034
sl@0
  2035
sl@0
  2036
sl@0
  2037
sl@0
  2038
sl@0
  2039
START_TESTCASE                SEC-CIT_PREQ1054_01-0078
sl@0
  2040
sl@0
  2041
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0078
sl@0
  2042
sl@0
  2043
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2044
sl@0
  2045
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2046
sl@0
  2047
//! @SYMTestPriority          medium
sl@0
  2048
sl@0
  2049
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2050
sl@0
  2051
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2052
sl@0
  2053
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2054
sl@0
  2055
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0078
sl@0
  2056
sl@0
  2057
END_TESTCASE                  SEC-CIT_PREQ1054_01-0078
sl@0
  2058
sl@0
  2059
sl@0
  2060
sl@0
  2061
sl@0
  2062
sl@0
  2063
START_TESTCASE                SEC-CIT_PREQ1054_01-0079
sl@0
  2064
sl@0
  2065
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0079
sl@0
  2066
sl@0
  2067
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2068
sl@0
  2069
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2070
sl@0
  2071
//! @SYMTestPriority          medium
sl@0
  2072
sl@0
  2073
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2074
sl@0
  2075
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2076
sl@0
  2077
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2078
sl@0
  2079
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0079
sl@0
  2080
sl@0
  2081
END_TESTCASE                  SEC-CIT_PREQ1054_01-0079
sl@0
  2082
sl@0
  2083
sl@0
  2084
sl@0
  2085
sl@0
  2086
sl@0
  2087
START_TESTCASE                SEC-CIT_PREQ1054_01-0080
sl@0
  2088
sl@0
  2089
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0080
sl@0
  2090
sl@0
  2091
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2092
sl@0
  2093
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2094
sl@0
  2095
//! @SYMTestPriority          medium
sl@0
  2096
sl@0
  2097
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2098
sl@0
  2099
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2100
sl@0
  2101
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2102
sl@0
  2103
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0080
sl@0
  2104
sl@0
  2105
END_TESTCASE                  SEC-CIT_PREQ1054_01-0080
sl@0
  2106
sl@0
  2107
sl@0
  2108
sl@0
  2109
sl@0
  2110
sl@0
  2111
START_TESTCASE                SEC-CIT_PREQ1054_01-0081
sl@0
  2112
sl@0
  2113
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0081
sl@0
  2114
sl@0
  2115
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2116
sl@0
  2117
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2118
sl@0
  2119
//! @SYMTestPriority          medium
sl@0
  2120
sl@0
  2121
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2122
sl@0
  2123
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2124
sl@0
  2125
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2126
sl@0
  2127
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0081
sl@0
  2128
sl@0
  2129
END_TESTCASE                  SEC-CIT_PREQ1054_01-0081
sl@0
  2130
sl@0
  2131
sl@0
  2132
sl@0
  2133
sl@0
  2134
sl@0
  2135
START_TESTCASE                SEC-CIT_PREQ1054_01-0082
sl@0
  2136
sl@0
  2137
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0082
sl@0
  2138
sl@0
  2139
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2140
sl@0
  2141
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2142
sl@0
  2143
//! @SYMTestPriority          medium
sl@0
  2144
sl@0
  2145
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2146
sl@0
  2147
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2148
sl@0
  2149
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2150
sl@0
  2151
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0082
sl@0
  2152
sl@0
  2153
END_TESTCASE                  SEC-CIT_PREQ1054_01-0082
sl@0
  2154
sl@0
  2155
sl@0
  2156
sl@0
  2157
sl@0
  2158
sl@0
  2159
START_TESTCASE                SEC-CIT_PREQ1054_01-0083
sl@0
  2160
sl@0
  2161
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0083
sl@0
  2162
sl@0
  2163
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2164
sl@0
  2165
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2166
sl@0
  2167
//! @SYMTestPriority          medium
sl@0
  2168
sl@0
  2169
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2170
sl@0
  2171
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2172
sl@0
  2173
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2174
sl@0
  2175
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0083
sl@0
  2176
sl@0
  2177
END_TESTCASE                  SEC-CIT_PREQ1054_01-0083
sl@0
  2178
sl@0
  2179
sl@0
  2180
sl@0
  2181
sl@0
  2182
sl@0
  2183
START_TESTCASE                SEC-CIT_PREQ1054_01-0084
sl@0
  2184
sl@0
  2185
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0084
sl@0
  2186
sl@0
  2187
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2188
sl@0
  2189
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2190
sl@0
  2191
//! @SYMTestPriority          medium
sl@0
  2192
sl@0
  2193
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2194
sl@0
  2195
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2196
sl@0
  2197
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2198
sl@0
  2199
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0084
sl@0
  2200
sl@0
  2201
END_TESTCASE                  SEC-CIT_PREQ1054_01-0084
sl@0
  2202
sl@0
  2203
sl@0
  2204
sl@0
  2205
sl@0
  2206
sl@0
  2207
START_TESTCASE                SEC-CIT_PREQ1054_01-0085
sl@0
  2208
sl@0
  2209
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0085
sl@0
  2210
sl@0
  2211
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2212
sl@0
  2213
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2214
sl@0
  2215
//! @SYMTestPriority          medium
sl@0
  2216
sl@0
  2217
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2218
sl@0
  2219
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2220
sl@0
  2221
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2222
sl@0
  2223
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0085
sl@0
  2224
sl@0
  2225
END_TESTCASE                  SEC-CIT_PREQ1054_01-0085
sl@0
  2226
sl@0
  2227
sl@0
  2228
sl@0
  2229
sl@0
  2230
sl@0
  2231
START_TESTCASE                SEC-CIT_PREQ1054_01-0086
sl@0
  2232
sl@0
  2233
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0086
sl@0
  2234
sl@0
  2235
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2236
sl@0
  2237
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2238
sl@0
  2239
//! @SYMTestPriority          medium
sl@0
  2240
sl@0
  2241
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2242
sl@0
  2243
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2244
sl@0
  2245
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2246
sl@0
  2247
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0086
sl@0
  2248
sl@0
  2249
END_TESTCASE                  SEC-CIT_PREQ1054_01-0086
sl@0
  2250
sl@0
  2251
sl@0
  2252
sl@0
  2253
sl@0
  2254
sl@0
  2255
START_TESTCASE                SEC-CIT_PREQ1054_01-0087
sl@0
  2256
sl@0
  2257
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0087
sl@0
  2258
sl@0
  2259
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2260
sl@0
  2261
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2262
sl@0
  2263
//! @SYMTestPriority          medium
sl@0
  2264
sl@0
  2265
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2266
sl@0
  2267
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2268
sl@0
  2269
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2270
sl@0
  2271
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0087
sl@0
  2272
sl@0
  2273
END_TESTCASE                  SEC-CIT_PREQ1054_01-0087
sl@0
  2274
sl@0
  2275
sl@0
  2276
sl@0
  2277
sl@0
  2278
sl@0
  2279
START_TESTCASE                SEC-CIT_PREQ1054_01-0088
sl@0
  2280
sl@0
  2281
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0088
sl@0
  2282
sl@0
  2283
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2284
sl@0
  2285
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2286
sl@0
  2287
//! @SYMTestPriority          medium
sl@0
  2288
sl@0
  2289
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2290
sl@0
  2291
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2292
sl@0
  2293
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2294
sl@0
  2295
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0088
sl@0
  2296
sl@0
  2297
END_TESTCASE                  SEC-CIT_PREQ1054_01-0088
sl@0
  2298
sl@0
  2299
sl@0
  2300
sl@0
  2301
sl@0
  2302
sl@0
  2303
START_TESTCASE                SEC-CIT_PREQ1054_01-0089
sl@0
  2304
sl@0
  2305
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0089
sl@0
  2306
sl@0
  2307
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2308
sl@0
  2309
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2310
sl@0
  2311
//! @SYMTestPriority          medium
sl@0
  2312
sl@0
  2313
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2314
sl@0
  2315
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2316
sl@0
  2317
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2318
sl@0
  2319
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0089
sl@0
  2320
sl@0
  2321
END_TESTCASE                  SEC-CIT_PREQ1054_01-0089
sl@0
  2322
sl@0
  2323
sl@0
  2324
sl@0
  2325
sl@0
  2326
sl@0
  2327
START_TESTCASE                SEC-CIT_PREQ1054_01-0090
sl@0
  2328
sl@0
  2329
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0090
sl@0
  2330
sl@0
  2331
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2332
sl@0
  2333
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2334
sl@0
  2335
//! @SYMTestPriority          medium
sl@0
  2336
sl@0
  2337
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2338
sl@0
  2339
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2340
sl@0
  2341
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2342
sl@0
  2343
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0090
sl@0
  2344
sl@0
  2345
END_TESTCASE                  SEC-CIT_PREQ1054_01-0090
sl@0
  2346
sl@0
  2347
sl@0
  2348
sl@0
  2349
sl@0
  2350
sl@0
  2351
START_TESTCASE                SEC-CIT_PREQ1054_01-0091
sl@0
  2352
sl@0
  2353
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0091
sl@0
  2354
sl@0
  2355
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2356
sl@0
  2357
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2358
sl@0
  2359
//! @SYMTestPriority          medium
sl@0
  2360
sl@0
  2361
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2362
sl@0
  2363
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2364
sl@0
  2365
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2366
sl@0
  2367
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0091
sl@0
  2368
sl@0
  2369
END_TESTCASE                  SEC-CIT_PREQ1054_01-0091
sl@0
  2370
sl@0
  2371
sl@0
  2372
sl@0
  2373
sl@0
  2374
sl@0
  2375
START_TESTCASE                SEC-CIT_PREQ1054_01-0092
sl@0
  2376
sl@0
  2377
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0092
sl@0
  2378
sl@0
  2379
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2380
sl@0
  2381
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2382
sl@0
  2383
//! @SYMTestPriority          medium
sl@0
  2384
sl@0
  2385
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2386
sl@0
  2387
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2388
sl@0
  2389
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2390
sl@0
  2391
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0092
sl@0
  2392
sl@0
  2393
END_TESTCASE                  SEC-CIT_PREQ1054_01-0092
sl@0
  2394
sl@0
  2395
sl@0
  2396
sl@0
  2397
sl@0
  2398
sl@0
  2399
START_TESTCASE                SEC-CIT_PREQ1054_01-0093
sl@0
  2400
sl@0
  2401
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0093
sl@0
  2402
sl@0
  2403
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2404
sl@0
  2405
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2406
sl@0
  2407
//! @SYMTestPriority          medium
sl@0
  2408
sl@0
  2409
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2410
sl@0
  2411
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2412
sl@0
  2413
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2414
sl@0
  2415
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0093
sl@0
  2416
sl@0
  2417
END_TESTCASE                  SEC-CIT_PREQ1054_01-0093
sl@0
  2418
sl@0
  2419
sl@0
  2420
sl@0
  2421
sl@0
  2422
sl@0
  2423
START_TESTCASE                SEC-CIT_PREQ1054_01-0094
sl@0
  2424
sl@0
  2425
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0094
sl@0
  2426
sl@0
  2427
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2428
sl@0
  2429
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2430
sl@0
  2431
//! @SYMTestPriority          medium
sl@0
  2432
sl@0
  2433
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2434
sl@0
  2435
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2436
sl@0
  2437
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2438
sl@0
  2439
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0094
sl@0
  2440
sl@0
  2441
END_TESTCASE                  SEC-CIT_PREQ1054_01-0094
sl@0
  2442
sl@0
  2443
sl@0
  2444
sl@0
  2445
sl@0
  2446
sl@0
  2447
START_TESTCASE                SEC-CIT_PREQ1054_01-0095
sl@0
  2448
sl@0
  2449
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0095
sl@0
  2450
sl@0
  2451
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2452
sl@0
  2453
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2454
sl@0
  2455
//! @SYMTestPriority          medium
sl@0
  2456
sl@0
  2457
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2458
sl@0
  2459
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2460
sl@0
  2461
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2462
sl@0
  2463
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0095
sl@0
  2464
sl@0
  2465
END_TESTCASE                  SEC-CIT_PREQ1054_01-0095
sl@0
  2466
sl@0
  2467
sl@0
  2468
sl@0
  2469
sl@0
  2470
sl@0
  2471
START_TESTCASE                SEC-CIT_PREQ1054_01-0096
sl@0
  2472
sl@0
  2473
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0096
sl@0
  2474
sl@0
  2475
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2476
sl@0
  2477
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2478
sl@0
  2479
//! @SYMTestPriority          medium
sl@0
  2480
sl@0
  2481
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2482
sl@0
  2483
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2484
sl@0
  2485
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2486
sl@0
  2487
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0096
sl@0
  2488
sl@0
  2489
END_TESTCASE                  SEC-CIT_PREQ1054_01-0096
sl@0
  2490
sl@0
  2491
sl@0
  2492
sl@0
  2493
sl@0
  2494
sl@0
  2495
START_TESTCASE                SEC-CIT_PREQ1054_01-0097
sl@0
  2496
sl@0
  2497
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0097
sl@0
  2498
sl@0
  2499
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2500
sl@0
  2501
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2502
sl@0
  2503
//! @SYMTestPriority          medium
sl@0
  2504
sl@0
  2505
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2506
sl@0
  2507
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2508
sl@0
  2509
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2510
sl@0
  2511
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0097
sl@0
  2512
sl@0
  2513
END_TESTCASE                  SEC-CIT_PREQ1054_01-0097
sl@0
  2514
sl@0
  2515
sl@0
  2516
sl@0
  2517
sl@0
  2518
sl@0
  2519
START_TESTCASE                SEC-CIT_PREQ1054_01-0098
sl@0
  2520
sl@0
  2521
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0098
sl@0
  2522
sl@0
  2523
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2524
sl@0
  2525
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2526
sl@0
  2527
//! @SYMTestPriority          medium
sl@0
  2528
sl@0
  2529
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2530
sl@0
  2531
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2532
sl@0
  2533
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2534
sl@0
  2535
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0098
sl@0
  2536
sl@0
  2537
END_TESTCASE                  SEC-CIT_PREQ1054_01-0098
sl@0
  2538
sl@0
  2539
sl@0
  2540
sl@0
  2541
sl@0
  2542
sl@0
  2543
START_TESTCASE                SEC-CIT_PREQ1054_01-0099
sl@0
  2544
sl@0
  2545
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0099
sl@0
  2546
sl@0
  2547
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2548
sl@0
  2549
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2550
sl@0
  2551
//! @SYMTestPriority          medium
sl@0
  2552
sl@0
  2553
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2554
sl@0
  2555
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2556
sl@0
  2557
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2558
sl@0
  2559
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0099
sl@0
  2560
sl@0
  2561
END_TESTCASE                  SEC-CIT_PREQ1054_01-0099
sl@0
  2562
sl@0
  2563
sl@0
  2564
sl@0
  2565
sl@0
  2566
sl@0
  2567
START_TESTCASE                SEC-CIT_PREQ1054_01-0100
sl@0
  2568
sl@0
  2569
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0100
sl@0
  2570
sl@0
  2571
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2572
sl@0
  2573
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2574
sl@0
  2575
//! @SYMTestPriority          medium
sl@0
  2576
sl@0
  2577
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2578
sl@0
  2579
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2580
sl@0
  2581
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2582
sl@0
  2583
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0100
sl@0
  2584
sl@0
  2585
END_TESTCASE                  SEC-CIT_PREQ1054_01-0100
sl@0
  2586
sl@0
  2587
sl@0
  2588
sl@0
  2589
sl@0
  2590
sl@0
  2591
START_TESTCASE                SEC-CIT_PREQ1054_01-0101
sl@0
  2592
sl@0
  2593
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0101
sl@0
  2594
sl@0
  2595
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2596
sl@0
  2597
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2598
sl@0
  2599
//! @SYMTestPriority          medium
sl@0
  2600
sl@0
  2601
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2602
sl@0
  2603
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2604
sl@0
  2605
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2606
sl@0
  2607
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0101
sl@0
  2608
sl@0
  2609
END_TESTCASE                  SEC-CIT_PREQ1054_01-0101
sl@0
  2610
sl@0
  2611
sl@0
  2612
sl@0
  2613
sl@0
  2614
sl@0
  2615
START_TESTCASE                SEC-CIT_PREQ1054_01-0102
sl@0
  2616
sl@0
  2617
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0102
sl@0
  2618
sl@0
  2619
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2620
sl@0
  2621
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2622
sl@0
  2623
//! @SYMTestPriority          medium
sl@0
  2624
sl@0
  2625
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2626
sl@0
  2627
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2628
sl@0
  2629
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2630
sl@0
  2631
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0102
sl@0
  2632
sl@0
  2633
END_TESTCASE                  SEC-CIT_PREQ1054_01-0102
sl@0
  2634
sl@0
  2635
sl@0
  2636
sl@0
  2637
sl@0
  2638
sl@0
  2639
START_TESTCASE                SEC-CIT_PREQ1054_01-0103
sl@0
  2640
sl@0
  2641
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0103
sl@0
  2642
sl@0
  2643
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2644
sl@0
  2645
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2646
sl@0
  2647
//! @SYMTestPriority          medium
sl@0
  2648
sl@0
  2649
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2650
sl@0
  2651
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2652
sl@0
  2653
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2654
sl@0
  2655
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0103
sl@0
  2656
sl@0
  2657
END_TESTCASE                  SEC-CIT_PREQ1054_01-0103
sl@0
  2658
sl@0
  2659
sl@0
  2660
sl@0
  2661
sl@0
  2662
sl@0
  2663
START_TESTCASE                SEC-CIT_PREQ1054_01-0104
sl@0
  2664
sl@0
  2665
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0104
sl@0
  2666
sl@0
  2667
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2668
sl@0
  2669
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2670
sl@0
  2671
//! @SYMTestPriority          medium
sl@0
  2672
sl@0
  2673
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2674
sl@0
  2675
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2676
sl@0
  2677
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2678
sl@0
  2679
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0104
sl@0
  2680
sl@0
  2681
END_TESTCASE                  SEC-CIT_PREQ1054_01-0104
sl@0
  2682
sl@0
  2683
sl@0
  2684
sl@0
  2685
sl@0
  2686
sl@0
  2687
START_TESTCASE                SEC-CIT_PREQ1054_01-0105
sl@0
  2688
sl@0
  2689
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0105
sl@0
  2690
sl@0
  2691
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2692
sl@0
  2693
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2694
sl@0
  2695
//! @SYMTestPriority          medium
sl@0
  2696
sl@0
  2697
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2698
sl@0
  2699
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2700
sl@0
  2701
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2702
sl@0
  2703
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0105
sl@0
  2704
sl@0
  2705
END_TESTCASE                  SEC-CIT_PREQ1054_01-0105
sl@0
  2706
sl@0
  2707
sl@0
  2708
sl@0
  2709
sl@0
  2710
sl@0
  2711
START_TESTCASE                SEC-CIT_PREQ1054_01-0106
sl@0
  2712
sl@0
  2713
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0106
sl@0
  2714
sl@0
  2715
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2716
sl@0
  2717
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2718
sl@0
  2719
//! @SYMTestPriority          medium
sl@0
  2720
sl@0
  2721
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2722
sl@0
  2723
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2724
sl@0
  2725
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2726
sl@0
  2727
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0106
sl@0
  2728
sl@0
  2729
END_TESTCASE                  SEC-CIT_PREQ1054_01-0106
sl@0
  2730
sl@0
  2731
sl@0
  2732
sl@0
  2733
sl@0
  2734
sl@0
  2735
START_TESTCASE                SEC-CIT_PREQ1054_01-0107
sl@0
  2736
sl@0
  2737
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0107
sl@0
  2738
sl@0
  2739
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2740
sl@0
  2741
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2742
sl@0
  2743
//! @SYMTestPriority          medium
sl@0
  2744
sl@0
  2745
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2746
sl@0
  2747
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2748
sl@0
  2749
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2750
sl@0
  2751
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0107
sl@0
  2752
sl@0
  2753
END_TESTCASE                  SEC-CIT_PREQ1054_01-0107
sl@0
  2754
sl@0
  2755
sl@0
  2756
sl@0
  2757
sl@0
  2758
sl@0
  2759
START_TESTCASE                SEC-CIT_PREQ1054_01-0108
sl@0
  2760
sl@0
  2761
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0108
sl@0
  2762
sl@0
  2763
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2764
sl@0
  2765
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2766
sl@0
  2767
//! @SYMTestPriority          medium
sl@0
  2768
sl@0
  2769
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2770
sl@0
  2771
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2772
sl@0
  2773
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2774
sl@0
  2775
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0108
sl@0
  2776
sl@0
  2777
END_TESTCASE                  SEC-CIT_PREQ1054_01-0108
sl@0
  2778
sl@0
  2779
sl@0
  2780
sl@0
  2781
sl@0
  2782
sl@0
  2783
START_TESTCASE                SEC-CIT_PREQ1054_01-0109
sl@0
  2784
sl@0
  2785
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0109
sl@0
  2786
sl@0
  2787
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2788
sl@0
  2789
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2790
sl@0
  2791
//! @SYMTestPriority          medium
sl@0
  2792
sl@0
  2793
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2794
sl@0
  2795
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2796
sl@0
  2797
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2798
sl@0
  2799
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0109
sl@0
  2800
sl@0
  2801
END_TESTCASE                  SEC-CIT_PREQ1054_01-0109
sl@0
  2802
sl@0
  2803
sl@0
  2804
sl@0
  2805
sl@0
  2806
sl@0
  2807
START_TESTCASE                SEC-CIT_PREQ1054_01-0110
sl@0
  2808
sl@0
  2809
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0110
sl@0
  2810
sl@0
  2811
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2812
sl@0
  2813
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2814
sl@0
  2815
//! @SYMTestPriority          medium
sl@0
  2816
sl@0
  2817
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2818
sl@0
  2819
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2820
sl@0
  2821
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 4
sl@0
  2822
sl@0
  2823
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0110
sl@0
  2824
sl@0
  2825
END_TESTCASE                  SEC-CIT_PREQ1054_01-0110
sl@0
  2826
sl@0
  2827
sl@0
  2828
sl@0
  2829
sl@0
  2830
sl@0
  2831
START_TESTCASE                SEC-CIT_PREQ1054_01-0111
sl@0
  2832
sl@0
  2833
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0111
sl@0
  2834
sl@0
  2835
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2836
sl@0
  2837
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2838
sl@0
  2839
//! @SYMTestPriority          medium
sl@0
  2840
sl@0
  2841
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2842
sl@0
  2843
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2844
sl@0
  2845
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2846
sl@0
  2847
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0111
sl@0
  2848
sl@0
  2849
END_TESTCASE                  SEC-CIT_PREQ1054_01-0111
sl@0
  2850
sl@0
  2851
sl@0
  2852
sl@0
  2853
sl@0
  2854
sl@0
  2855
START_TESTCASE                SEC-CIT_PREQ1054_01-0112
sl@0
  2856
sl@0
  2857
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0112
sl@0
  2858
sl@0
  2859
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2860
sl@0
  2861
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2862
sl@0
  2863
//! @SYMTestPriority          medium
sl@0
  2864
sl@0
  2865
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2866
sl@0
  2867
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2868
sl@0
  2869
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2870
sl@0
  2871
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0112
sl@0
  2872
sl@0
  2873
END_TESTCASE                  SEC-CIT_PREQ1054_01-0112
sl@0
  2874
sl@0
  2875
sl@0
  2876
sl@0
  2877
sl@0
  2878
sl@0
  2879
START_TESTCASE                SEC-CIT_PREQ1054_01-0113
sl@0
  2880
sl@0
  2881
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0113
sl@0
  2882
sl@0
  2883
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2884
sl@0
  2885
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2886
sl@0
  2887
//! @SYMTestPriority          medium
sl@0
  2888
sl@0
  2889
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2890
sl@0
  2891
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2892
sl@0
  2893
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2894
sl@0
  2895
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0113
sl@0
  2896
sl@0
  2897
END_TESTCASE                  SEC-CIT_PREQ1054_01-0113
sl@0
  2898
sl@0
  2899
sl@0
  2900
sl@0
  2901
sl@0
  2902
sl@0
  2903
START_TESTCASE                SEC-CIT_PREQ1054_01-0114
sl@0
  2904
sl@0
  2905
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0114
sl@0
  2906
sl@0
  2907
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2908
sl@0
  2909
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2910
sl@0
  2911
//! @SYMTestPriority          medium
sl@0
  2912
sl@0
  2913
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2914
sl@0
  2915
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2916
sl@0
  2917
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2918
sl@0
  2919
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0114
sl@0
  2920
sl@0
  2921
END_TESTCASE                  SEC-CIT_PREQ1054_01-0114
sl@0
  2922
sl@0
  2923
sl@0
  2924
sl@0
  2925
sl@0
  2926
sl@0
  2927
START_TESTCASE                SEC-CIT_PREQ1054_01-0115
sl@0
  2928
sl@0
  2929
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0115
sl@0
  2930
sl@0
  2931
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2932
sl@0
  2933
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2934
sl@0
  2935
//! @SYMTestPriority          medium
sl@0
  2936
sl@0
  2937
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2938
sl@0
  2939
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2940
sl@0
  2941
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 20
sl@0
  2942
sl@0
  2943
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0115
sl@0
  2944
sl@0
  2945
END_TESTCASE                  SEC-CIT_PREQ1054_01-0115
sl@0
  2946
sl@0
  2947
sl@0
  2948
sl@0
  2949
sl@0
  2950
sl@0
  2951
START_TESTCASE                SEC-CIT_PREQ1054_01-0116
sl@0
  2952
sl@0
  2953
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0116
sl@0
  2954
sl@0
  2955
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2956
sl@0
  2957
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2958
sl@0
  2959
//! @SYMTestPriority          medium
sl@0
  2960
sl@0
  2961
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2962
sl@0
  2963
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2964
sl@0
  2965
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2966
sl@0
  2967
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0116
sl@0
  2968
sl@0
  2969
END_TESTCASE                  SEC-CIT_PREQ1054_01-0116
sl@0
  2970
sl@0
  2971
sl@0
  2972
sl@0
  2973
sl@0
  2974
sl@0
  2975
START_TESTCASE                SEC-CIT_PREQ1054_01-0117
sl@0
  2976
sl@0
  2977
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0117
sl@0
  2978
sl@0
  2979
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  2980
sl@0
  2981
//! @SYMREQ                   CIT_PREQ1054
sl@0
  2982
sl@0
  2983
//! @SYMTestPriority          medium
sl@0
  2984
sl@0
  2985
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  2986
sl@0
  2987
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  2988
sl@0
  2989
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  2990
sl@0
  2991
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0117
sl@0
  2992
sl@0
  2993
END_TESTCASE                  SEC-CIT_PREQ1054_01-0117
sl@0
  2994
sl@0
  2995
sl@0
  2996
sl@0
  2997
sl@0
  2998
sl@0
  2999
START_TESTCASE                SEC-CIT_PREQ1054_01-0118
sl@0
  3000
sl@0
  3001
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0118
sl@0
  3002
sl@0
  3003
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3004
sl@0
  3005
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3006
sl@0
  3007
//! @SYMTestPriority          medium
sl@0
  3008
sl@0
  3009
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3010
sl@0
  3011
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3012
sl@0
  3013
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  3014
sl@0
  3015
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0118
sl@0
  3016
sl@0
  3017
END_TESTCASE                  SEC-CIT_PREQ1054_01-0118
sl@0
  3018
sl@0
  3019
sl@0
  3020
sl@0
  3021
sl@0
  3022
sl@0
  3023
START_TESTCASE                SEC-CIT_PREQ1054_01-0119
sl@0
  3024
sl@0
  3025
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0119
sl@0
  3026
sl@0
  3027
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3028
sl@0
  3029
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3030
sl@0
  3031
//! @SYMTestPriority          medium
sl@0
  3032
sl@0
  3033
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3034
sl@0
  3035
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3036
sl@0
  3037
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  3038
sl@0
  3039
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0119
sl@0
  3040
sl@0
  3041
END_TESTCASE                  SEC-CIT_PREQ1054_01-0119
sl@0
  3042
sl@0
  3043
sl@0
  3044
sl@0
  3045
sl@0
  3046
sl@0
  3047
START_TESTCASE                SEC-CIT_PREQ1054_01-0120
sl@0
  3048
sl@0
  3049
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0120
sl@0
  3050
sl@0
  3051
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3052
sl@0
  3053
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3054
sl@0
  3055
//! @SYMTestPriority          medium
sl@0
  3056
sl@0
  3057
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3058
sl@0
  3059
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3060
sl@0
  3061
//! @SYMTestActions           1) PKCS#12 KDF, key len = 40, salt len = 25
sl@0
  3062
sl@0
  3063
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0120
sl@0
  3064
sl@0
  3065
END_TESTCASE                  SEC-CIT_PREQ1054_01-0120
sl@0
  3066
sl@0
  3067
sl@0
  3068
sl@0
  3069
sl@0
  3070
sl@0
  3071
START_TESTCASE                SEC-CIT_PREQ1054_01-0121
sl@0
  3072
sl@0
  3073
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0121
sl@0
  3074
sl@0
  3075
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3076
sl@0
  3077
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3078
sl@0
  3079
//! @SYMTestPriority          medium
sl@0
  3080
sl@0
  3081
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3082
sl@0
  3083
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3084
sl@0
  3085
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3086
sl@0
  3087
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0121
sl@0
  3088
sl@0
  3089
END_TESTCASE                  SEC-CIT_PREQ1054_01-0121
sl@0
  3090
sl@0
  3091
sl@0
  3092
sl@0
  3093
sl@0
  3094
sl@0
  3095
START_TESTCASE                SEC-CIT_PREQ1054_01-0122
sl@0
  3096
sl@0
  3097
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0122
sl@0
  3098
sl@0
  3099
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3100
sl@0
  3101
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3102
sl@0
  3103
//! @SYMTestPriority          medium
sl@0
  3104
sl@0
  3105
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3106
sl@0
  3107
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3108
sl@0
  3109
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3110
sl@0
  3111
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0122
sl@0
  3112
sl@0
  3113
END_TESTCASE                  SEC-CIT_PREQ1054_01-0122
sl@0
  3114
sl@0
  3115
sl@0
  3116
sl@0
  3117
sl@0
  3118
sl@0
  3119
START_TESTCASE                SEC-CIT_PREQ1054_01-0123
sl@0
  3120
sl@0
  3121
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0123
sl@0
  3122
sl@0
  3123
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3124
sl@0
  3125
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3126
sl@0
  3127
//! @SYMTestPriority          medium
sl@0
  3128
sl@0
  3129
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3130
sl@0
  3131
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3132
sl@0
  3133
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3134
sl@0
  3135
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0123
sl@0
  3136
sl@0
  3137
END_TESTCASE                  SEC-CIT_PREQ1054_01-0123
sl@0
  3138
sl@0
  3139
sl@0
  3140
sl@0
  3141
sl@0
  3142
sl@0
  3143
START_TESTCASE                SEC-CIT_PREQ1054_01-0124
sl@0
  3144
sl@0
  3145
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0124
sl@0
  3146
sl@0
  3147
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3148
sl@0
  3149
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3150
sl@0
  3151
//! @SYMTestPriority          medium
sl@0
  3152
sl@0
  3153
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3154
sl@0
  3155
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3156
sl@0
  3157
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3158
sl@0
  3159
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0124
sl@0
  3160
sl@0
  3161
END_TESTCASE                  SEC-CIT_PREQ1054_01-0124
sl@0
  3162
sl@0
  3163
sl@0
  3164
sl@0
  3165
sl@0
  3166
sl@0
  3167
START_TESTCASE                SEC-CIT_PREQ1054_01-0125
sl@0
  3168
sl@0
  3169
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0125
sl@0
  3170
sl@0
  3171
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3172
sl@0
  3173
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3174
sl@0
  3175
//! @SYMTestPriority          medium
sl@0
  3176
sl@0
  3177
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3178
sl@0
  3179
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3180
sl@0
  3181
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3182
sl@0
  3183
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0125
sl@0
  3184
sl@0
  3185
END_TESTCASE                  SEC-CIT_PREQ1054_01-0125
sl@0
  3186
sl@0
  3187
sl@0
  3188
sl@0
  3189
sl@0
  3190
sl@0
  3191
START_TESTCASE                SEC-CIT_PREQ1054_01-0126
sl@0
  3192
sl@0
  3193
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0126
sl@0
  3194
sl@0
  3195
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3196
sl@0
  3197
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3198
sl@0
  3199
//! @SYMTestPriority          medium
sl@0
  3200
sl@0
  3201
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3202
sl@0
  3203
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3204
sl@0
  3205
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3206
sl@0
  3207
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0126
sl@0
  3208
sl@0
  3209
END_TESTCASE                  SEC-CIT_PREQ1054_01-0126
sl@0
  3210
sl@0
  3211
sl@0
  3212
sl@0
  3213
sl@0
  3214
sl@0
  3215
START_TESTCASE                SEC-CIT_PREQ1054_01-0127
sl@0
  3216
sl@0
  3217
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0127
sl@0
  3218
sl@0
  3219
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3220
sl@0
  3221
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3222
sl@0
  3223
//! @SYMTestPriority          medium
sl@0
  3224
sl@0
  3225
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3226
sl@0
  3227
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3228
sl@0
  3229
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3230
sl@0
  3231
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0127
sl@0
  3232
sl@0
  3233
END_TESTCASE                  SEC-CIT_PREQ1054_01-0127
sl@0
  3234
sl@0
  3235
sl@0
  3236
sl@0
  3237
sl@0
  3238
sl@0
  3239
START_TESTCASE                SEC-CIT_PREQ1054_01-0128
sl@0
  3240
sl@0
  3241
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0128
sl@0
  3242
sl@0
  3243
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3244
sl@0
  3245
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3246
sl@0
  3247
//! @SYMTestPriority          medium
sl@0
  3248
sl@0
  3249
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3250
sl@0
  3251
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3252
sl@0
  3253
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3254
sl@0
  3255
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0128
sl@0
  3256
sl@0
  3257
END_TESTCASE                  SEC-CIT_PREQ1054_01-0128
sl@0
  3258
sl@0
  3259
sl@0
  3260
sl@0
  3261
sl@0
  3262
sl@0
  3263
START_TESTCASE                SEC-CIT_PREQ1054_01-0129
sl@0
  3264
sl@0
  3265
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0129
sl@0
  3266
sl@0
  3267
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3268
sl@0
  3269
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3270
sl@0
  3271
//! @SYMTestPriority          medium
sl@0
  3272
sl@0
  3273
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3274
sl@0
  3275
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3276
sl@0
  3277
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3278
sl@0
  3279
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0129
sl@0
  3280
sl@0
  3281
END_TESTCASE                  SEC-CIT_PREQ1054_01-0129
sl@0
  3282
sl@0
  3283
sl@0
  3284
sl@0
  3285
sl@0
  3286
sl@0
  3287
START_TESTCASE                SEC-CIT_PREQ1054_01-0130
sl@0
  3288
sl@0
  3289
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0130
sl@0
  3290
sl@0
  3291
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3292
sl@0
  3293
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3294
sl@0
  3295
//! @SYMTestPriority          medium
sl@0
  3296
sl@0
  3297
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3298
sl@0
  3299
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3300
sl@0
  3301
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3302
sl@0
  3303
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0130
sl@0
  3304
sl@0
  3305
END_TESTCASE                  SEC-CIT_PREQ1054_01-0130
sl@0
  3306
sl@0
  3307
sl@0
  3308
sl@0
  3309
sl@0
  3310
sl@0
  3311
START_TESTCASE                SEC-CIT_PREQ1054_01-0131
sl@0
  3312
sl@0
  3313
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0131
sl@0
  3314
sl@0
  3315
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3316
sl@0
  3317
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3318
sl@0
  3319
//! @SYMTestPriority          medium
sl@0
  3320
sl@0
  3321
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3322
sl@0
  3323
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3324
sl@0
  3325
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3326
sl@0
  3327
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0131
sl@0
  3328
sl@0
  3329
END_TESTCASE                  SEC-CIT_PREQ1054_01-0131
sl@0
  3330
sl@0
  3331
sl@0
  3332
sl@0
  3333
sl@0
  3334
sl@0
  3335
START_TESTCASE                SEC-CIT_PREQ1054_01-0132
sl@0
  3336
sl@0
  3337
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0132
sl@0
  3338
sl@0
  3339
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3340
sl@0
  3341
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3342
sl@0
  3343
//! @SYMTestPriority          medium
sl@0
  3344
sl@0
  3345
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3346
sl@0
  3347
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3348
sl@0
  3349
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3350
sl@0
  3351
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0132
sl@0
  3352
sl@0
  3353
END_TESTCASE                  SEC-CIT_PREQ1054_01-0132
sl@0
  3354
sl@0
  3355
sl@0
  3356
sl@0
  3357
sl@0
  3358
sl@0
  3359
START_TESTCASE                SEC-CIT_PREQ1054_01-0133
sl@0
  3360
sl@0
  3361
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0133
sl@0
  3362
sl@0
  3363
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3364
sl@0
  3365
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3366
sl@0
  3367
//! @SYMTestPriority          medium
sl@0
  3368
sl@0
  3369
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3370
sl@0
  3371
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3372
sl@0
  3373
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3374
sl@0
  3375
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0133
sl@0
  3376
sl@0
  3377
END_TESTCASE                  SEC-CIT_PREQ1054_01-0133
sl@0
  3378
sl@0
  3379
sl@0
  3380
sl@0
  3381
sl@0
  3382
sl@0
  3383
START_TESTCASE                SEC-CIT_PREQ1054_01-0134
sl@0
  3384
sl@0
  3385
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0134
sl@0
  3386
sl@0
  3387
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3388
sl@0
  3389
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3390
sl@0
  3391
//! @SYMTestPriority          medium
sl@0
  3392
sl@0
  3393
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3394
sl@0
  3395
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3396
sl@0
  3397
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3398
sl@0
  3399
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0134
sl@0
  3400
sl@0
  3401
END_TESTCASE                  SEC-CIT_PREQ1054_01-0134
sl@0
  3402
sl@0
  3403
sl@0
  3404
sl@0
  3405
sl@0
  3406
sl@0
  3407
START_TESTCASE                SEC-CIT_PREQ1054_01-0135
sl@0
  3408
sl@0
  3409
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0135
sl@0
  3410
sl@0
  3411
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3412
sl@0
  3413
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3414
sl@0
  3415
//! @SYMTestPriority          medium
sl@0
  3416
sl@0
  3417
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3418
sl@0
  3419
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3420
sl@0
  3421
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3422
sl@0
  3423
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0135
sl@0
  3424
sl@0
  3425
END_TESTCASE                  SEC-CIT_PREQ1054_01-0135
sl@0
  3426
sl@0
  3427
sl@0
  3428
sl@0
  3429
sl@0
  3430
sl@0
  3431
START_TESTCASE                SEC-CIT_PREQ1054_01-0136
sl@0
  3432
sl@0
  3433
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0136
sl@0
  3434
sl@0
  3435
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3436
sl@0
  3437
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3438
sl@0
  3439
//! @SYMTestPriority          medium
sl@0
  3440
sl@0
  3441
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3442
sl@0
  3443
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3444
sl@0
  3445
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3446
sl@0
  3447
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0136
sl@0
  3448
sl@0
  3449
END_TESTCASE                  SEC-CIT_PREQ1054_01-0136
sl@0
  3450
sl@0
  3451
sl@0
  3452
sl@0
  3453
sl@0
  3454
sl@0
  3455
START_TESTCASE                SEC-CIT_PREQ1054_01-0137
sl@0
  3456
sl@0
  3457
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0137
sl@0
  3458
sl@0
  3459
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3460
sl@0
  3461
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3462
sl@0
  3463
//! @SYMTestPriority          medium
sl@0
  3464
sl@0
  3465
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3466
sl@0
  3467
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3468
sl@0
  3469
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3470
sl@0
  3471
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0137
sl@0
  3472
sl@0
  3473
END_TESTCASE                  SEC-CIT_PREQ1054_01-0137
sl@0
  3474
sl@0
  3475
sl@0
  3476
sl@0
  3477
sl@0
  3478
sl@0
  3479
START_TESTCASE                SEC-CIT_PREQ1054_01-0138
sl@0
  3480
sl@0
  3481
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0138
sl@0
  3482
sl@0
  3483
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3484
sl@0
  3485
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3486
sl@0
  3487
//! @SYMTestPriority          medium
sl@0
  3488
sl@0
  3489
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3490
sl@0
  3491
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3492
sl@0
  3493
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3494
sl@0
  3495
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0138
sl@0
  3496
sl@0
  3497
END_TESTCASE                  SEC-CIT_PREQ1054_01-0138
sl@0
  3498
sl@0
  3499
sl@0
  3500
sl@0
  3501
sl@0
  3502
sl@0
  3503
START_TESTCASE                SEC-CIT_PREQ1054_01-0139
sl@0
  3504
sl@0
  3505
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0139
sl@0
  3506
sl@0
  3507
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3508
sl@0
  3509
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3510
sl@0
  3511
//! @SYMTestPriority          medium
sl@0
  3512
sl@0
  3513
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3514
sl@0
  3515
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3516
sl@0
  3517
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3518
sl@0
  3519
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0139
sl@0
  3520
sl@0
  3521
END_TESTCASE                  SEC-CIT_PREQ1054_01-0139
sl@0
  3522
sl@0
  3523
sl@0
  3524
sl@0
  3525
sl@0
  3526
sl@0
  3527
START_TESTCASE                SEC-CIT_PREQ1054_01-0140
sl@0
  3528
sl@0
  3529
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0140
sl@0
  3530
sl@0
  3531
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3532
sl@0
  3533
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3534
sl@0
  3535
//! @SYMTestPriority          medium
sl@0
  3536
sl@0
  3537
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3538
sl@0
  3539
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3540
sl@0
  3541
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3542
sl@0
  3543
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0140
sl@0
  3544
sl@0
  3545
END_TESTCASE                  SEC-CIT_PREQ1054_01-0140
sl@0
  3546
sl@0
  3547
sl@0
  3548
sl@0
  3549
sl@0
  3550
sl@0
  3551
START_TESTCASE                SEC-CIT_PREQ1054_01-0141
sl@0
  3552
sl@0
  3553
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0141
sl@0
  3554
sl@0
  3555
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3556
sl@0
  3557
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3558
sl@0
  3559
//! @SYMTestPriority          medium
sl@0
  3560
sl@0
  3561
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3562
sl@0
  3563
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3564
sl@0
  3565
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3566
sl@0
  3567
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0141
sl@0
  3568
sl@0
  3569
END_TESTCASE                  SEC-CIT_PREQ1054_01-0141
sl@0
  3570
sl@0
  3571
sl@0
  3572
sl@0
  3573
sl@0
  3574
sl@0
  3575
START_TESTCASE                SEC-CIT_PREQ1054_01-0142
sl@0
  3576
sl@0
  3577
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0142
sl@0
  3578
sl@0
  3579
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3580
sl@0
  3581
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3582
sl@0
  3583
//! @SYMTestPriority          medium
sl@0
  3584
sl@0
  3585
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3586
sl@0
  3587
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3588
sl@0
  3589
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3590
sl@0
  3591
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0142
sl@0
  3592
sl@0
  3593
END_TESTCASE                  SEC-CIT_PREQ1054_01-0142
sl@0
  3594
sl@0
  3595
sl@0
  3596
sl@0
  3597
sl@0
  3598
sl@0
  3599
START_TESTCASE                SEC-CIT_PREQ1054_01-0143
sl@0
  3600
sl@0
  3601
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0143
sl@0
  3602
sl@0
  3603
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3604
sl@0
  3605
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3606
sl@0
  3607
//! @SYMTestPriority          medium
sl@0
  3608
sl@0
  3609
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3610
sl@0
  3611
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3612
sl@0
  3613
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3614
sl@0
  3615
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0143
sl@0
  3616
sl@0
  3617
END_TESTCASE                  SEC-CIT_PREQ1054_01-0143
sl@0
  3618
sl@0
  3619
sl@0
  3620
sl@0
  3621
sl@0
  3622
sl@0
  3623
START_TESTCASE                SEC-CIT_PREQ1054_01-0144
sl@0
  3624
sl@0
  3625
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0144
sl@0
  3626
sl@0
  3627
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3628
sl@0
  3629
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3630
sl@0
  3631
//! @SYMTestPriority          medium
sl@0
  3632
sl@0
  3633
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3634
sl@0
  3635
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3636
sl@0
  3637
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3638
sl@0
  3639
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0144
sl@0
  3640
sl@0
  3641
END_TESTCASE                  SEC-CIT_PREQ1054_01-0144
sl@0
  3642
sl@0
  3643
sl@0
  3644
sl@0
  3645
sl@0
  3646
sl@0
  3647
START_TESTCASE                SEC-CIT_PREQ1054_01-0145
sl@0
  3648
sl@0
  3649
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0145
sl@0
  3650
sl@0
  3651
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3652
sl@0
  3653
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3654
sl@0
  3655
//! @SYMTestPriority          medium
sl@0
  3656
sl@0
  3657
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3658
sl@0
  3659
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3660
sl@0
  3661
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3662
sl@0
  3663
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0145
sl@0
  3664
sl@0
  3665
END_TESTCASE                  SEC-CIT_PREQ1054_01-0145
sl@0
  3666
sl@0
  3667
sl@0
  3668
sl@0
  3669
sl@0
  3670
sl@0
  3671
START_TESTCASE                SEC-CIT_PREQ1054_01-0146
sl@0
  3672
sl@0
  3673
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0146
sl@0
  3674
sl@0
  3675
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3676
sl@0
  3677
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3678
sl@0
  3679
//! @SYMTestPriority          medium
sl@0
  3680
sl@0
  3681
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3682
sl@0
  3683
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3684
sl@0
  3685
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3686
sl@0
  3687
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0146
sl@0
  3688
sl@0
  3689
END_TESTCASE                  SEC-CIT_PREQ1054_01-0146
sl@0
  3690
sl@0
  3691
sl@0
  3692
sl@0
  3693
sl@0
  3694
sl@0
  3695
START_TESTCASE                SEC-CIT_PREQ1054_01-0147
sl@0
  3696
sl@0
  3697
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0147
sl@0
  3698
sl@0
  3699
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3700
sl@0
  3701
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3702
sl@0
  3703
//! @SYMTestPriority          medium
sl@0
  3704
sl@0
  3705
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3706
sl@0
  3707
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3708
sl@0
  3709
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3710
sl@0
  3711
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0147
sl@0
  3712
sl@0
  3713
END_TESTCASE                  SEC-CIT_PREQ1054_01-0147
sl@0
  3714
sl@0
  3715
sl@0
  3716
sl@0
  3717
sl@0
  3718
sl@0
  3719
START_TESTCASE                SEC-CIT_PREQ1054_01-0148
sl@0
  3720
sl@0
  3721
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0148
sl@0
  3722
sl@0
  3723
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3724
sl@0
  3725
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3726
sl@0
  3727
//! @SYMTestPriority          medium
sl@0
  3728
sl@0
  3729
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3730
sl@0
  3731
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3732
sl@0
  3733
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3734
sl@0
  3735
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0148
sl@0
  3736
sl@0
  3737
END_TESTCASE                  SEC-CIT_PREQ1054_01-0148
sl@0
  3738
sl@0
  3739
sl@0
  3740
sl@0
  3741
sl@0
  3742
sl@0
  3743
START_TESTCASE                SEC-CIT_PREQ1054_01-0149
sl@0
  3744
sl@0
  3745
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0149
sl@0
  3746
sl@0
  3747
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3748
sl@0
  3749
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3750
sl@0
  3751
//! @SYMTestPriority          medium
sl@0
  3752
sl@0
  3753
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3754
sl@0
  3755
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3756
sl@0
  3757
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3758
sl@0
  3759
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0149
sl@0
  3760
sl@0
  3761
END_TESTCASE                  SEC-CIT_PREQ1054_01-0149
sl@0
  3762
sl@0
  3763
sl@0
  3764
sl@0
  3765
sl@0
  3766
sl@0
  3767
START_TESTCASE                SEC-CIT_PREQ1054_01-0150
sl@0
  3768
sl@0
  3769
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0150
sl@0
  3770
sl@0
  3771
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3772
sl@0
  3773
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3774
sl@0
  3775
//! @SYMTestPriority          medium
sl@0
  3776
sl@0
  3777
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3778
sl@0
  3779
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3780
sl@0
  3781
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  3782
sl@0
  3783
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0150
sl@0
  3784
sl@0
  3785
END_TESTCASE                  SEC-CIT_PREQ1054_01-0150
sl@0
  3786
sl@0
  3787
sl@0
  3788
sl@0
  3789
sl@0
  3790
sl@0
  3791
START_TESTCASE                SEC-CIT_PREQ1054_01-0151
sl@0
  3792
sl@0
  3793
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0151
sl@0
  3794
sl@0
  3795
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3796
sl@0
  3797
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3798
sl@0
  3799
//! @SYMTestPriority          medium
sl@0
  3800
sl@0
  3801
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3802
sl@0
  3803
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3804
sl@0
  3805
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3806
sl@0
  3807
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0151
sl@0
  3808
sl@0
  3809
END_TESTCASE                  SEC-CIT_PREQ1054_01-0151
sl@0
  3810
sl@0
  3811
sl@0
  3812
sl@0
  3813
sl@0
  3814
sl@0
  3815
START_TESTCASE                SEC-CIT_PREQ1054_01-0152
sl@0
  3816
sl@0
  3817
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0152
sl@0
  3818
sl@0
  3819
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3820
sl@0
  3821
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3822
sl@0
  3823
//! @SYMTestPriority          medium
sl@0
  3824
sl@0
  3825
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3826
sl@0
  3827
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3828
sl@0
  3829
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3830
sl@0
  3831
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0152
sl@0
  3832
sl@0
  3833
END_TESTCASE                  SEC-CIT_PREQ1054_01-0152
sl@0
  3834
sl@0
  3835
sl@0
  3836
sl@0
  3837
sl@0
  3838
sl@0
  3839
START_TESTCASE                SEC-CIT_PREQ1054_01-0153
sl@0
  3840
sl@0
  3841
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0153
sl@0
  3842
sl@0
  3843
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3844
sl@0
  3845
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3846
sl@0
  3847
//! @SYMTestPriority          medium
sl@0
  3848
sl@0
  3849
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3850
sl@0
  3851
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3852
sl@0
  3853
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3854
sl@0
  3855
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0153
sl@0
  3856
sl@0
  3857
END_TESTCASE                  SEC-CIT_PREQ1054_01-0153
sl@0
  3858
sl@0
  3859
sl@0
  3860
sl@0
  3861
sl@0
  3862
sl@0
  3863
START_TESTCASE                SEC-CIT_PREQ1054_01-0154
sl@0
  3864
sl@0
  3865
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0154
sl@0
  3866
sl@0
  3867
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3868
sl@0
  3869
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3870
sl@0
  3871
//! @SYMTestPriority          medium
sl@0
  3872
sl@0
  3873
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3874
sl@0
  3875
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3876
sl@0
  3877
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3878
sl@0
  3879
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0154
sl@0
  3880
sl@0
  3881
END_TESTCASE                  SEC-CIT_PREQ1054_01-0154
sl@0
  3882
sl@0
  3883
sl@0
  3884
sl@0
  3885
sl@0
  3886
sl@0
  3887
START_TESTCASE                SEC-CIT_PREQ1054_01-0155
sl@0
  3888
sl@0
  3889
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0155
sl@0
  3890
sl@0
  3891
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3892
sl@0
  3893
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3894
sl@0
  3895
//! @SYMTestPriority          medium
sl@0
  3896
sl@0
  3897
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3898
sl@0
  3899
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3900
sl@0
  3901
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  3902
sl@0
  3903
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0155
sl@0
  3904
sl@0
  3905
END_TESTCASE                  SEC-CIT_PREQ1054_01-0155
sl@0
  3906
sl@0
  3907
sl@0
  3908
sl@0
  3909
sl@0
  3910
sl@0
  3911
START_TESTCASE                SEC-CIT_PREQ1054_01-0156
sl@0
  3912
sl@0
  3913
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0156
sl@0
  3914
sl@0
  3915
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3916
sl@0
  3917
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3918
sl@0
  3919
//! @SYMTestPriority          medium
sl@0
  3920
sl@0
  3921
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3922
sl@0
  3923
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3924
sl@0
  3925
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3926
sl@0
  3927
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0156
sl@0
  3928
sl@0
  3929
END_TESTCASE                  SEC-CIT_PREQ1054_01-0156
sl@0
  3930
sl@0
  3931
sl@0
  3932
sl@0
  3933
sl@0
  3934
sl@0
  3935
START_TESTCASE                SEC-CIT_PREQ1054_01-0157
sl@0
  3936
sl@0
  3937
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0157
sl@0
  3938
sl@0
  3939
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3940
sl@0
  3941
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3942
sl@0
  3943
//! @SYMTestPriority          medium
sl@0
  3944
sl@0
  3945
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3946
sl@0
  3947
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3948
sl@0
  3949
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3950
sl@0
  3951
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0157
sl@0
  3952
sl@0
  3953
END_TESTCASE                  SEC-CIT_PREQ1054_01-0157
sl@0
  3954
sl@0
  3955
sl@0
  3956
sl@0
  3957
sl@0
  3958
sl@0
  3959
START_TESTCASE                SEC-CIT_PREQ1054_01-0158
sl@0
  3960
sl@0
  3961
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0158
sl@0
  3962
sl@0
  3963
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3964
sl@0
  3965
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3966
sl@0
  3967
//! @SYMTestPriority          medium
sl@0
  3968
sl@0
  3969
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3970
sl@0
  3971
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3972
sl@0
  3973
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3974
sl@0
  3975
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0158
sl@0
  3976
sl@0
  3977
END_TESTCASE                  SEC-CIT_PREQ1054_01-0158
sl@0
  3978
sl@0
  3979
sl@0
  3980
sl@0
  3981
sl@0
  3982
sl@0
  3983
START_TESTCASE                SEC-CIT_PREQ1054_01-0159
sl@0
  3984
sl@0
  3985
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0159
sl@0
  3986
sl@0
  3987
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  3988
sl@0
  3989
//! @SYMREQ                   CIT_PREQ1054
sl@0
  3990
sl@0
  3991
//! @SYMTestPriority          medium
sl@0
  3992
sl@0
  3993
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  3994
sl@0
  3995
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  3996
sl@0
  3997
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  3998
sl@0
  3999
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0159
sl@0
  4000
sl@0
  4001
END_TESTCASE                  SEC-CIT_PREQ1054_01-0159
sl@0
  4002
sl@0
  4003
sl@0
  4004
sl@0
  4005
sl@0
  4006
sl@0
  4007
START_TESTCASE                SEC-CIT_PREQ1054_01-0160
sl@0
  4008
sl@0
  4009
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0160
sl@0
  4010
sl@0
  4011
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4012
sl@0
  4013
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4014
sl@0
  4015
//! @SYMTestPriority          medium
sl@0
  4016
sl@0
  4017
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4018
sl@0
  4019
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4020
sl@0
  4021
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4022
sl@0
  4023
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0160
sl@0
  4024
sl@0
  4025
END_TESTCASE                  SEC-CIT_PREQ1054_01-0160
sl@0
  4026
sl@0
  4027
sl@0
  4028
sl@0
  4029
sl@0
  4030
sl@0
  4031
START_TESTCASE                SEC-CIT_PREQ1054_01-0161
sl@0
  4032
sl@0
  4033
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0161
sl@0
  4034
sl@0
  4035
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4036
sl@0
  4037
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4038
sl@0
  4039
//! @SYMTestPriority          medium
sl@0
  4040
sl@0
  4041
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4042
sl@0
  4043
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4044
sl@0
  4045
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4046
sl@0
  4047
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0161
sl@0
  4048
sl@0
  4049
END_TESTCASE                  SEC-CIT_PREQ1054_01-0161
sl@0
  4050
sl@0
  4051
sl@0
  4052
sl@0
  4053
sl@0
  4054
sl@0
  4055
START_TESTCASE                SEC-CIT_PREQ1054_01-0162
sl@0
  4056
sl@0
  4057
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0162
sl@0
  4058
sl@0
  4059
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4060
sl@0
  4061
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4062
sl@0
  4063
//! @SYMTestPriority          medium
sl@0
  4064
sl@0
  4065
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4066
sl@0
  4067
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4068
sl@0
  4069
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4070
sl@0
  4071
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0162
sl@0
  4072
sl@0
  4073
END_TESTCASE                  SEC-CIT_PREQ1054_01-0162
sl@0
  4074
sl@0
  4075
sl@0
  4076
sl@0
  4077
sl@0
  4078
sl@0
  4079
START_TESTCASE                SEC-CIT_PREQ1054_01-0163
sl@0
  4080
sl@0
  4081
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0163
sl@0
  4082
sl@0
  4083
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4084
sl@0
  4085
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4086
sl@0
  4087
//! @SYMTestPriority          medium
sl@0
  4088
sl@0
  4089
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4090
sl@0
  4091
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4092
sl@0
  4093
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4094
sl@0
  4095
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0163
sl@0
  4096
sl@0
  4097
END_TESTCASE                  SEC-CIT_PREQ1054_01-0163
sl@0
  4098
sl@0
  4099
sl@0
  4100
sl@0
  4101
sl@0
  4102
sl@0
  4103
START_TESTCASE                SEC-CIT_PREQ1054_01-0164
sl@0
  4104
sl@0
  4105
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0164
sl@0
  4106
sl@0
  4107
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4108
sl@0
  4109
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4110
sl@0
  4111
//! @SYMTestPriority          medium
sl@0
  4112
sl@0
  4113
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4114
sl@0
  4115
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4116
sl@0
  4117
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4118
sl@0
  4119
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0164
sl@0
  4120
sl@0
  4121
END_TESTCASE                  SEC-CIT_PREQ1054_01-0164
sl@0
  4122
sl@0
  4123
sl@0
  4124
sl@0
  4125
sl@0
  4126
sl@0
  4127
START_TESTCASE                SEC-CIT_PREQ1054_01-0165
sl@0
  4128
sl@0
  4129
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0165
sl@0
  4130
sl@0
  4131
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4132
sl@0
  4133
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4134
sl@0
  4135
//! @SYMTestPriority          medium
sl@0
  4136
sl@0
  4137
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4138
sl@0
  4139
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4140
sl@0
  4141
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4142
sl@0
  4143
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0165
sl@0
  4144
sl@0
  4145
END_TESTCASE                  SEC-CIT_PREQ1054_01-0165
sl@0
  4146
sl@0
  4147
sl@0
  4148
sl@0
  4149
sl@0
  4150
sl@0
  4151
START_TESTCASE                SEC-CIT_PREQ1054_01-0166
sl@0
  4152
sl@0
  4153
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0166
sl@0
  4154
sl@0
  4155
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4156
sl@0
  4157
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4158
sl@0
  4159
//! @SYMTestPriority          medium
sl@0
  4160
sl@0
  4161
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4162
sl@0
  4163
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4164
sl@0
  4165
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4166
sl@0
  4167
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0166
sl@0
  4168
sl@0
  4169
END_TESTCASE                  SEC-CIT_PREQ1054_01-0166
sl@0
  4170
sl@0
  4171
sl@0
  4172
sl@0
  4173
sl@0
  4174
sl@0
  4175
START_TESTCASE                SEC-CIT_PREQ1054_01-0167
sl@0
  4176
sl@0
  4177
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0167
sl@0
  4178
sl@0
  4179
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4180
sl@0
  4181
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4182
sl@0
  4183
//! @SYMTestPriority          medium
sl@0
  4184
sl@0
  4185
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4186
sl@0
  4187
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4188
sl@0
  4189
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4190
sl@0
  4191
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0167
sl@0
  4192
sl@0
  4193
END_TESTCASE                  SEC-CIT_PREQ1054_01-0167
sl@0
  4194
sl@0
  4195
sl@0
  4196
sl@0
  4197
sl@0
  4198
sl@0
  4199
START_TESTCASE                SEC-CIT_PREQ1054_01-0168
sl@0
  4200
sl@0
  4201
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0168
sl@0
  4202
sl@0
  4203
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4204
sl@0
  4205
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4206
sl@0
  4207
//! @SYMTestPriority          medium
sl@0
  4208
sl@0
  4209
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4210
sl@0
  4211
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4212
sl@0
  4213
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4214
sl@0
  4215
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0168
sl@0
  4216
sl@0
  4217
END_TESTCASE                  SEC-CIT_PREQ1054_01-0168
sl@0
  4218
sl@0
  4219
sl@0
  4220
sl@0
  4221
sl@0
  4222
sl@0
  4223
START_TESTCASE                SEC-CIT_PREQ1054_01-0169
sl@0
  4224
sl@0
  4225
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0169
sl@0
  4226
sl@0
  4227
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4228
sl@0
  4229
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4230
sl@0
  4231
//! @SYMTestPriority          medium
sl@0
  4232
sl@0
  4233
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4234
sl@0
  4235
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4236
sl@0
  4237
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4238
sl@0
  4239
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0169
sl@0
  4240
sl@0
  4241
END_TESTCASE                  SEC-CIT_PREQ1054_01-0169
sl@0
  4242
sl@0
  4243
sl@0
  4244
sl@0
  4245
sl@0
  4246
sl@0
  4247
START_TESTCASE                SEC-CIT_PREQ1054_01-0170
sl@0
  4248
sl@0
  4249
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0170
sl@0
  4250
sl@0
  4251
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4252
sl@0
  4253
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4254
sl@0
  4255
//! @SYMTestPriority          medium
sl@0
  4256
sl@0
  4257
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4258
sl@0
  4259
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4260
sl@0
  4261
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4262
sl@0
  4263
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0170
sl@0
  4264
sl@0
  4265
END_TESTCASE                  SEC-CIT_PREQ1054_01-0170
sl@0
  4266
sl@0
  4267
sl@0
  4268
sl@0
  4269
sl@0
  4270
sl@0
  4271
START_TESTCASE                SEC-CIT_PREQ1054_01-0171
sl@0
  4272
sl@0
  4273
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0171
sl@0
  4274
sl@0
  4275
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4276
sl@0
  4277
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4278
sl@0
  4279
//! @SYMTestPriority          medium
sl@0
  4280
sl@0
  4281
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4282
sl@0
  4283
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4284
sl@0
  4285
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4286
sl@0
  4287
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0171
sl@0
  4288
sl@0
  4289
END_TESTCASE                  SEC-CIT_PREQ1054_01-0171
sl@0
  4290
sl@0
  4291
sl@0
  4292
sl@0
  4293
sl@0
  4294
sl@0
  4295
START_TESTCASE                SEC-CIT_PREQ1054_01-0172
sl@0
  4296
sl@0
  4297
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0172
sl@0
  4298
sl@0
  4299
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4300
sl@0
  4301
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4302
sl@0
  4303
//! @SYMTestPriority          medium
sl@0
  4304
sl@0
  4305
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4306
sl@0
  4307
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4308
sl@0
  4309
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4310
sl@0
  4311
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0172
sl@0
  4312
sl@0
  4313
END_TESTCASE                  SEC-CIT_PREQ1054_01-0172
sl@0
  4314
sl@0
  4315
sl@0
  4316
sl@0
  4317
sl@0
  4318
sl@0
  4319
START_TESTCASE                SEC-CIT_PREQ1054_01-0173
sl@0
  4320
sl@0
  4321
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0173
sl@0
  4322
sl@0
  4323
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4324
sl@0
  4325
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4326
sl@0
  4327
//! @SYMTestPriority          medium
sl@0
  4328
sl@0
  4329
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4330
sl@0
  4331
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4332
sl@0
  4333
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4334
sl@0
  4335
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0173
sl@0
  4336
sl@0
  4337
END_TESTCASE                  SEC-CIT_PREQ1054_01-0173
sl@0
  4338
sl@0
  4339
sl@0
  4340
sl@0
  4341
sl@0
  4342
sl@0
  4343
START_TESTCASE                SEC-CIT_PREQ1054_01-0174
sl@0
  4344
sl@0
  4345
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0174
sl@0
  4346
sl@0
  4347
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4348
sl@0
  4349
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4350
sl@0
  4351
//! @SYMTestPriority          medium
sl@0
  4352
sl@0
  4353
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4354
sl@0
  4355
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4356
sl@0
  4357
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4358
sl@0
  4359
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0174
sl@0
  4360
sl@0
  4361
END_TESTCASE                  SEC-CIT_PREQ1054_01-0174
sl@0
  4362
sl@0
  4363
sl@0
  4364
sl@0
  4365
sl@0
  4366
sl@0
  4367
START_TESTCASE                SEC-CIT_PREQ1054_01-0175
sl@0
  4368
sl@0
  4369
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0175
sl@0
  4370
sl@0
  4371
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4372
sl@0
  4373
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4374
sl@0
  4375
//! @SYMTestPriority          medium
sl@0
  4376
sl@0
  4377
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4378
sl@0
  4379
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4380
sl@0
  4381
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4382
sl@0
  4383
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0175
sl@0
  4384
sl@0
  4385
END_TESTCASE                  SEC-CIT_PREQ1054_01-0175
sl@0
  4386
sl@0
  4387
sl@0
  4388
sl@0
  4389
sl@0
  4390
sl@0
  4391
START_TESTCASE                SEC-CIT_PREQ1054_01-0176
sl@0
  4392
sl@0
  4393
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0176
sl@0
  4394
sl@0
  4395
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4396
sl@0
  4397
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4398
sl@0
  4399
//! @SYMTestPriority          medium
sl@0
  4400
sl@0
  4401
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4402
sl@0
  4403
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4404
sl@0
  4405
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4406
sl@0
  4407
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0176
sl@0
  4408
sl@0
  4409
END_TESTCASE                  SEC-CIT_PREQ1054_01-0176
sl@0
  4410
sl@0
  4411
sl@0
  4412
sl@0
  4413
sl@0
  4414
sl@0
  4415
START_TESTCASE                SEC-CIT_PREQ1054_01-0177
sl@0
  4416
sl@0
  4417
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0177
sl@0
  4418
sl@0
  4419
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4420
sl@0
  4421
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4422
sl@0
  4423
//! @SYMTestPriority          medium
sl@0
  4424
sl@0
  4425
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4426
sl@0
  4427
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4428
sl@0
  4429
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4430
sl@0
  4431
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0177
sl@0
  4432
sl@0
  4433
END_TESTCASE                  SEC-CIT_PREQ1054_01-0177
sl@0
  4434
sl@0
  4435
sl@0
  4436
sl@0
  4437
sl@0
  4438
sl@0
  4439
START_TESTCASE                SEC-CIT_PREQ1054_01-0178
sl@0
  4440
sl@0
  4441
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0178
sl@0
  4442
sl@0
  4443
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4444
sl@0
  4445
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4446
sl@0
  4447
//! @SYMTestPriority          medium
sl@0
  4448
sl@0
  4449
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4450
sl@0
  4451
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4452
sl@0
  4453
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4454
sl@0
  4455
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0178
sl@0
  4456
sl@0
  4457
END_TESTCASE                  SEC-CIT_PREQ1054_01-0178
sl@0
  4458
sl@0
  4459
sl@0
  4460
sl@0
  4461
sl@0
  4462
sl@0
  4463
START_TESTCASE                SEC-CIT_PREQ1054_01-0179
sl@0
  4464
sl@0
  4465
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0179
sl@0
  4466
sl@0
  4467
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4468
sl@0
  4469
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4470
sl@0
  4471
//! @SYMTestPriority          medium
sl@0
  4472
sl@0
  4473
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4474
sl@0
  4475
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4476
sl@0
  4477
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4478
sl@0
  4479
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0179
sl@0
  4480
sl@0
  4481
END_TESTCASE                  SEC-CIT_PREQ1054_01-0179
sl@0
  4482
sl@0
  4483
sl@0
  4484
sl@0
  4485
sl@0
  4486
sl@0
  4487
START_TESTCASE                SEC-CIT_PREQ1054_01-0180
sl@0
  4488
sl@0
  4489
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0180
sl@0
  4490
sl@0
  4491
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4492
sl@0
  4493
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4494
sl@0
  4495
//! @SYMTestPriority          medium
sl@0
  4496
sl@0
  4497
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4498
sl@0
  4499
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4500
sl@0
  4501
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4502
sl@0
  4503
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0180
sl@0
  4504
sl@0
  4505
END_TESTCASE                  SEC-CIT_PREQ1054_01-0180
sl@0
  4506
sl@0
  4507
sl@0
  4508
sl@0
  4509
sl@0
  4510
sl@0
  4511
START_TESTCASE                SEC-CIT_PREQ1054_01-0181
sl@0
  4512
sl@0
  4513
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0181
sl@0
  4514
sl@0
  4515
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4516
sl@0
  4517
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4518
sl@0
  4519
//! @SYMTestPriority          medium
sl@0
  4520
sl@0
  4521
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4522
sl@0
  4523
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4524
sl@0
  4525
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4526
sl@0
  4527
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0181
sl@0
  4528
sl@0
  4529
END_TESTCASE                  SEC-CIT_PREQ1054_01-0181
sl@0
  4530
sl@0
  4531
sl@0
  4532
sl@0
  4533
sl@0
  4534
sl@0
  4535
START_TESTCASE                SEC-CIT_PREQ1054_01-0182
sl@0
  4536
sl@0
  4537
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0182
sl@0
  4538
sl@0
  4539
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4540
sl@0
  4541
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4542
sl@0
  4543
//! @SYMTestPriority          medium
sl@0
  4544
sl@0
  4545
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4546
sl@0
  4547
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4548
sl@0
  4549
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4550
sl@0
  4551
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0182
sl@0
  4552
sl@0
  4553
END_TESTCASE                  SEC-CIT_PREQ1054_01-0182
sl@0
  4554
sl@0
  4555
sl@0
  4556
sl@0
  4557
sl@0
  4558
sl@0
  4559
START_TESTCASE                SEC-CIT_PREQ1054_01-0183
sl@0
  4560
sl@0
  4561
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0183
sl@0
  4562
sl@0
  4563
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4564
sl@0
  4565
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4566
sl@0
  4567
//! @SYMTestPriority          medium
sl@0
  4568
sl@0
  4569
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4570
sl@0
  4571
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4572
sl@0
  4573
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4574
sl@0
  4575
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0183
sl@0
  4576
sl@0
  4577
END_TESTCASE                  SEC-CIT_PREQ1054_01-0183
sl@0
  4578
sl@0
  4579
sl@0
  4580
sl@0
  4581
sl@0
  4582
sl@0
  4583
START_TESTCASE                SEC-CIT_PREQ1054_01-0184
sl@0
  4584
sl@0
  4585
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0184
sl@0
  4586
sl@0
  4587
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4588
sl@0
  4589
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4590
sl@0
  4591
//! @SYMTestPriority          medium
sl@0
  4592
sl@0
  4593
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4594
sl@0
  4595
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4596
sl@0
  4597
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4598
sl@0
  4599
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0184
sl@0
  4600
sl@0
  4601
END_TESTCASE                  SEC-CIT_PREQ1054_01-0184
sl@0
  4602
sl@0
  4603
sl@0
  4604
sl@0
  4605
sl@0
  4606
sl@0
  4607
START_TESTCASE                SEC-CIT_PREQ1054_01-0185
sl@0
  4608
sl@0
  4609
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0185
sl@0
  4610
sl@0
  4611
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4612
sl@0
  4613
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4614
sl@0
  4615
//! @SYMTestPriority          medium
sl@0
  4616
sl@0
  4617
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4618
sl@0
  4619
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4620
sl@0
  4621
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4622
sl@0
  4623
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0185
sl@0
  4624
sl@0
  4625
END_TESTCASE                  SEC-CIT_PREQ1054_01-0185
sl@0
  4626
sl@0
  4627
sl@0
  4628
sl@0
  4629
sl@0
  4630
sl@0
  4631
START_TESTCASE                SEC-CIT_PREQ1054_01-0186
sl@0
  4632
sl@0
  4633
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0186
sl@0
  4634
sl@0
  4635
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4636
sl@0
  4637
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4638
sl@0
  4639
//! @SYMTestPriority          medium
sl@0
  4640
sl@0
  4641
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4642
sl@0
  4643
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4644
sl@0
  4645
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4646
sl@0
  4647
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0186
sl@0
  4648
sl@0
  4649
END_TESTCASE                  SEC-CIT_PREQ1054_01-0186
sl@0
  4650
sl@0
  4651
sl@0
  4652
sl@0
  4653
sl@0
  4654
sl@0
  4655
START_TESTCASE                SEC-CIT_PREQ1054_01-0187
sl@0
  4656
sl@0
  4657
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0187
sl@0
  4658
sl@0
  4659
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4660
sl@0
  4661
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4662
sl@0
  4663
//! @SYMTestPriority          medium
sl@0
  4664
sl@0
  4665
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4666
sl@0
  4667
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4668
sl@0
  4669
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4670
sl@0
  4671
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0187
sl@0
  4672
sl@0
  4673
END_TESTCASE                  SEC-CIT_PREQ1054_01-0187
sl@0
  4674
sl@0
  4675
sl@0
  4676
sl@0
  4677
sl@0
  4678
sl@0
  4679
START_TESTCASE                SEC-CIT_PREQ1054_01-0188
sl@0
  4680
sl@0
  4681
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0188
sl@0
  4682
sl@0
  4683
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4684
sl@0
  4685
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4686
sl@0
  4687
//! @SYMTestPriority          medium
sl@0
  4688
sl@0
  4689
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4690
sl@0
  4691
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4692
sl@0
  4693
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4694
sl@0
  4695
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0188
sl@0
  4696
sl@0
  4697
END_TESTCASE                  SEC-CIT_PREQ1054_01-0188
sl@0
  4698
sl@0
  4699
sl@0
  4700
sl@0
  4701
sl@0
  4702
sl@0
  4703
START_TESTCASE                SEC-CIT_PREQ1054_01-0189
sl@0
  4704
sl@0
  4705
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0189
sl@0
  4706
sl@0
  4707
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4708
sl@0
  4709
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4710
sl@0
  4711
//! @SYMTestPriority          medium
sl@0
  4712
sl@0
  4713
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4714
sl@0
  4715
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4716
sl@0
  4717
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4718
sl@0
  4719
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0189
sl@0
  4720
sl@0
  4721
END_TESTCASE                  SEC-CIT_PREQ1054_01-0189
sl@0
  4722
sl@0
  4723
sl@0
  4724
sl@0
  4725
sl@0
  4726
sl@0
  4727
START_TESTCASE                SEC-CIT_PREQ1054_01-0190
sl@0
  4728
sl@0
  4729
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0190
sl@0
  4730
sl@0
  4731
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4732
sl@0
  4733
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4734
sl@0
  4735
//! @SYMTestPriority          medium
sl@0
  4736
sl@0
  4737
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4738
sl@0
  4739
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4740
sl@0
  4741
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  4742
sl@0
  4743
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0190
sl@0
  4744
sl@0
  4745
END_TESTCASE                  SEC-CIT_PREQ1054_01-0190
sl@0
  4746
sl@0
  4747
sl@0
  4748
sl@0
  4749
sl@0
  4750
sl@0
  4751
START_TESTCASE                SEC-CIT_PREQ1054_01-0191
sl@0
  4752
sl@0
  4753
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0191
sl@0
  4754
sl@0
  4755
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4756
sl@0
  4757
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4758
sl@0
  4759
//! @SYMTestPriority          medium
sl@0
  4760
sl@0
  4761
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4762
sl@0
  4763
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4764
sl@0
  4765
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4766
sl@0
  4767
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0191
sl@0
  4768
sl@0
  4769
END_TESTCASE                  SEC-CIT_PREQ1054_01-0191
sl@0
  4770
sl@0
  4771
sl@0
  4772
sl@0
  4773
sl@0
  4774
sl@0
  4775
START_TESTCASE                SEC-CIT_PREQ1054_01-0192
sl@0
  4776
sl@0
  4777
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0192
sl@0
  4778
sl@0
  4779
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4780
sl@0
  4781
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4782
sl@0
  4783
//! @SYMTestPriority          medium
sl@0
  4784
sl@0
  4785
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4786
sl@0
  4787
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4788
sl@0
  4789
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4790
sl@0
  4791
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0192
sl@0
  4792
sl@0
  4793
END_TESTCASE                  SEC-CIT_PREQ1054_01-0192
sl@0
  4794
sl@0
  4795
sl@0
  4796
sl@0
  4797
sl@0
  4798
sl@0
  4799
START_TESTCASE                SEC-CIT_PREQ1054_01-0193
sl@0
  4800
sl@0
  4801
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0193
sl@0
  4802
sl@0
  4803
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4804
sl@0
  4805
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4806
sl@0
  4807
//! @SYMTestPriority          medium
sl@0
  4808
sl@0
  4809
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4810
sl@0
  4811
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4812
sl@0
  4813
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4814
sl@0
  4815
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0193
sl@0
  4816
sl@0
  4817
END_TESTCASE                  SEC-CIT_PREQ1054_01-0193
sl@0
  4818
sl@0
  4819
sl@0
  4820
sl@0
  4821
sl@0
  4822
sl@0
  4823
START_TESTCASE                SEC-CIT_PREQ1054_01-0194
sl@0
  4824
sl@0
  4825
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0194
sl@0
  4826
sl@0
  4827
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4828
sl@0
  4829
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4830
sl@0
  4831
//! @SYMTestPriority          medium
sl@0
  4832
sl@0
  4833
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4834
sl@0
  4835
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4836
sl@0
  4837
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4838
sl@0
  4839
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0194
sl@0
  4840
sl@0
  4841
END_TESTCASE                  SEC-CIT_PREQ1054_01-0194
sl@0
  4842
sl@0
  4843
sl@0
  4844
sl@0
  4845
sl@0
  4846
sl@0
  4847
START_TESTCASE                SEC-CIT_PREQ1054_01-0195
sl@0
  4848
sl@0
  4849
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0195
sl@0
  4850
sl@0
  4851
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4852
sl@0
  4853
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4854
sl@0
  4855
//! @SYMTestPriority          medium
sl@0
  4856
sl@0
  4857
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4858
sl@0
  4859
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4860
sl@0
  4861
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  4862
sl@0
  4863
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0195
sl@0
  4864
sl@0
  4865
END_TESTCASE                  SEC-CIT_PREQ1054_01-0195
sl@0
  4866
sl@0
  4867
sl@0
  4868
sl@0
  4869
sl@0
  4870
sl@0
  4871
START_TESTCASE                SEC-CIT_PREQ1054_01-0196
sl@0
  4872
sl@0
  4873
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0196
sl@0
  4874
sl@0
  4875
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4876
sl@0
  4877
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4878
sl@0
  4879
//! @SYMTestPriority          medium
sl@0
  4880
sl@0
  4881
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4882
sl@0
  4883
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4884
sl@0
  4885
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4886
sl@0
  4887
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0196
sl@0
  4888
sl@0
  4889
END_TESTCASE                  SEC-CIT_PREQ1054_01-0196
sl@0
  4890
sl@0
  4891
sl@0
  4892
sl@0
  4893
sl@0
  4894
sl@0
  4895
START_TESTCASE                SEC-CIT_PREQ1054_01-0197
sl@0
  4896
sl@0
  4897
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0197
sl@0
  4898
sl@0
  4899
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4900
sl@0
  4901
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4902
sl@0
  4903
//! @SYMTestPriority          medium
sl@0
  4904
sl@0
  4905
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4906
sl@0
  4907
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4908
sl@0
  4909
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4910
sl@0
  4911
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0197
sl@0
  4912
sl@0
  4913
END_TESTCASE                  SEC-CIT_PREQ1054_01-0197
sl@0
  4914
sl@0
  4915
sl@0
  4916
sl@0
  4917
sl@0
  4918
sl@0
  4919
START_TESTCASE                SEC-CIT_PREQ1054_01-0198
sl@0
  4920
sl@0
  4921
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0198
sl@0
  4922
sl@0
  4923
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4924
sl@0
  4925
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4926
sl@0
  4927
//! @SYMTestPriority          medium
sl@0
  4928
sl@0
  4929
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4930
sl@0
  4931
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4932
sl@0
  4933
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4934
sl@0
  4935
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0198
sl@0
  4936
sl@0
  4937
END_TESTCASE                  SEC-CIT_PREQ1054_01-0198
sl@0
  4938
sl@0
  4939
sl@0
  4940
sl@0
  4941
sl@0
  4942
sl@0
  4943
START_TESTCASE                SEC-CIT_PREQ1054_01-0199
sl@0
  4944
sl@0
  4945
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0199
sl@0
  4946
sl@0
  4947
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4948
sl@0
  4949
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4950
sl@0
  4951
//! @SYMTestPriority          medium
sl@0
  4952
sl@0
  4953
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4954
sl@0
  4955
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4956
sl@0
  4957
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4958
sl@0
  4959
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0199
sl@0
  4960
sl@0
  4961
END_TESTCASE                  SEC-CIT_PREQ1054_01-0199
sl@0
  4962
sl@0
  4963
sl@0
  4964
sl@0
  4965
sl@0
  4966
sl@0
  4967
START_TESTCASE                SEC-CIT_PREQ1054_01-0200
sl@0
  4968
sl@0
  4969
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0200
sl@0
  4970
sl@0
  4971
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4972
sl@0
  4973
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4974
sl@0
  4975
//! @SYMTestPriority          medium
sl@0
  4976
sl@0
  4977
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  4978
sl@0
  4979
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  4980
sl@0
  4981
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  4982
sl@0
  4983
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0200
sl@0
  4984
sl@0
  4985
END_TESTCASE                  SEC-CIT_PREQ1054_01-0200
sl@0
  4986
sl@0
  4987
sl@0
  4988
sl@0
  4989
sl@0
  4990
sl@0
  4991
START_TESTCASE                SEC-CIT_PREQ1054_01-0201
sl@0
  4992
sl@0
  4993
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0201
sl@0
  4994
sl@0
  4995
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  4996
sl@0
  4997
//! @SYMREQ                   CIT_PREQ1054
sl@0
  4998
sl@0
  4999
//! @SYMTestPriority          medium
sl@0
  5000
sl@0
  5001
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5002
sl@0
  5003
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5004
sl@0
  5005
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5006
sl@0
  5007
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0201
sl@0
  5008
sl@0
  5009
END_TESTCASE                  SEC-CIT_PREQ1054_01-0201
sl@0
  5010
sl@0
  5011
sl@0
  5012
sl@0
  5013
sl@0
  5014
sl@0
  5015
START_TESTCASE                SEC-CIT_PREQ1054_01-0202
sl@0
  5016
sl@0
  5017
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0202
sl@0
  5018
sl@0
  5019
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5020
sl@0
  5021
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5022
sl@0
  5023
//! @SYMTestPriority          medium
sl@0
  5024
sl@0
  5025
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5026
sl@0
  5027
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5028
sl@0
  5029
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5030
sl@0
  5031
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0202
sl@0
  5032
sl@0
  5033
END_TESTCASE                  SEC-CIT_PREQ1054_01-0202
sl@0
  5034
sl@0
  5035
sl@0
  5036
sl@0
  5037
sl@0
  5038
sl@0
  5039
START_TESTCASE                SEC-CIT_PREQ1054_01-0203
sl@0
  5040
sl@0
  5041
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0203
sl@0
  5042
sl@0
  5043
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5044
sl@0
  5045
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5046
sl@0
  5047
//! @SYMTestPriority          medium
sl@0
  5048
sl@0
  5049
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5050
sl@0
  5051
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5052
sl@0
  5053
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5054
sl@0
  5055
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0203
sl@0
  5056
sl@0
  5057
END_TESTCASE                  SEC-CIT_PREQ1054_01-0203
sl@0
  5058
sl@0
  5059
sl@0
  5060
sl@0
  5061
sl@0
  5062
sl@0
  5063
START_TESTCASE                SEC-CIT_PREQ1054_01-0204
sl@0
  5064
sl@0
  5065
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0204
sl@0
  5066
sl@0
  5067
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5068
sl@0
  5069
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5070
sl@0
  5071
//! @SYMTestPriority          medium
sl@0
  5072
sl@0
  5073
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5074
sl@0
  5075
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5076
sl@0
  5077
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5078
sl@0
  5079
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0204
sl@0
  5080
sl@0
  5081
END_TESTCASE                  SEC-CIT_PREQ1054_01-0204
sl@0
  5082
sl@0
  5083
sl@0
  5084
sl@0
  5085
sl@0
  5086
sl@0
  5087
START_TESTCASE                SEC-CIT_PREQ1054_01-0205
sl@0
  5088
sl@0
  5089
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0205
sl@0
  5090
sl@0
  5091
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5092
sl@0
  5093
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5094
sl@0
  5095
//! @SYMTestPriority          medium
sl@0
  5096
sl@0
  5097
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5098
sl@0
  5099
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5100
sl@0
  5101
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5102
sl@0
  5103
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0205
sl@0
  5104
sl@0
  5105
END_TESTCASE                  SEC-CIT_PREQ1054_01-0205
sl@0
  5106
sl@0
  5107
sl@0
  5108
sl@0
  5109
sl@0
  5110
sl@0
  5111
START_TESTCASE                SEC-CIT_PREQ1054_01-0206
sl@0
  5112
sl@0
  5113
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0206
sl@0
  5114
sl@0
  5115
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5116
sl@0
  5117
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5118
sl@0
  5119
//! @SYMTestPriority          medium
sl@0
  5120
sl@0
  5121
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5122
sl@0
  5123
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5124
sl@0
  5125
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5126
sl@0
  5127
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0206
sl@0
  5128
sl@0
  5129
END_TESTCASE                  SEC-CIT_PREQ1054_01-0206
sl@0
  5130
sl@0
  5131
sl@0
  5132
sl@0
  5133
sl@0
  5134
sl@0
  5135
START_TESTCASE                SEC-CIT_PREQ1054_01-0207
sl@0
  5136
sl@0
  5137
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0207
sl@0
  5138
sl@0
  5139
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5140
sl@0
  5141
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5142
sl@0
  5143
//! @SYMTestPriority          medium
sl@0
  5144
sl@0
  5145
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5146
sl@0
  5147
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5148
sl@0
  5149
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5150
sl@0
  5151
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0207
sl@0
  5152
sl@0
  5153
END_TESTCASE                  SEC-CIT_PREQ1054_01-0207
sl@0
  5154
sl@0
  5155
sl@0
  5156
sl@0
  5157
sl@0
  5158
sl@0
  5159
START_TESTCASE                SEC-CIT_PREQ1054_01-0208
sl@0
  5160
sl@0
  5161
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0208
sl@0
  5162
sl@0
  5163
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5164
sl@0
  5165
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5166
sl@0
  5167
//! @SYMTestPriority          medium
sl@0
  5168
sl@0
  5169
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5170
sl@0
  5171
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5172
sl@0
  5173
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5174
sl@0
  5175
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0208
sl@0
  5176
sl@0
  5177
END_TESTCASE                  SEC-CIT_PREQ1054_01-0208
sl@0
  5178
sl@0
  5179
sl@0
  5180
sl@0
  5181
sl@0
  5182
sl@0
  5183
START_TESTCASE                SEC-CIT_PREQ1054_01-0209
sl@0
  5184
sl@0
  5185
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0209
sl@0
  5186
sl@0
  5187
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5188
sl@0
  5189
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5190
sl@0
  5191
//! @SYMTestPriority          medium
sl@0
  5192
sl@0
  5193
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5194
sl@0
  5195
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5196
sl@0
  5197
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5198
sl@0
  5199
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0209
sl@0
  5200
sl@0
  5201
END_TESTCASE                  SEC-CIT_PREQ1054_01-0209
sl@0
  5202
sl@0
  5203
sl@0
  5204
sl@0
  5205
sl@0
  5206
sl@0
  5207
START_TESTCASE                SEC-CIT_PREQ1054_01-0210
sl@0
  5208
sl@0
  5209
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0210
sl@0
  5210
sl@0
  5211
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5212
sl@0
  5213
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5214
sl@0
  5215
//! @SYMTestPriority          medium
sl@0
  5216
sl@0
  5217
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5218
sl@0
  5219
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5220
sl@0
  5221
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5222
sl@0
  5223
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0210
sl@0
  5224
sl@0
  5225
END_TESTCASE                  SEC-CIT_PREQ1054_01-0210
sl@0
  5226
sl@0
  5227
sl@0
  5228
sl@0
  5229
sl@0
  5230
sl@0
  5231
START_TESTCASE                SEC-CIT_PREQ1054_01-0211
sl@0
  5232
sl@0
  5233
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0211
sl@0
  5234
sl@0
  5235
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5236
sl@0
  5237
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5238
sl@0
  5239
//! @SYMTestPriority          medium
sl@0
  5240
sl@0
  5241
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5242
sl@0
  5243
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5244
sl@0
  5245
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5246
sl@0
  5247
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0211
sl@0
  5248
sl@0
  5249
END_TESTCASE                  SEC-CIT_PREQ1054_01-0211
sl@0
  5250
sl@0
  5251
sl@0
  5252
sl@0
  5253
sl@0
  5254
sl@0
  5255
START_TESTCASE                SEC-CIT_PREQ1054_01-0212
sl@0
  5256
sl@0
  5257
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0212
sl@0
  5258
sl@0
  5259
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5260
sl@0
  5261
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5262
sl@0
  5263
//! @SYMTestPriority          medium
sl@0
  5264
sl@0
  5265
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5266
sl@0
  5267
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5268
sl@0
  5269
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5270
sl@0
  5271
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0212
sl@0
  5272
sl@0
  5273
END_TESTCASE                  SEC-CIT_PREQ1054_01-0212
sl@0
  5274
sl@0
  5275
sl@0
  5276
sl@0
  5277
sl@0
  5278
sl@0
  5279
START_TESTCASE                SEC-CIT_PREQ1054_01-0213
sl@0
  5280
sl@0
  5281
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0213
sl@0
  5282
sl@0
  5283
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5284
sl@0
  5285
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5286
sl@0
  5287
//! @SYMTestPriority          medium
sl@0
  5288
sl@0
  5289
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5290
sl@0
  5291
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5292
sl@0
  5293
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5294
sl@0
  5295
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0213
sl@0
  5296
sl@0
  5297
END_TESTCASE                  SEC-CIT_PREQ1054_01-0213
sl@0
  5298
sl@0
  5299
sl@0
  5300
sl@0
  5301
sl@0
  5302
sl@0
  5303
START_TESTCASE                SEC-CIT_PREQ1054_01-0214
sl@0
  5304
sl@0
  5305
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0214
sl@0
  5306
sl@0
  5307
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5308
sl@0
  5309
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5310
sl@0
  5311
//! @SYMTestPriority          medium
sl@0
  5312
sl@0
  5313
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5314
sl@0
  5315
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5316
sl@0
  5317
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5318
sl@0
  5319
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0214
sl@0
  5320
sl@0
  5321
END_TESTCASE                  SEC-CIT_PREQ1054_01-0214
sl@0
  5322
sl@0
  5323
sl@0
  5324
sl@0
  5325
sl@0
  5326
sl@0
  5327
START_TESTCASE                SEC-CIT_PREQ1054_01-0215
sl@0
  5328
sl@0
  5329
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0215
sl@0
  5330
sl@0
  5331
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5332
sl@0
  5333
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5334
sl@0
  5335
//! @SYMTestPriority          medium
sl@0
  5336
sl@0
  5337
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5338
sl@0
  5339
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5340
sl@0
  5341
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5342
sl@0
  5343
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0215
sl@0
  5344
sl@0
  5345
END_TESTCASE                  SEC-CIT_PREQ1054_01-0215
sl@0
  5346
sl@0
  5347
sl@0
  5348
sl@0
  5349
sl@0
  5350
sl@0
  5351
START_TESTCASE                SEC-CIT_PREQ1054_01-0216
sl@0
  5352
sl@0
  5353
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0216
sl@0
  5354
sl@0
  5355
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5356
sl@0
  5357
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5358
sl@0
  5359
//! @SYMTestPriority          medium
sl@0
  5360
sl@0
  5361
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5362
sl@0
  5363
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5364
sl@0
  5365
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5366
sl@0
  5367
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0216
sl@0
  5368
sl@0
  5369
END_TESTCASE                  SEC-CIT_PREQ1054_01-0216
sl@0
  5370
sl@0
  5371
sl@0
  5372
sl@0
  5373
sl@0
  5374
sl@0
  5375
START_TESTCASE                SEC-CIT_PREQ1054_01-0217
sl@0
  5376
sl@0
  5377
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0217
sl@0
  5378
sl@0
  5379
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5380
sl@0
  5381
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5382
sl@0
  5383
//! @SYMTestPriority          medium
sl@0
  5384
sl@0
  5385
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5386
sl@0
  5387
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5388
sl@0
  5389
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5390
sl@0
  5391
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0217
sl@0
  5392
sl@0
  5393
END_TESTCASE                  SEC-CIT_PREQ1054_01-0217
sl@0
  5394
sl@0
  5395
sl@0
  5396
sl@0
  5397
sl@0
  5398
sl@0
  5399
START_TESTCASE                SEC-CIT_PREQ1054_01-0218
sl@0
  5400
sl@0
  5401
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0218
sl@0
  5402
sl@0
  5403
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5404
sl@0
  5405
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5406
sl@0
  5407
//! @SYMTestPriority          medium
sl@0
  5408
sl@0
  5409
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5410
sl@0
  5411
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5412
sl@0
  5413
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5414
sl@0
  5415
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0218
sl@0
  5416
sl@0
  5417
END_TESTCASE                  SEC-CIT_PREQ1054_01-0218
sl@0
  5418
sl@0
  5419
sl@0
  5420
sl@0
  5421
sl@0
  5422
sl@0
  5423
START_TESTCASE                SEC-CIT_PREQ1054_01-0219
sl@0
  5424
sl@0
  5425
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0219
sl@0
  5426
sl@0
  5427
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5428
sl@0
  5429
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5430
sl@0
  5431
//! @SYMTestPriority          medium
sl@0
  5432
sl@0
  5433
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5434
sl@0
  5435
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5436
sl@0
  5437
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5438
sl@0
  5439
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0219
sl@0
  5440
sl@0
  5441
END_TESTCASE                  SEC-CIT_PREQ1054_01-0219
sl@0
  5442
sl@0
  5443
sl@0
  5444
sl@0
  5445
sl@0
  5446
sl@0
  5447
START_TESTCASE                SEC-CIT_PREQ1054_01-0220
sl@0
  5448
sl@0
  5449
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0220
sl@0
  5450
sl@0
  5451
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5452
sl@0
  5453
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5454
sl@0
  5455
//! @SYMTestPriority          medium
sl@0
  5456
sl@0
  5457
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5458
sl@0
  5459
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5460
sl@0
  5461
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5462
sl@0
  5463
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0220
sl@0
  5464
sl@0
  5465
END_TESTCASE                  SEC-CIT_PREQ1054_01-0220
sl@0
  5466
sl@0
  5467
sl@0
  5468
sl@0
  5469
sl@0
  5470
sl@0
  5471
START_TESTCASE                SEC-CIT_PREQ1054_01-0221
sl@0
  5472
sl@0
  5473
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0221
sl@0
  5474
sl@0
  5475
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5476
sl@0
  5477
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5478
sl@0
  5479
//! @SYMTestPriority          medium
sl@0
  5480
sl@0
  5481
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5482
sl@0
  5483
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5484
sl@0
  5485
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5486
sl@0
  5487
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0221
sl@0
  5488
sl@0
  5489
END_TESTCASE                  SEC-CIT_PREQ1054_01-0221
sl@0
  5490
sl@0
  5491
sl@0
  5492
sl@0
  5493
sl@0
  5494
sl@0
  5495
START_TESTCASE                SEC-CIT_PREQ1054_01-0222
sl@0
  5496
sl@0
  5497
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0222
sl@0
  5498
sl@0
  5499
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5500
sl@0
  5501
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5502
sl@0
  5503
//! @SYMTestPriority          medium
sl@0
  5504
sl@0
  5505
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5506
sl@0
  5507
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5508
sl@0
  5509
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5510
sl@0
  5511
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0222
sl@0
  5512
sl@0
  5513
END_TESTCASE                  SEC-CIT_PREQ1054_01-0222
sl@0
  5514
sl@0
  5515
sl@0
  5516
sl@0
  5517
sl@0
  5518
sl@0
  5519
START_TESTCASE                SEC-CIT_PREQ1054_01-0223
sl@0
  5520
sl@0
  5521
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0223
sl@0
  5522
sl@0
  5523
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5524
sl@0
  5525
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5526
sl@0
  5527
//! @SYMTestPriority          medium
sl@0
  5528
sl@0
  5529
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5530
sl@0
  5531
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5532
sl@0
  5533
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5534
sl@0
  5535
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0223
sl@0
  5536
sl@0
  5537
END_TESTCASE                  SEC-CIT_PREQ1054_01-0223
sl@0
  5538
sl@0
  5539
sl@0
  5540
sl@0
  5541
sl@0
  5542
sl@0
  5543
START_TESTCASE                SEC-CIT_PREQ1054_01-0224
sl@0
  5544
sl@0
  5545
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0224
sl@0
  5546
sl@0
  5547
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5548
sl@0
  5549
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5550
sl@0
  5551
//! @SYMTestPriority          medium
sl@0
  5552
sl@0
  5553
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5554
sl@0
  5555
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5556
sl@0
  5557
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5558
sl@0
  5559
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0224
sl@0
  5560
sl@0
  5561
END_TESTCASE                  SEC-CIT_PREQ1054_01-0224
sl@0
  5562
sl@0
  5563
sl@0
  5564
sl@0
  5565
sl@0
  5566
sl@0
  5567
START_TESTCASE                SEC-CIT_PREQ1054_01-0225
sl@0
  5568
sl@0
  5569
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0225
sl@0
  5570
sl@0
  5571
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5572
sl@0
  5573
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5574
sl@0
  5575
//! @SYMTestPriority          medium
sl@0
  5576
sl@0
  5577
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5578
sl@0
  5579
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5580
sl@0
  5581
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5582
sl@0
  5583
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0225
sl@0
  5584
sl@0
  5585
END_TESTCASE                  SEC-CIT_PREQ1054_01-0225
sl@0
  5586
sl@0
  5587
sl@0
  5588
sl@0
  5589
sl@0
  5590
sl@0
  5591
START_TESTCASE                SEC-CIT_PREQ1054_01-0226
sl@0
  5592
sl@0
  5593
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0226
sl@0
  5594
sl@0
  5595
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5596
sl@0
  5597
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5598
sl@0
  5599
//! @SYMTestPriority          medium
sl@0
  5600
sl@0
  5601
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5602
sl@0
  5603
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5604
sl@0
  5605
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5606
sl@0
  5607
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0226
sl@0
  5608
sl@0
  5609
END_TESTCASE                  SEC-CIT_PREQ1054_01-0226
sl@0
  5610
sl@0
  5611
sl@0
  5612
sl@0
  5613
sl@0
  5614
sl@0
  5615
START_TESTCASE                SEC-CIT_PREQ1054_01-0227
sl@0
  5616
sl@0
  5617
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0227
sl@0
  5618
sl@0
  5619
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5620
sl@0
  5621
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5622
sl@0
  5623
//! @SYMTestPriority          medium
sl@0
  5624
sl@0
  5625
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5626
sl@0
  5627
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5628
sl@0
  5629
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5630
sl@0
  5631
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0227
sl@0
  5632
sl@0
  5633
END_TESTCASE                  SEC-CIT_PREQ1054_01-0227
sl@0
  5634
sl@0
  5635
sl@0
  5636
sl@0
  5637
sl@0
  5638
sl@0
  5639
START_TESTCASE                SEC-CIT_PREQ1054_01-0228
sl@0
  5640
sl@0
  5641
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0228
sl@0
  5642
sl@0
  5643
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5644
sl@0
  5645
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5646
sl@0
  5647
//! @SYMTestPriority          medium
sl@0
  5648
sl@0
  5649
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5650
sl@0
  5651
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5652
sl@0
  5653
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5654
sl@0
  5655
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0228
sl@0
  5656
sl@0
  5657
END_TESTCASE                  SEC-CIT_PREQ1054_01-0228
sl@0
  5658
sl@0
  5659
sl@0
  5660
sl@0
  5661
sl@0
  5662
sl@0
  5663
START_TESTCASE                SEC-CIT_PREQ1054_01-0229
sl@0
  5664
sl@0
  5665
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0229
sl@0
  5666
sl@0
  5667
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5668
sl@0
  5669
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5670
sl@0
  5671
//! @SYMTestPriority          medium
sl@0
  5672
sl@0
  5673
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5674
sl@0
  5675
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5676
sl@0
  5677
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5678
sl@0
  5679
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0229
sl@0
  5680
sl@0
  5681
END_TESTCASE                  SEC-CIT_PREQ1054_01-0229
sl@0
  5682
sl@0
  5683
sl@0
  5684
sl@0
  5685
sl@0
  5686
sl@0
  5687
START_TESTCASE                SEC-CIT_PREQ1054_01-0230
sl@0
  5688
sl@0
  5689
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0230
sl@0
  5690
sl@0
  5691
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5692
sl@0
  5693
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5694
sl@0
  5695
//! @SYMTestPriority          medium
sl@0
  5696
sl@0
  5697
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5698
sl@0
  5699
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5700
sl@0
  5701
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 4
sl@0
  5702
sl@0
  5703
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0230
sl@0
  5704
sl@0
  5705
END_TESTCASE                  SEC-CIT_PREQ1054_01-0230
sl@0
  5706
sl@0
  5707
sl@0
  5708
sl@0
  5709
sl@0
  5710
sl@0
  5711
START_TESTCASE                SEC-CIT_PREQ1054_01-0231
sl@0
  5712
sl@0
  5713
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0231
sl@0
  5714
sl@0
  5715
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5716
sl@0
  5717
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5718
sl@0
  5719
//! @SYMTestPriority          medium
sl@0
  5720
sl@0
  5721
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5722
sl@0
  5723
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5724
sl@0
  5725
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5726
sl@0
  5727
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0231
sl@0
  5728
sl@0
  5729
END_TESTCASE                  SEC-CIT_PREQ1054_01-0231
sl@0
  5730
sl@0
  5731
sl@0
  5732
sl@0
  5733
sl@0
  5734
sl@0
  5735
START_TESTCASE                SEC-CIT_PREQ1054_01-0232
sl@0
  5736
sl@0
  5737
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0232
sl@0
  5738
sl@0
  5739
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5740
sl@0
  5741
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5742
sl@0
  5743
//! @SYMTestPriority          medium
sl@0
  5744
sl@0
  5745
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5746
sl@0
  5747
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5748
sl@0
  5749
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5750
sl@0
  5751
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0232
sl@0
  5752
sl@0
  5753
END_TESTCASE                  SEC-CIT_PREQ1054_01-0232
sl@0
  5754
sl@0
  5755
sl@0
  5756
sl@0
  5757
sl@0
  5758
sl@0
  5759
START_TESTCASE                SEC-CIT_PREQ1054_01-0233
sl@0
  5760
sl@0
  5761
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0233
sl@0
  5762
sl@0
  5763
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5764
sl@0
  5765
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5766
sl@0
  5767
//! @SYMTestPriority          medium
sl@0
  5768
sl@0
  5769
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5770
sl@0
  5771
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5772
sl@0
  5773
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5774
sl@0
  5775
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0233
sl@0
  5776
sl@0
  5777
END_TESTCASE                  SEC-CIT_PREQ1054_01-0233
sl@0
  5778
sl@0
  5779
sl@0
  5780
sl@0
  5781
sl@0
  5782
sl@0
  5783
START_TESTCASE                SEC-CIT_PREQ1054_01-0234
sl@0
  5784
sl@0
  5785
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0234
sl@0
  5786
sl@0
  5787
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5788
sl@0
  5789
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5790
sl@0
  5791
//! @SYMTestPriority          medium
sl@0
  5792
sl@0
  5793
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5794
sl@0
  5795
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5796
sl@0
  5797
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5798
sl@0
  5799
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0234
sl@0
  5800
sl@0
  5801
END_TESTCASE                  SEC-CIT_PREQ1054_01-0234
sl@0
  5802
sl@0
  5803
sl@0
  5804
sl@0
  5805
sl@0
  5806
sl@0
  5807
START_TESTCASE                SEC-CIT_PREQ1054_01-0235
sl@0
  5808
sl@0
  5809
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0235
sl@0
  5810
sl@0
  5811
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5812
sl@0
  5813
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5814
sl@0
  5815
//! @SYMTestPriority          medium
sl@0
  5816
sl@0
  5817
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5818
sl@0
  5819
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5820
sl@0
  5821
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 20
sl@0
  5822
sl@0
  5823
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0235
sl@0
  5824
sl@0
  5825
END_TESTCASE                  SEC-CIT_PREQ1054_01-0235
sl@0
  5826
sl@0
  5827
sl@0
  5828
sl@0
  5829
sl@0
  5830
sl@0
  5831
START_TESTCASE                SEC-CIT_PREQ1054_01-0236
sl@0
  5832
sl@0
  5833
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0236
sl@0
  5834
sl@0
  5835
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5836
sl@0
  5837
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5838
sl@0
  5839
//! @SYMTestPriority          medium
sl@0
  5840
sl@0
  5841
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5842
sl@0
  5843
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5844
sl@0
  5845
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5846
sl@0
  5847
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0236
sl@0
  5848
sl@0
  5849
END_TESTCASE                  SEC-CIT_PREQ1054_01-0236
sl@0
  5850
sl@0
  5851
sl@0
  5852
sl@0
  5853
sl@0
  5854
sl@0
  5855
START_TESTCASE                SEC-CIT_PREQ1054_01-0237
sl@0
  5856
sl@0
  5857
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0237
sl@0
  5858
sl@0
  5859
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5860
sl@0
  5861
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5862
sl@0
  5863
//! @SYMTestPriority          medium
sl@0
  5864
sl@0
  5865
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5866
sl@0
  5867
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5868
sl@0
  5869
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5870
sl@0
  5871
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0237
sl@0
  5872
sl@0
  5873
END_TESTCASE                  SEC-CIT_PREQ1054_01-0237
sl@0
  5874
sl@0
  5875
sl@0
  5876
sl@0
  5877
sl@0
  5878
sl@0
  5879
START_TESTCASE                SEC-CIT_PREQ1054_01-0238
sl@0
  5880
sl@0
  5881
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0238
sl@0
  5882
sl@0
  5883
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5884
sl@0
  5885
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5886
sl@0
  5887
//! @SYMTestPriority          medium
sl@0
  5888
sl@0
  5889
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5890
sl@0
  5891
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5892
sl@0
  5893
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5894
sl@0
  5895
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0238
sl@0
  5896
sl@0
  5897
END_TESTCASE                  SEC-CIT_PREQ1054_01-0238
sl@0
  5898
sl@0
  5899
sl@0
  5900
sl@0
  5901
sl@0
  5902
sl@0
  5903
START_TESTCASE                SEC-CIT_PREQ1054_01-0239
sl@0
  5904
sl@0
  5905
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0239
sl@0
  5906
sl@0
  5907
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5908
sl@0
  5909
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5910
sl@0
  5911
//! @SYMTestPriority          medium
sl@0
  5912
sl@0
  5913
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5914
sl@0
  5915
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5916
sl@0
  5917
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5918
sl@0
  5919
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0239
sl@0
  5920
sl@0
  5921
END_TESTCASE                  SEC-CIT_PREQ1054_01-0239
sl@0
  5922
sl@0
  5923
sl@0
  5924
sl@0
  5925
sl@0
  5926
sl@0
  5927
START_TESTCASE                SEC-CIT_PREQ1054_01-0240
sl@0
  5928
sl@0
  5929
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0240
sl@0
  5930
sl@0
  5931
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5932
sl@0
  5933
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5934
sl@0
  5935
//! @SYMTestPriority          medium
sl@0
  5936
sl@0
  5937
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5938
sl@0
  5939
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5940
sl@0
  5941
//! @SYMTestActions           1) PKCS#12 KDF, key len = 128, salt len = 25
sl@0
  5942
sl@0
  5943
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0240
sl@0
  5944
sl@0
  5945
END_TESTCASE                  SEC-CIT_PREQ1054_01-0240
sl@0
  5946
sl@0
  5947
sl@0
  5948
sl@0
  5949
sl@0
  5950
sl@0
  5951
START_TESTCASE                SEC-CIT_PREQ1054_01-0241
sl@0
  5952
sl@0
  5953
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0241
sl@0
  5954
sl@0
  5955
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5956
sl@0
  5957
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5958
sl@0
  5959
//! @SYMTestPriority          medium
sl@0
  5960
sl@0
  5961
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5962
sl@0
  5963
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5964
sl@0
  5965
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  5966
sl@0
  5967
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0241
sl@0
  5968
sl@0
  5969
END_TESTCASE                  SEC-CIT_PREQ1054_01-0241
sl@0
  5970
sl@0
  5971
sl@0
  5972
sl@0
  5973
sl@0
  5974
sl@0
  5975
START_TESTCASE                SEC-CIT_PREQ1054_01-0242
sl@0
  5976
sl@0
  5977
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0242
sl@0
  5978
sl@0
  5979
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  5980
sl@0
  5981
//! @SYMREQ                   CIT_PREQ1054
sl@0
  5982
sl@0
  5983
//! @SYMTestPriority          medium
sl@0
  5984
sl@0
  5985
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  5986
sl@0
  5987
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  5988
sl@0
  5989
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  5990
sl@0
  5991
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0242
sl@0
  5992
sl@0
  5993
END_TESTCASE                  SEC-CIT_PREQ1054_01-0242
sl@0
  5994
sl@0
  5995
sl@0
  5996
sl@0
  5997
sl@0
  5998
sl@0
  5999
START_TESTCASE                SEC-CIT_PREQ1054_01-0243
sl@0
  6000
sl@0
  6001
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0243
sl@0
  6002
sl@0
  6003
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6004
sl@0
  6005
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6006
sl@0
  6007
//! @SYMTestPriority          medium
sl@0
  6008
sl@0
  6009
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6010
sl@0
  6011
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6012
sl@0
  6013
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6014
sl@0
  6015
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0243
sl@0
  6016
sl@0
  6017
END_TESTCASE                  SEC-CIT_PREQ1054_01-0243
sl@0
  6018
sl@0
  6019
sl@0
  6020
sl@0
  6021
sl@0
  6022
sl@0
  6023
START_TESTCASE                SEC-CIT_PREQ1054_01-0244
sl@0
  6024
sl@0
  6025
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0244
sl@0
  6026
sl@0
  6027
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6028
sl@0
  6029
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6030
sl@0
  6031
//! @SYMTestPriority          medium
sl@0
  6032
sl@0
  6033
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6034
sl@0
  6035
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6036
sl@0
  6037
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6038
sl@0
  6039
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0244
sl@0
  6040
sl@0
  6041
END_TESTCASE                  SEC-CIT_PREQ1054_01-0244
sl@0
  6042
sl@0
  6043
sl@0
  6044
sl@0
  6045
sl@0
  6046
sl@0
  6047
START_TESTCASE                SEC-CIT_PREQ1054_01-0245
sl@0
  6048
sl@0
  6049
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0245
sl@0
  6050
sl@0
  6051
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6052
sl@0
  6053
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6054
sl@0
  6055
//! @SYMTestPriority          medium
sl@0
  6056
sl@0
  6057
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6058
sl@0
  6059
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6060
sl@0
  6061
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6062
sl@0
  6063
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0245
sl@0
  6064
sl@0
  6065
END_TESTCASE                  SEC-CIT_PREQ1054_01-0245
sl@0
  6066
sl@0
  6067
sl@0
  6068
sl@0
  6069
sl@0
  6070
sl@0
  6071
START_TESTCASE                SEC-CIT_PREQ1054_01-0246
sl@0
  6072
sl@0
  6073
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0246
sl@0
  6074
sl@0
  6075
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6076
sl@0
  6077
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6078
sl@0
  6079
//! @SYMTestPriority          medium
sl@0
  6080
sl@0
  6081
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6082
sl@0
  6083
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6084
sl@0
  6085
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6086
sl@0
  6087
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0246
sl@0
  6088
sl@0
  6089
END_TESTCASE                  SEC-CIT_PREQ1054_01-0246
sl@0
  6090
sl@0
  6091
sl@0
  6092
sl@0
  6093
sl@0
  6094
sl@0
  6095
START_TESTCASE                SEC-CIT_PREQ1054_01-0247
sl@0
  6096
sl@0
  6097
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0247
sl@0
  6098
sl@0
  6099
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6100
sl@0
  6101
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6102
sl@0
  6103
//! @SYMTestPriority          medium
sl@0
  6104
sl@0
  6105
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6106
sl@0
  6107
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6108
sl@0
  6109
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6110
sl@0
  6111
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0247
sl@0
  6112
sl@0
  6113
END_TESTCASE                  SEC-CIT_PREQ1054_01-0247
sl@0
  6114
sl@0
  6115
sl@0
  6116
sl@0
  6117
sl@0
  6118
sl@0
  6119
START_TESTCASE                SEC-CIT_PREQ1054_01-0248
sl@0
  6120
sl@0
  6121
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0248
sl@0
  6122
sl@0
  6123
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6124
sl@0
  6125
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6126
sl@0
  6127
//! @SYMTestPriority          medium
sl@0
  6128
sl@0
  6129
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6130
sl@0
  6131
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6132
sl@0
  6133
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6134
sl@0
  6135
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0248
sl@0
  6136
sl@0
  6137
END_TESTCASE                  SEC-CIT_PREQ1054_01-0248
sl@0
  6138
sl@0
  6139
sl@0
  6140
sl@0
  6141
sl@0
  6142
sl@0
  6143
START_TESTCASE                SEC-CIT_PREQ1054_01-0249
sl@0
  6144
sl@0
  6145
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0249
sl@0
  6146
sl@0
  6147
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6148
sl@0
  6149
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6150
sl@0
  6151
//! @SYMTestPriority          medium
sl@0
  6152
sl@0
  6153
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6154
sl@0
  6155
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6156
sl@0
  6157
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6158
sl@0
  6159
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0249
sl@0
  6160
sl@0
  6161
END_TESTCASE                  SEC-CIT_PREQ1054_01-0249
sl@0
  6162
sl@0
  6163
sl@0
  6164
sl@0
  6165
sl@0
  6166
sl@0
  6167
START_TESTCASE                SEC-CIT_PREQ1054_01-0250
sl@0
  6168
sl@0
  6169
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0250
sl@0
  6170
sl@0
  6171
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6172
sl@0
  6173
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6174
sl@0
  6175
//! @SYMTestPriority          medium
sl@0
  6176
sl@0
  6177
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6178
sl@0
  6179
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6180
sl@0
  6181
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6182
sl@0
  6183
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0250
sl@0
  6184
sl@0
  6185
END_TESTCASE                  SEC-CIT_PREQ1054_01-0250
sl@0
  6186
sl@0
  6187
sl@0
  6188
sl@0
  6189
sl@0
  6190
sl@0
  6191
START_TESTCASE                SEC-CIT_PREQ1054_01-0251
sl@0
  6192
sl@0
  6193
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0251
sl@0
  6194
sl@0
  6195
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6196
sl@0
  6197
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6198
sl@0
  6199
//! @SYMTestPriority          medium
sl@0
  6200
sl@0
  6201
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6202
sl@0
  6203
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6204
sl@0
  6205
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6206
sl@0
  6207
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0251
sl@0
  6208
sl@0
  6209
END_TESTCASE                  SEC-CIT_PREQ1054_01-0251
sl@0
  6210
sl@0
  6211
sl@0
  6212
sl@0
  6213
sl@0
  6214
sl@0
  6215
START_TESTCASE                SEC-CIT_PREQ1054_01-0252
sl@0
  6216
sl@0
  6217
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0252
sl@0
  6218
sl@0
  6219
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6220
sl@0
  6221
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6222
sl@0
  6223
//! @SYMTestPriority          medium
sl@0
  6224
sl@0
  6225
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6226
sl@0
  6227
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6228
sl@0
  6229
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6230
sl@0
  6231
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0252
sl@0
  6232
sl@0
  6233
END_TESTCASE                  SEC-CIT_PREQ1054_01-0252
sl@0
  6234
sl@0
  6235
sl@0
  6236
sl@0
  6237
sl@0
  6238
sl@0
  6239
START_TESTCASE                SEC-CIT_PREQ1054_01-0253
sl@0
  6240
sl@0
  6241
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0253
sl@0
  6242
sl@0
  6243
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6244
sl@0
  6245
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6246
sl@0
  6247
//! @SYMTestPriority          medium
sl@0
  6248
sl@0
  6249
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6250
sl@0
  6251
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6252
sl@0
  6253
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6254
sl@0
  6255
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0253
sl@0
  6256
sl@0
  6257
END_TESTCASE                  SEC-CIT_PREQ1054_01-0253
sl@0
  6258
sl@0
  6259
sl@0
  6260
sl@0
  6261
sl@0
  6262
sl@0
  6263
START_TESTCASE                SEC-CIT_PREQ1054_01-0254
sl@0
  6264
sl@0
  6265
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0254
sl@0
  6266
sl@0
  6267
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6268
sl@0
  6269
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6270
sl@0
  6271
//! @SYMTestPriority          medium
sl@0
  6272
sl@0
  6273
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6274
sl@0
  6275
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6276
sl@0
  6277
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6278
sl@0
  6279
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0254
sl@0
  6280
sl@0
  6281
END_TESTCASE                  SEC-CIT_PREQ1054_01-0254
sl@0
  6282
sl@0
  6283
sl@0
  6284
sl@0
  6285
sl@0
  6286
sl@0
  6287
START_TESTCASE                SEC-CIT_PREQ1054_01-0255
sl@0
  6288
sl@0
  6289
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0255
sl@0
  6290
sl@0
  6291
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6292
sl@0
  6293
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6294
sl@0
  6295
//! @SYMTestPriority          medium
sl@0
  6296
sl@0
  6297
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6298
sl@0
  6299
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6300
sl@0
  6301
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6302
sl@0
  6303
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0255
sl@0
  6304
sl@0
  6305
END_TESTCASE                  SEC-CIT_PREQ1054_01-0255
sl@0
  6306
sl@0
  6307
sl@0
  6308
sl@0
  6309
sl@0
  6310
sl@0
  6311
START_TESTCASE                SEC-CIT_PREQ1054_01-0256
sl@0
  6312
sl@0
  6313
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0256
sl@0
  6314
sl@0
  6315
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6316
sl@0
  6317
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6318
sl@0
  6319
//! @SYMTestPriority          medium
sl@0
  6320
sl@0
  6321
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6322
sl@0
  6323
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6324
sl@0
  6325
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6326
sl@0
  6327
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0256
sl@0
  6328
sl@0
  6329
END_TESTCASE                  SEC-CIT_PREQ1054_01-0256
sl@0
  6330
sl@0
  6331
sl@0
  6332
sl@0
  6333
sl@0
  6334
sl@0
  6335
START_TESTCASE                SEC-CIT_PREQ1054_01-0257
sl@0
  6336
sl@0
  6337
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0257
sl@0
  6338
sl@0
  6339
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6340
sl@0
  6341
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6342
sl@0
  6343
//! @SYMTestPriority          medium
sl@0
  6344
sl@0
  6345
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6346
sl@0
  6347
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6348
sl@0
  6349
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6350
sl@0
  6351
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0257
sl@0
  6352
sl@0
  6353
END_TESTCASE                  SEC-CIT_PREQ1054_01-0257
sl@0
  6354
sl@0
  6355
sl@0
  6356
sl@0
  6357
sl@0
  6358
sl@0
  6359
START_TESTCASE                SEC-CIT_PREQ1054_01-0258
sl@0
  6360
sl@0
  6361
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0258
sl@0
  6362
sl@0
  6363
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6364
sl@0
  6365
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6366
sl@0
  6367
//! @SYMTestPriority          medium
sl@0
  6368
sl@0
  6369
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6370
sl@0
  6371
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6372
sl@0
  6373
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6374
sl@0
  6375
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0258
sl@0
  6376
sl@0
  6377
END_TESTCASE                  SEC-CIT_PREQ1054_01-0258
sl@0
  6378
sl@0
  6379
sl@0
  6380
sl@0
  6381
sl@0
  6382
sl@0
  6383
START_TESTCASE                SEC-CIT_PREQ1054_01-0259
sl@0
  6384
sl@0
  6385
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0259
sl@0
  6386
sl@0
  6387
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6388
sl@0
  6389
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6390
sl@0
  6391
//! @SYMTestPriority          medium
sl@0
  6392
sl@0
  6393
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6394
sl@0
  6395
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6396
sl@0
  6397
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6398
sl@0
  6399
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0259
sl@0
  6400
sl@0
  6401
END_TESTCASE                  SEC-CIT_PREQ1054_01-0259
sl@0
  6402
sl@0
  6403
sl@0
  6404
sl@0
  6405
sl@0
  6406
sl@0
  6407
START_TESTCASE                SEC-CIT_PREQ1054_01-0260
sl@0
  6408
sl@0
  6409
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0260
sl@0
  6410
sl@0
  6411
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6412
sl@0
  6413
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6414
sl@0
  6415
//! @SYMTestPriority          medium
sl@0
  6416
sl@0
  6417
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6418
sl@0
  6419
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6420
sl@0
  6421
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6422
sl@0
  6423
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0260
sl@0
  6424
sl@0
  6425
END_TESTCASE                  SEC-CIT_PREQ1054_01-0260
sl@0
  6426
sl@0
  6427
sl@0
  6428
sl@0
  6429
sl@0
  6430
sl@0
  6431
START_TESTCASE                SEC-CIT_PREQ1054_01-0261
sl@0
  6432
sl@0
  6433
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0261
sl@0
  6434
sl@0
  6435
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6436
sl@0
  6437
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6438
sl@0
  6439
//! @SYMTestPriority          medium
sl@0
  6440
sl@0
  6441
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6442
sl@0
  6443
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6444
sl@0
  6445
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6446
sl@0
  6447
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0261
sl@0
  6448
sl@0
  6449
END_TESTCASE                  SEC-CIT_PREQ1054_01-0261
sl@0
  6450
sl@0
  6451
sl@0
  6452
sl@0
  6453
sl@0
  6454
sl@0
  6455
START_TESTCASE                SEC-CIT_PREQ1054_01-0262
sl@0
  6456
sl@0
  6457
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0262
sl@0
  6458
sl@0
  6459
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6460
sl@0
  6461
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6462
sl@0
  6463
//! @SYMTestPriority          medium
sl@0
  6464
sl@0
  6465
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6466
sl@0
  6467
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6468
sl@0
  6469
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6470
sl@0
  6471
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0262
sl@0
  6472
sl@0
  6473
END_TESTCASE                  SEC-CIT_PREQ1054_01-0262
sl@0
  6474
sl@0
  6475
sl@0
  6476
sl@0
  6477
sl@0
  6478
sl@0
  6479
START_TESTCASE                SEC-CIT_PREQ1054_01-0263
sl@0
  6480
sl@0
  6481
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0263
sl@0
  6482
sl@0
  6483
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6484
sl@0
  6485
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6486
sl@0
  6487
//! @SYMTestPriority          medium
sl@0
  6488
sl@0
  6489
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6490
sl@0
  6491
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6492
sl@0
  6493
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6494
sl@0
  6495
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0263
sl@0
  6496
sl@0
  6497
END_TESTCASE                  SEC-CIT_PREQ1054_01-0263
sl@0
  6498
sl@0
  6499
sl@0
  6500
sl@0
  6501
sl@0
  6502
sl@0
  6503
START_TESTCASE                SEC-CIT_PREQ1054_01-0264
sl@0
  6504
sl@0
  6505
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0264
sl@0
  6506
sl@0
  6507
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6508
sl@0
  6509
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6510
sl@0
  6511
//! @SYMTestPriority          medium
sl@0
  6512
sl@0
  6513
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6514
sl@0
  6515
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6516
sl@0
  6517
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6518
sl@0
  6519
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0264
sl@0
  6520
sl@0
  6521
END_TESTCASE                  SEC-CIT_PREQ1054_01-0264
sl@0
  6522
sl@0
  6523
sl@0
  6524
sl@0
  6525
sl@0
  6526
sl@0
  6527
START_TESTCASE                SEC-CIT_PREQ1054_01-0265
sl@0
  6528
sl@0
  6529
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0265
sl@0
  6530
sl@0
  6531
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6532
sl@0
  6533
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6534
sl@0
  6535
//! @SYMTestPriority          medium
sl@0
  6536
sl@0
  6537
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6538
sl@0
  6539
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6540
sl@0
  6541
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6542
sl@0
  6543
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0265
sl@0
  6544
sl@0
  6545
END_TESTCASE                  SEC-CIT_PREQ1054_01-0265
sl@0
  6546
sl@0
  6547
sl@0
  6548
sl@0
  6549
sl@0
  6550
sl@0
  6551
START_TESTCASE                SEC-CIT_PREQ1054_01-0266
sl@0
  6552
sl@0
  6553
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0266
sl@0
  6554
sl@0
  6555
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6556
sl@0
  6557
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6558
sl@0
  6559
//! @SYMTestPriority          medium
sl@0
  6560
sl@0
  6561
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6562
sl@0
  6563
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6564
sl@0
  6565
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6566
sl@0
  6567
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0266
sl@0
  6568
sl@0
  6569
END_TESTCASE                  SEC-CIT_PREQ1054_01-0266
sl@0
  6570
sl@0
  6571
sl@0
  6572
sl@0
  6573
sl@0
  6574
sl@0
  6575
START_TESTCASE                SEC-CIT_PREQ1054_01-0267
sl@0
  6576
sl@0
  6577
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0267
sl@0
  6578
sl@0
  6579
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6580
sl@0
  6581
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6582
sl@0
  6583
//! @SYMTestPriority          medium
sl@0
  6584
sl@0
  6585
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6586
sl@0
  6587
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6588
sl@0
  6589
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6590
sl@0
  6591
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0267
sl@0
  6592
sl@0
  6593
END_TESTCASE                  SEC-CIT_PREQ1054_01-0267
sl@0
  6594
sl@0
  6595
sl@0
  6596
sl@0
  6597
sl@0
  6598
sl@0
  6599
START_TESTCASE                SEC-CIT_PREQ1054_01-0268
sl@0
  6600
sl@0
  6601
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0268
sl@0
  6602
sl@0
  6603
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6604
sl@0
  6605
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6606
sl@0
  6607
//! @SYMTestPriority          medium
sl@0
  6608
sl@0
  6609
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6610
sl@0
  6611
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6612
sl@0
  6613
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6614
sl@0
  6615
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0268
sl@0
  6616
sl@0
  6617
END_TESTCASE                  SEC-CIT_PREQ1054_01-0268
sl@0
  6618
sl@0
  6619
sl@0
  6620
sl@0
  6621
sl@0
  6622
sl@0
  6623
START_TESTCASE                SEC-CIT_PREQ1054_01-0269
sl@0
  6624
sl@0
  6625
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0269
sl@0
  6626
sl@0
  6627
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6628
sl@0
  6629
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6630
sl@0
  6631
//! @SYMTestPriority          medium
sl@0
  6632
sl@0
  6633
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6634
sl@0
  6635
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6636
sl@0
  6637
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6638
sl@0
  6639
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0269
sl@0
  6640
sl@0
  6641
END_TESTCASE                  SEC-CIT_PREQ1054_01-0269
sl@0
  6642
sl@0
  6643
sl@0
  6644
sl@0
  6645
sl@0
  6646
sl@0
  6647
START_TESTCASE                SEC-CIT_PREQ1054_01-0270
sl@0
  6648
sl@0
  6649
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0270
sl@0
  6650
sl@0
  6651
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6652
sl@0
  6653
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6654
sl@0
  6655
//! @SYMTestPriority          medium
sl@0
  6656
sl@0
  6657
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6658
sl@0
  6659
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6660
sl@0
  6661
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6662
sl@0
  6663
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0270
sl@0
  6664
sl@0
  6665
END_TESTCASE                  SEC-CIT_PREQ1054_01-0270
sl@0
  6666
sl@0
  6667
sl@0
  6668
sl@0
  6669
sl@0
  6670
sl@0
  6671
START_TESTCASE                SEC-CIT_PREQ1054_01-0271
sl@0
  6672
sl@0
  6673
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0271
sl@0
  6674
sl@0
  6675
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6676
sl@0
  6677
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6678
sl@0
  6679
//! @SYMTestPriority          medium
sl@0
  6680
sl@0
  6681
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6682
sl@0
  6683
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6684
sl@0
  6685
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6686
sl@0
  6687
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0271
sl@0
  6688
sl@0
  6689
END_TESTCASE                  SEC-CIT_PREQ1054_01-0271
sl@0
  6690
sl@0
  6691
sl@0
  6692
sl@0
  6693
sl@0
  6694
sl@0
  6695
START_TESTCASE                SEC-CIT_PREQ1054_01-0272
sl@0
  6696
sl@0
  6697
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0272
sl@0
  6698
sl@0
  6699
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6700
sl@0
  6701
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6702
sl@0
  6703
//! @SYMTestPriority          medium
sl@0
  6704
sl@0
  6705
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6706
sl@0
  6707
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6708
sl@0
  6709
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6710
sl@0
  6711
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0272
sl@0
  6712
sl@0
  6713
END_TESTCASE                  SEC-CIT_PREQ1054_01-0272
sl@0
  6714
sl@0
  6715
sl@0
  6716
sl@0
  6717
sl@0
  6718
sl@0
  6719
START_TESTCASE                SEC-CIT_PREQ1054_01-0273
sl@0
  6720
sl@0
  6721
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0273
sl@0
  6722
sl@0
  6723
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6724
sl@0
  6725
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6726
sl@0
  6727
//! @SYMTestPriority          medium
sl@0
  6728
sl@0
  6729
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6730
sl@0
  6731
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6732
sl@0
  6733
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6734
sl@0
  6735
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0273
sl@0
  6736
sl@0
  6737
END_TESTCASE                  SEC-CIT_PREQ1054_01-0273
sl@0
  6738
sl@0
  6739
sl@0
  6740
sl@0
  6741
sl@0
  6742
sl@0
  6743
START_TESTCASE                SEC-CIT_PREQ1054_01-0274
sl@0
  6744
sl@0
  6745
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0274
sl@0
  6746
sl@0
  6747
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6748
sl@0
  6749
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6750
sl@0
  6751
//! @SYMTestPriority          medium
sl@0
  6752
sl@0
  6753
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6754
sl@0
  6755
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6756
sl@0
  6757
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6758
sl@0
  6759
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0274
sl@0
  6760
sl@0
  6761
END_TESTCASE                  SEC-CIT_PREQ1054_01-0274
sl@0
  6762
sl@0
  6763
sl@0
  6764
sl@0
  6765
sl@0
  6766
sl@0
  6767
START_TESTCASE                SEC-CIT_PREQ1054_01-0275
sl@0
  6768
sl@0
  6769
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0275
sl@0
  6770
sl@0
  6771
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6772
sl@0
  6773
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6774
sl@0
  6775
//! @SYMTestPriority          medium
sl@0
  6776
sl@0
  6777
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6778
sl@0
  6779
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6780
sl@0
  6781
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  6782
sl@0
  6783
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0275
sl@0
  6784
sl@0
  6785
END_TESTCASE                  SEC-CIT_PREQ1054_01-0275
sl@0
  6786
sl@0
  6787
sl@0
  6788
sl@0
  6789
sl@0
  6790
sl@0
  6791
START_TESTCASE                SEC-CIT_PREQ1054_01-0276
sl@0
  6792
sl@0
  6793
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0276
sl@0
  6794
sl@0
  6795
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6796
sl@0
  6797
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6798
sl@0
  6799
//! @SYMTestPriority          medium
sl@0
  6800
sl@0
  6801
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6802
sl@0
  6803
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6804
sl@0
  6805
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6806
sl@0
  6807
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0276
sl@0
  6808
sl@0
  6809
END_TESTCASE                  SEC-CIT_PREQ1054_01-0276
sl@0
  6810
sl@0
  6811
sl@0
  6812
sl@0
  6813
sl@0
  6814
sl@0
  6815
START_TESTCASE                SEC-CIT_PREQ1054_01-0277
sl@0
  6816
sl@0
  6817
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0277
sl@0
  6818
sl@0
  6819
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6820
sl@0
  6821
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6822
sl@0
  6823
//! @SYMTestPriority          medium
sl@0
  6824
sl@0
  6825
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6826
sl@0
  6827
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6828
sl@0
  6829
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6830
sl@0
  6831
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0277
sl@0
  6832
sl@0
  6833
END_TESTCASE                  SEC-CIT_PREQ1054_01-0277
sl@0
  6834
sl@0
  6835
sl@0
  6836
sl@0
  6837
sl@0
  6838
sl@0
  6839
START_TESTCASE                SEC-CIT_PREQ1054_01-0278
sl@0
  6840
sl@0
  6841
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0278
sl@0
  6842
sl@0
  6843
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6844
sl@0
  6845
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6846
sl@0
  6847
//! @SYMTestPriority          medium
sl@0
  6848
sl@0
  6849
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6850
sl@0
  6851
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6852
sl@0
  6853
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6854
sl@0
  6855
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0278
sl@0
  6856
sl@0
  6857
END_TESTCASE                  SEC-CIT_PREQ1054_01-0278
sl@0
  6858
sl@0
  6859
sl@0
  6860
sl@0
  6861
sl@0
  6862
sl@0
  6863
START_TESTCASE                SEC-CIT_PREQ1054_01-0279
sl@0
  6864
sl@0
  6865
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0279
sl@0
  6866
sl@0
  6867
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6868
sl@0
  6869
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6870
sl@0
  6871
//! @SYMTestPriority          medium
sl@0
  6872
sl@0
  6873
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6874
sl@0
  6875
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6876
sl@0
  6877
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6878
sl@0
  6879
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0279
sl@0
  6880
sl@0
  6881
END_TESTCASE                  SEC-CIT_PREQ1054_01-0279
sl@0
  6882
sl@0
  6883
sl@0
  6884
sl@0
  6885
sl@0
  6886
sl@0
  6887
START_TESTCASE                SEC-CIT_PREQ1054_01-0280
sl@0
  6888
sl@0
  6889
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0280
sl@0
  6890
sl@0
  6891
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6892
sl@0
  6893
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6894
sl@0
  6895
//! @SYMTestPriority          medium
sl@0
  6896
sl@0
  6897
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6898
sl@0
  6899
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6900
sl@0
  6901
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  6902
sl@0
  6903
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0280
sl@0
  6904
sl@0
  6905
END_TESTCASE                  SEC-CIT_PREQ1054_01-0280
sl@0
  6906
sl@0
  6907
sl@0
  6908
sl@0
  6909
sl@0
  6910
sl@0
  6911
START_TESTCASE                SEC-CIT_PREQ1054_01-0281
sl@0
  6912
sl@0
  6913
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0281
sl@0
  6914
sl@0
  6915
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6916
sl@0
  6917
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6918
sl@0
  6919
//! @SYMTestPriority          medium
sl@0
  6920
sl@0
  6921
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6922
sl@0
  6923
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6924
sl@0
  6925
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6926
sl@0
  6927
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0281
sl@0
  6928
sl@0
  6929
END_TESTCASE                  SEC-CIT_PREQ1054_01-0281
sl@0
  6930
sl@0
  6931
sl@0
  6932
sl@0
  6933
sl@0
  6934
sl@0
  6935
START_TESTCASE                SEC-CIT_PREQ1054_01-0282
sl@0
  6936
sl@0
  6937
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0282
sl@0
  6938
sl@0
  6939
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6940
sl@0
  6941
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6942
sl@0
  6943
//! @SYMTestPriority          medium
sl@0
  6944
sl@0
  6945
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6946
sl@0
  6947
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6948
sl@0
  6949
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6950
sl@0
  6951
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0282
sl@0
  6952
sl@0
  6953
END_TESTCASE                  SEC-CIT_PREQ1054_01-0282
sl@0
  6954
sl@0
  6955
sl@0
  6956
sl@0
  6957
sl@0
  6958
sl@0
  6959
START_TESTCASE                SEC-CIT_PREQ1054_01-0283
sl@0
  6960
sl@0
  6961
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0283
sl@0
  6962
sl@0
  6963
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6964
sl@0
  6965
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6966
sl@0
  6967
//! @SYMTestPriority          medium
sl@0
  6968
sl@0
  6969
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6970
sl@0
  6971
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6972
sl@0
  6973
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6974
sl@0
  6975
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0283
sl@0
  6976
sl@0
  6977
END_TESTCASE                  SEC-CIT_PREQ1054_01-0283
sl@0
  6978
sl@0
  6979
sl@0
  6980
sl@0
  6981
sl@0
  6982
sl@0
  6983
START_TESTCASE                SEC-CIT_PREQ1054_01-0284
sl@0
  6984
sl@0
  6985
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0284
sl@0
  6986
sl@0
  6987
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  6988
sl@0
  6989
//! @SYMREQ                   CIT_PREQ1054
sl@0
  6990
sl@0
  6991
//! @SYMTestPriority          medium
sl@0
  6992
sl@0
  6993
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  6994
sl@0
  6995
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  6996
sl@0
  6997
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  6998
sl@0
  6999
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0284
sl@0
  7000
sl@0
  7001
END_TESTCASE                  SEC-CIT_PREQ1054_01-0284
sl@0
  7002
sl@0
  7003
sl@0
  7004
sl@0
  7005
sl@0
  7006
sl@0
  7007
START_TESTCASE                SEC-CIT_PREQ1054_01-0285
sl@0
  7008
sl@0
  7009
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0285
sl@0
  7010
sl@0
  7011
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7012
sl@0
  7013
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7014
sl@0
  7015
//! @SYMTestPriority          medium
sl@0
  7016
sl@0
  7017
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7018
sl@0
  7019
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7020
sl@0
  7021
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7022
sl@0
  7023
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0285
sl@0
  7024
sl@0
  7025
END_TESTCASE                  SEC-CIT_PREQ1054_01-0285
sl@0
  7026
sl@0
  7027
sl@0
  7028
sl@0
  7029
sl@0
  7030
sl@0
  7031
START_TESTCASE                SEC-CIT_PREQ1054_01-0286
sl@0
  7032
sl@0
  7033
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0286
sl@0
  7034
sl@0
  7035
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7036
sl@0
  7037
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7038
sl@0
  7039
//! @SYMTestPriority          medium
sl@0
  7040
sl@0
  7041
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7042
sl@0
  7043
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7044
sl@0
  7045
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7046
sl@0
  7047
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0286
sl@0
  7048
sl@0
  7049
END_TESTCASE                  SEC-CIT_PREQ1054_01-0286
sl@0
  7050
sl@0
  7051
sl@0
  7052
sl@0
  7053
sl@0
  7054
sl@0
  7055
START_TESTCASE                SEC-CIT_PREQ1054_01-0287
sl@0
  7056
sl@0
  7057
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0287
sl@0
  7058
sl@0
  7059
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7060
sl@0
  7061
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7062
sl@0
  7063
//! @SYMTestPriority          medium
sl@0
  7064
sl@0
  7065
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7066
sl@0
  7067
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7068
sl@0
  7069
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7070
sl@0
  7071
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0287
sl@0
  7072
sl@0
  7073
END_TESTCASE                  SEC-CIT_PREQ1054_01-0287
sl@0
  7074
sl@0
  7075
sl@0
  7076
sl@0
  7077
sl@0
  7078
sl@0
  7079
START_TESTCASE                SEC-CIT_PREQ1054_01-0288
sl@0
  7080
sl@0
  7081
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0288
sl@0
  7082
sl@0
  7083
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7084
sl@0
  7085
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7086
sl@0
  7087
//! @SYMTestPriority          medium
sl@0
  7088
sl@0
  7089
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7090
sl@0
  7091
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7092
sl@0
  7093
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7094
sl@0
  7095
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0288
sl@0
  7096
sl@0
  7097
END_TESTCASE                  SEC-CIT_PREQ1054_01-0288
sl@0
  7098
sl@0
  7099
sl@0
  7100
sl@0
  7101
sl@0
  7102
sl@0
  7103
START_TESTCASE                SEC-CIT_PREQ1054_01-0289
sl@0
  7104
sl@0
  7105
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0289
sl@0
  7106
sl@0
  7107
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7108
sl@0
  7109
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7110
sl@0
  7111
//! @SYMTestPriority          medium
sl@0
  7112
sl@0
  7113
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7114
sl@0
  7115
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7116
sl@0
  7117
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7118
sl@0
  7119
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0289
sl@0
  7120
sl@0
  7121
END_TESTCASE                  SEC-CIT_PREQ1054_01-0289
sl@0
  7122
sl@0
  7123
sl@0
  7124
sl@0
  7125
sl@0
  7126
sl@0
  7127
START_TESTCASE                SEC-CIT_PREQ1054_01-0290
sl@0
  7128
sl@0
  7129
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0290
sl@0
  7130
sl@0
  7131
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7132
sl@0
  7133
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7134
sl@0
  7135
//! @SYMTestPriority          medium
sl@0
  7136
sl@0
  7137
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7138
sl@0
  7139
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7140
sl@0
  7141
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7142
sl@0
  7143
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0290
sl@0
  7144
sl@0
  7145
END_TESTCASE                  SEC-CIT_PREQ1054_01-0290
sl@0
  7146
sl@0
  7147
sl@0
  7148
sl@0
  7149
sl@0
  7150
sl@0
  7151
START_TESTCASE                SEC-CIT_PREQ1054_01-0291
sl@0
  7152
sl@0
  7153
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0291
sl@0
  7154
sl@0
  7155
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7156
sl@0
  7157
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7158
sl@0
  7159
//! @SYMTestPriority          medium
sl@0
  7160
sl@0
  7161
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7162
sl@0
  7163
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7164
sl@0
  7165
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7166
sl@0
  7167
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0291
sl@0
  7168
sl@0
  7169
END_TESTCASE                  SEC-CIT_PREQ1054_01-0291
sl@0
  7170
sl@0
  7171
sl@0
  7172
sl@0
  7173
sl@0
  7174
sl@0
  7175
START_TESTCASE                SEC-CIT_PREQ1054_01-0292
sl@0
  7176
sl@0
  7177
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0292
sl@0
  7178
sl@0
  7179
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7180
sl@0
  7181
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7182
sl@0
  7183
//! @SYMTestPriority          medium
sl@0
  7184
sl@0
  7185
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7186
sl@0
  7187
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7188
sl@0
  7189
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7190
sl@0
  7191
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0292
sl@0
  7192
sl@0
  7193
END_TESTCASE                  SEC-CIT_PREQ1054_01-0292
sl@0
  7194
sl@0
  7195
sl@0
  7196
sl@0
  7197
sl@0
  7198
sl@0
  7199
START_TESTCASE                SEC-CIT_PREQ1054_01-0293
sl@0
  7200
sl@0
  7201
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0293
sl@0
  7202
sl@0
  7203
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7204
sl@0
  7205
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7206
sl@0
  7207
//! @SYMTestPriority          medium
sl@0
  7208
sl@0
  7209
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7210
sl@0
  7211
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7212
sl@0
  7213
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7214
sl@0
  7215
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0293
sl@0
  7216
sl@0
  7217
END_TESTCASE                  SEC-CIT_PREQ1054_01-0293
sl@0
  7218
sl@0
  7219
sl@0
  7220
sl@0
  7221
sl@0
  7222
sl@0
  7223
START_TESTCASE                SEC-CIT_PREQ1054_01-0294
sl@0
  7224
sl@0
  7225
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0294
sl@0
  7226
sl@0
  7227
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7228
sl@0
  7229
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7230
sl@0
  7231
//! @SYMTestPriority          medium
sl@0
  7232
sl@0
  7233
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7234
sl@0
  7235
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7236
sl@0
  7237
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7238
sl@0
  7239
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0294
sl@0
  7240
sl@0
  7241
END_TESTCASE                  SEC-CIT_PREQ1054_01-0294
sl@0
  7242
sl@0
  7243
sl@0
  7244
sl@0
  7245
sl@0
  7246
sl@0
  7247
START_TESTCASE                SEC-CIT_PREQ1054_01-0295
sl@0
  7248
sl@0
  7249
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0295
sl@0
  7250
sl@0
  7251
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7252
sl@0
  7253
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7254
sl@0
  7255
//! @SYMTestPriority          medium
sl@0
  7256
sl@0
  7257
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7258
sl@0
  7259
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7260
sl@0
  7261
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7262
sl@0
  7263
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0295
sl@0
  7264
sl@0
  7265
END_TESTCASE                  SEC-CIT_PREQ1054_01-0295
sl@0
  7266
sl@0
  7267
sl@0
  7268
sl@0
  7269
sl@0
  7270
sl@0
  7271
START_TESTCASE                SEC-CIT_PREQ1054_01-0296
sl@0
  7272
sl@0
  7273
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0296
sl@0
  7274
sl@0
  7275
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7276
sl@0
  7277
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7278
sl@0
  7279
//! @SYMTestPriority          medium
sl@0
  7280
sl@0
  7281
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7282
sl@0
  7283
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7284
sl@0
  7285
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7286
sl@0
  7287
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0296
sl@0
  7288
sl@0
  7289
END_TESTCASE                  SEC-CIT_PREQ1054_01-0296
sl@0
  7290
sl@0
  7291
sl@0
  7292
sl@0
  7293
sl@0
  7294
sl@0
  7295
START_TESTCASE                SEC-CIT_PREQ1054_01-0297
sl@0
  7296
sl@0
  7297
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0297
sl@0
  7298
sl@0
  7299
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7300
sl@0
  7301
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7302
sl@0
  7303
//! @SYMTestPriority          medium
sl@0
  7304
sl@0
  7305
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7306
sl@0
  7307
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7308
sl@0
  7309
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7310
sl@0
  7311
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0297
sl@0
  7312
sl@0
  7313
END_TESTCASE                  SEC-CIT_PREQ1054_01-0297
sl@0
  7314
sl@0
  7315
sl@0
  7316
sl@0
  7317
sl@0
  7318
sl@0
  7319
START_TESTCASE                SEC-CIT_PREQ1054_01-0298
sl@0
  7320
sl@0
  7321
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0298
sl@0
  7322
sl@0
  7323
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7324
sl@0
  7325
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7326
sl@0
  7327
//! @SYMTestPriority          medium
sl@0
  7328
sl@0
  7329
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7330
sl@0
  7331
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7332
sl@0
  7333
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7334
sl@0
  7335
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0298
sl@0
  7336
sl@0
  7337
END_TESTCASE                  SEC-CIT_PREQ1054_01-0298
sl@0
  7338
sl@0
  7339
sl@0
  7340
sl@0
  7341
sl@0
  7342
sl@0
  7343
START_TESTCASE                SEC-CIT_PREQ1054_01-0299
sl@0
  7344
sl@0
  7345
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0299
sl@0
  7346
sl@0
  7347
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7348
sl@0
  7349
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7350
sl@0
  7351
//! @SYMTestPriority          medium
sl@0
  7352
sl@0
  7353
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7354
sl@0
  7355
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7356
sl@0
  7357
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7358
sl@0
  7359
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0299
sl@0
  7360
sl@0
  7361
END_TESTCASE                  SEC-CIT_PREQ1054_01-0299
sl@0
  7362
sl@0
  7363
sl@0
  7364
sl@0
  7365
sl@0
  7366
sl@0
  7367
START_TESTCASE                SEC-CIT_PREQ1054_01-0300
sl@0
  7368
sl@0
  7369
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0300
sl@0
  7370
sl@0
  7371
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7372
sl@0
  7373
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7374
sl@0
  7375
//! @SYMTestPriority          medium
sl@0
  7376
sl@0
  7377
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7378
sl@0
  7379
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7380
sl@0
  7381
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7382
sl@0
  7383
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0300
sl@0
  7384
sl@0
  7385
END_TESTCASE                  SEC-CIT_PREQ1054_01-0300
sl@0
  7386
sl@0
  7387
sl@0
  7388
sl@0
  7389
sl@0
  7390
sl@0
  7391
START_TESTCASE                SEC-CIT_PREQ1054_01-0301
sl@0
  7392
sl@0
  7393
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0301
sl@0
  7394
sl@0
  7395
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7396
sl@0
  7397
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7398
sl@0
  7399
//! @SYMTestPriority          medium
sl@0
  7400
sl@0
  7401
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7402
sl@0
  7403
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7404
sl@0
  7405
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7406
sl@0
  7407
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0301
sl@0
  7408
sl@0
  7409
END_TESTCASE                  SEC-CIT_PREQ1054_01-0301
sl@0
  7410
sl@0
  7411
sl@0
  7412
sl@0
  7413
sl@0
  7414
sl@0
  7415
START_TESTCASE                SEC-CIT_PREQ1054_01-0302
sl@0
  7416
sl@0
  7417
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0302
sl@0
  7418
sl@0
  7419
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7420
sl@0
  7421
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7422
sl@0
  7423
//! @SYMTestPriority          medium
sl@0
  7424
sl@0
  7425
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7426
sl@0
  7427
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7428
sl@0
  7429
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7430
sl@0
  7431
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0302
sl@0
  7432
sl@0
  7433
END_TESTCASE                  SEC-CIT_PREQ1054_01-0302
sl@0
  7434
sl@0
  7435
sl@0
  7436
sl@0
  7437
sl@0
  7438
sl@0
  7439
START_TESTCASE                SEC-CIT_PREQ1054_01-0303
sl@0
  7440
sl@0
  7441
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0303
sl@0
  7442
sl@0
  7443
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7444
sl@0
  7445
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7446
sl@0
  7447
//! @SYMTestPriority          medium
sl@0
  7448
sl@0
  7449
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7450
sl@0
  7451
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7452
sl@0
  7453
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7454
sl@0
  7455
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0303
sl@0
  7456
sl@0
  7457
END_TESTCASE                  SEC-CIT_PREQ1054_01-0303
sl@0
  7458
sl@0
  7459
sl@0
  7460
sl@0
  7461
sl@0
  7462
sl@0
  7463
START_TESTCASE                SEC-CIT_PREQ1054_01-0304
sl@0
  7464
sl@0
  7465
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0304
sl@0
  7466
sl@0
  7467
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7468
sl@0
  7469
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7470
sl@0
  7471
//! @SYMTestPriority          medium
sl@0
  7472
sl@0
  7473
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7474
sl@0
  7475
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7476
sl@0
  7477
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7478
sl@0
  7479
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0304
sl@0
  7480
sl@0
  7481
END_TESTCASE                  SEC-CIT_PREQ1054_01-0304
sl@0
  7482
sl@0
  7483
sl@0
  7484
sl@0
  7485
sl@0
  7486
sl@0
  7487
START_TESTCASE                SEC-CIT_PREQ1054_01-0305
sl@0
  7488
sl@0
  7489
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0305
sl@0
  7490
sl@0
  7491
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7492
sl@0
  7493
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7494
sl@0
  7495
//! @SYMTestPriority          medium
sl@0
  7496
sl@0
  7497
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7498
sl@0
  7499
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7500
sl@0
  7501
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7502
sl@0
  7503
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0305
sl@0
  7504
sl@0
  7505
END_TESTCASE                  SEC-CIT_PREQ1054_01-0305
sl@0
  7506
sl@0
  7507
sl@0
  7508
sl@0
  7509
sl@0
  7510
sl@0
  7511
START_TESTCASE                SEC-CIT_PREQ1054_01-0306
sl@0
  7512
sl@0
  7513
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0306
sl@0
  7514
sl@0
  7515
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7516
sl@0
  7517
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7518
sl@0
  7519
//! @SYMTestPriority          medium
sl@0
  7520
sl@0
  7521
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7522
sl@0
  7523
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7524
sl@0
  7525
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7526
sl@0
  7527
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0306
sl@0
  7528
sl@0
  7529
END_TESTCASE                  SEC-CIT_PREQ1054_01-0306
sl@0
  7530
sl@0
  7531
sl@0
  7532
sl@0
  7533
sl@0
  7534
sl@0
  7535
START_TESTCASE                SEC-CIT_PREQ1054_01-0307
sl@0
  7536
sl@0
  7537
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0307
sl@0
  7538
sl@0
  7539
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7540
sl@0
  7541
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7542
sl@0
  7543
//! @SYMTestPriority          medium
sl@0
  7544
sl@0
  7545
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7546
sl@0
  7547
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7548
sl@0
  7549
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7550
sl@0
  7551
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0307
sl@0
  7552
sl@0
  7553
END_TESTCASE                  SEC-CIT_PREQ1054_01-0307
sl@0
  7554
sl@0
  7555
sl@0
  7556
sl@0
  7557
sl@0
  7558
sl@0
  7559
START_TESTCASE                SEC-CIT_PREQ1054_01-0308
sl@0
  7560
sl@0
  7561
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0308
sl@0
  7562
sl@0
  7563
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7564
sl@0
  7565
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7566
sl@0
  7567
//! @SYMTestPriority          medium
sl@0
  7568
sl@0
  7569
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7570
sl@0
  7571
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7572
sl@0
  7573
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7574
sl@0
  7575
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0308
sl@0
  7576
sl@0
  7577
END_TESTCASE                  SEC-CIT_PREQ1054_01-0308
sl@0
  7578
sl@0
  7579
sl@0
  7580
sl@0
  7581
sl@0
  7582
sl@0
  7583
START_TESTCASE                SEC-CIT_PREQ1054_01-0309
sl@0
  7584
sl@0
  7585
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0309
sl@0
  7586
sl@0
  7587
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7588
sl@0
  7589
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7590
sl@0
  7591
//! @SYMTestPriority          medium
sl@0
  7592
sl@0
  7593
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7594
sl@0
  7595
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7596
sl@0
  7597
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7598
sl@0
  7599
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0309
sl@0
  7600
sl@0
  7601
END_TESTCASE                  SEC-CIT_PREQ1054_01-0309
sl@0
  7602
sl@0
  7603
sl@0
  7604
sl@0
  7605
sl@0
  7606
sl@0
  7607
START_TESTCASE                SEC-CIT_PREQ1054_01-0310
sl@0
  7608
sl@0
  7609
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0310
sl@0
  7610
sl@0
  7611
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7612
sl@0
  7613
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7614
sl@0
  7615
//! @SYMTestPriority          medium
sl@0
  7616
sl@0
  7617
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7618
sl@0
  7619
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7620
sl@0
  7621
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7622
sl@0
  7623
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0310
sl@0
  7624
sl@0
  7625
END_TESTCASE                  SEC-CIT_PREQ1054_01-0310
sl@0
  7626
sl@0
  7627
sl@0
  7628
sl@0
  7629
sl@0
  7630
sl@0
  7631
START_TESTCASE                SEC-CIT_PREQ1054_01-0311
sl@0
  7632
sl@0
  7633
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0311
sl@0
  7634
sl@0
  7635
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7636
sl@0
  7637
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7638
sl@0
  7639
//! @SYMTestPriority          medium
sl@0
  7640
sl@0
  7641
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7642
sl@0
  7643
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7644
sl@0
  7645
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7646
sl@0
  7647
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0311
sl@0
  7648
sl@0
  7649
END_TESTCASE                  SEC-CIT_PREQ1054_01-0311
sl@0
  7650
sl@0
  7651
sl@0
  7652
sl@0
  7653
sl@0
  7654
sl@0
  7655
START_TESTCASE                SEC-CIT_PREQ1054_01-0312
sl@0
  7656
sl@0
  7657
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0312
sl@0
  7658
sl@0
  7659
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7660
sl@0
  7661
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7662
sl@0
  7663
//! @SYMTestPriority          medium
sl@0
  7664
sl@0
  7665
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7666
sl@0
  7667
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7668
sl@0
  7669
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7670
sl@0
  7671
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0312
sl@0
  7672
sl@0
  7673
END_TESTCASE                  SEC-CIT_PREQ1054_01-0312
sl@0
  7674
sl@0
  7675
sl@0
  7676
sl@0
  7677
sl@0
  7678
sl@0
  7679
START_TESTCASE                SEC-CIT_PREQ1054_01-0313
sl@0
  7680
sl@0
  7681
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0313
sl@0
  7682
sl@0
  7683
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7684
sl@0
  7685
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7686
sl@0
  7687
//! @SYMTestPriority          medium
sl@0
  7688
sl@0
  7689
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7690
sl@0
  7691
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7692
sl@0
  7693
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7694
sl@0
  7695
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0313
sl@0
  7696
sl@0
  7697
END_TESTCASE                  SEC-CIT_PREQ1054_01-0313
sl@0
  7698
sl@0
  7699
sl@0
  7700
sl@0
  7701
sl@0
  7702
sl@0
  7703
START_TESTCASE                SEC-CIT_PREQ1054_01-0314
sl@0
  7704
sl@0
  7705
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0314
sl@0
  7706
sl@0
  7707
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7708
sl@0
  7709
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7710
sl@0
  7711
//! @SYMTestPriority          medium
sl@0
  7712
sl@0
  7713
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7714
sl@0
  7715
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7716
sl@0
  7717
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7718
sl@0
  7719
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0314
sl@0
  7720
sl@0
  7721
END_TESTCASE                  SEC-CIT_PREQ1054_01-0314
sl@0
  7722
sl@0
  7723
sl@0
  7724
sl@0
  7725
sl@0
  7726
sl@0
  7727
START_TESTCASE                SEC-CIT_PREQ1054_01-0315
sl@0
  7728
sl@0
  7729
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0315
sl@0
  7730
sl@0
  7731
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7732
sl@0
  7733
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7734
sl@0
  7735
//! @SYMTestPriority          medium
sl@0
  7736
sl@0
  7737
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7738
sl@0
  7739
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7740
sl@0
  7741
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  7742
sl@0
  7743
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0315
sl@0
  7744
sl@0
  7745
END_TESTCASE                  SEC-CIT_PREQ1054_01-0315
sl@0
  7746
sl@0
  7747
sl@0
  7748
sl@0
  7749
sl@0
  7750
sl@0
  7751
START_TESTCASE                SEC-CIT_PREQ1054_01-0316
sl@0
  7752
sl@0
  7753
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0316
sl@0
  7754
sl@0
  7755
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7756
sl@0
  7757
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7758
sl@0
  7759
//! @SYMTestPriority          medium
sl@0
  7760
sl@0
  7761
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7762
sl@0
  7763
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7764
sl@0
  7765
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7766
sl@0
  7767
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0316
sl@0
  7768
sl@0
  7769
END_TESTCASE                  SEC-CIT_PREQ1054_01-0316
sl@0
  7770
sl@0
  7771
sl@0
  7772
sl@0
  7773
sl@0
  7774
sl@0
  7775
START_TESTCASE                SEC-CIT_PREQ1054_01-0317
sl@0
  7776
sl@0
  7777
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0317
sl@0
  7778
sl@0
  7779
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7780
sl@0
  7781
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7782
sl@0
  7783
//! @SYMTestPriority          medium
sl@0
  7784
sl@0
  7785
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7786
sl@0
  7787
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7788
sl@0
  7789
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7790
sl@0
  7791
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0317
sl@0
  7792
sl@0
  7793
END_TESTCASE                  SEC-CIT_PREQ1054_01-0317
sl@0
  7794
sl@0
  7795
sl@0
  7796
sl@0
  7797
sl@0
  7798
sl@0
  7799
START_TESTCASE                SEC-CIT_PREQ1054_01-0318
sl@0
  7800
sl@0
  7801
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0318
sl@0
  7802
sl@0
  7803
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7804
sl@0
  7805
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7806
sl@0
  7807
//! @SYMTestPriority          medium
sl@0
  7808
sl@0
  7809
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7810
sl@0
  7811
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7812
sl@0
  7813
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7814
sl@0
  7815
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0318
sl@0
  7816
sl@0
  7817
END_TESTCASE                  SEC-CIT_PREQ1054_01-0318
sl@0
  7818
sl@0
  7819
sl@0
  7820
sl@0
  7821
sl@0
  7822
sl@0
  7823
START_TESTCASE                SEC-CIT_PREQ1054_01-0319
sl@0
  7824
sl@0
  7825
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0319
sl@0
  7826
sl@0
  7827
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7828
sl@0
  7829
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7830
sl@0
  7831
//! @SYMTestPriority          medium
sl@0
  7832
sl@0
  7833
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7834
sl@0
  7835
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7836
sl@0
  7837
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7838
sl@0
  7839
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0319
sl@0
  7840
sl@0
  7841
END_TESTCASE                  SEC-CIT_PREQ1054_01-0319
sl@0
  7842
sl@0
  7843
sl@0
  7844
sl@0
  7845
sl@0
  7846
sl@0
  7847
START_TESTCASE                SEC-CIT_PREQ1054_01-0320
sl@0
  7848
sl@0
  7849
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0320
sl@0
  7850
sl@0
  7851
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7852
sl@0
  7853
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7854
sl@0
  7855
//! @SYMTestPriority          medium
sl@0
  7856
sl@0
  7857
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7858
sl@0
  7859
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7860
sl@0
  7861
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  7862
sl@0
  7863
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0320
sl@0
  7864
sl@0
  7865
END_TESTCASE                  SEC-CIT_PREQ1054_01-0320
sl@0
  7866
sl@0
  7867
sl@0
  7868
sl@0
  7869
sl@0
  7870
sl@0
  7871
START_TESTCASE                SEC-CIT_PREQ1054_01-0321
sl@0
  7872
sl@0
  7873
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0321
sl@0
  7874
sl@0
  7875
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7876
sl@0
  7877
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7878
sl@0
  7879
//! @SYMTestPriority          medium
sl@0
  7880
sl@0
  7881
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7882
sl@0
  7883
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7884
sl@0
  7885
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7886
sl@0
  7887
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0321
sl@0
  7888
sl@0
  7889
END_TESTCASE                  SEC-CIT_PREQ1054_01-0321
sl@0
  7890
sl@0
  7891
sl@0
  7892
sl@0
  7893
sl@0
  7894
sl@0
  7895
START_TESTCASE                SEC-CIT_PREQ1054_01-0322
sl@0
  7896
sl@0
  7897
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0322
sl@0
  7898
sl@0
  7899
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7900
sl@0
  7901
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7902
sl@0
  7903
//! @SYMTestPriority          medium
sl@0
  7904
sl@0
  7905
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7906
sl@0
  7907
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7908
sl@0
  7909
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7910
sl@0
  7911
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0322
sl@0
  7912
sl@0
  7913
END_TESTCASE                  SEC-CIT_PREQ1054_01-0322
sl@0
  7914
sl@0
  7915
sl@0
  7916
sl@0
  7917
sl@0
  7918
sl@0
  7919
START_TESTCASE                SEC-CIT_PREQ1054_01-0323
sl@0
  7920
sl@0
  7921
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0323
sl@0
  7922
sl@0
  7923
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7924
sl@0
  7925
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7926
sl@0
  7927
//! @SYMTestPriority          medium
sl@0
  7928
sl@0
  7929
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7930
sl@0
  7931
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7932
sl@0
  7933
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7934
sl@0
  7935
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0323
sl@0
  7936
sl@0
  7937
END_TESTCASE                  SEC-CIT_PREQ1054_01-0323
sl@0
  7938
sl@0
  7939
sl@0
  7940
sl@0
  7941
sl@0
  7942
sl@0
  7943
START_TESTCASE                SEC-CIT_PREQ1054_01-0324
sl@0
  7944
sl@0
  7945
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0324
sl@0
  7946
sl@0
  7947
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7948
sl@0
  7949
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7950
sl@0
  7951
//! @SYMTestPriority          medium
sl@0
  7952
sl@0
  7953
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7954
sl@0
  7955
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7956
sl@0
  7957
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7958
sl@0
  7959
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0324
sl@0
  7960
sl@0
  7961
END_TESTCASE                  SEC-CIT_PREQ1054_01-0324
sl@0
  7962
sl@0
  7963
sl@0
  7964
sl@0
  7965
sl@0
  7966
sl@0
  7967
START_TESTCASE                SEC-CIT_PREQ1054_01-0325
sl@0
  7968
sl@0
  7969
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0325
sl@0
  7970
sl@0
  7971
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7972
sl@0
  7973
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7974
sl@0
  7975
//! @SYMTestPriority          medium
sl@0
  7976
sl@0
  7977
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  7978
sl@0
  7979
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  7980
sl@0
  7981
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  7982
sl@0
  7983
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0325
sl@0
  7984
sl@0
  7985
END_TESTCASE                  SEC-CIT_PREQ1054_01-0325
sl@0
  7986
sl@0
  7987
sl@0
  7988
sl@0
  7989
sl@0
  7990
sl@0
  7991
START_TESTCASE                SEC-CIT_PREQ1054_01-0326
sl@0
  7992
sl@0
  7993
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0326
sl@0
  7994
sl@0
  7995
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  7996
sl@0
  7997
//! @SYMREQ                   CIT_PREQ1054
sl@0
  7998
sl@0
  7999
//! @SYMTestPriority          medium
sl@0
  8000
sl@0
  8001
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8002
sl@0
  8003
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8004
sl@0
  8005
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8006
sl@0
  8007
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0326
sl@0
  8008
sl@0
  8009
END_TESTCASE                  SEC-CIT_PREQ1054_01-0326
sl@0
  8010
sl@0
  8011
sl@0
  8012
sl@0
  8013
sl@0
  8014
sl@0
  8015
START_TESTCASE                SEC-CIT_PREQ1054_01-0327
sl@0
  8016
sl@0
  8017
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0327
sl@0
  8018
sl@0
  8019
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8020
sl@0
  8021
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8022
sl@0
  8023
//! @SYMTestPriority          medium
sl@0
  8024
sl@0
  8025
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8026
sl@0
  8027
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8028
sl@0
  8029
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8030
sl@0
  8031
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0327
sl@0
  8032
sl@0
  8033
END_TESTCASE                  SEC-CIT_PREQ1054_01-0327
sl@0
  8034
sl@0
  8035
sl@0
  8036
sl@0
  8037
sl@0
  8038
sl@0
  8039
START_TESTCASE                SEC-CIT_PREQ1054_01-0328
sl@0
  8040
sl@0
  8041
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0328
sl@0
  8042
sl@0
  8043
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8044
sl@0
  8045
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8046
sl@0
  8047
//! @SYMTestPriority          medium
sl@0
  8048
sl@0
  8049
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8050
sl@0
  8051
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8052
sl@0
  8053
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8054
sl@0
  8055
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0328
sl@0
  8056
sl@0
  8057
END_TESTCASE                  SEC-CIT_PREQ1054_01-0328
sl@0
  8058
sl@0
  8059
sl@0
  8060
sl@0
  8061
sl@0
  8062
sl@0
  8063
START_TESTCASE                SEC-CIT_PREQ1054_01-0329
sl@0
  8064
sl@0
  8065
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0329
sl@0
  8066
sl@0
  8067
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8068
sl@0
  8069
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8070
sl@0
  8071
//! @SYMTestPriority          medium
sl@0
  8072
sl@0
  8073
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8074
sl@0
  8075
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8076
sl@0
  8077
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8078
sl@0
  8079
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0329
sl@0
  8080
sl@0
  8081
END_TESTCASE                  SEC-CIT_PREQ1054_01-0329
sl@0
  8082
sl@0
  8083
sl@0
  8084
sl@0
  8085
sl@0
  8086
sl@0
  8087
START_TESTCASE                SEC-CIT_PREQ1054_01-0330
sl@0
  8088
sl@0
  8089
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0330
sl@0
  8090
sl@0
  8091
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8092
sl@0
  8093
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8094
sl@0
  8095
//! @SYMTestPriority          medium
sl@0
  8096
sl@0
  8097
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8098
sl@0
  8099
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8100
sl@0
  8101
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8102
sl@0
  8103
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0330
sl@0
  8104
sl@0
  8105
END_TESTCASE                  SEC-CIT_PREQ1054_01-0330
sl@0
  8106
sl@0
  8107
sl@0
  8108
sl@0
  8109
sl@0
  8110
sl@0
  8111
START_TESTCASE                SEC-CIT_PREQ1054_01-0331
sl@0
  8112
sl@0
  8113
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0331
sl@0
  8114
sl@0
  8115
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8116
sl@0
  8117
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8118
sl@0
  8119
//! @SYMTestPriority          medium
sl@0
  8120
sl@0
  8121
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8122
sl@0
  8123
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8124
sl@0
  8125
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8126
sl@0
  8127
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0331
sl@0
  8128
sl@0
  8129
END_TESTCASE                  SEC-CIT_PREQ1054_01-0331
sl@0
  8130
sl@0
  8131
sl@0
  8132
sl@0
  8133
sl@0
  8134
sl@0
  8135
START_TESTCASE                SEC-CIT_PREQ1054_01-0332
sl@0
  8136
sl@0
  8137
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0332
sl@0
  8138
sl@0
  8139
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8140
sl@0
  8141
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8142
sl@0
  8143
//! @SYMTestPriority          medium
sl@0
  8144
sl@0
  8145
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8146
sl@0
  8147
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8148
sl@0
  8149
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8150
sl@0
  8151
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0332
sl@0
  8152
sl@0
  8153
END_TESTCASE                  SEC-CIT_PREQ1054_01-0332
sl@0
  8154
sl@0
  8155
sl@0
  8156
sl@0
  8157
sl@0
  8158
sl@0
  8159
START_TESTCASE                SEC-CIT_PREQ1054_01-0333
sl@0
  8160
sl@0
  8161
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0333
sl@0
  8162
sl@0
  8163
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8164
sl@0
  8165
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8166
sl@0
  8167
//! @SYMTestPriority          medium
sl@0
  8168
sl@0
  8169
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8170
sl@0
  8171
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8172
sl@0
  8173
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8174
sl@0
  8175
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0333
sl@0
  8176
sl@0
  8177
END_TESTCASE                  SEC-CIT_PREQ1054_01-0333
sl@0
  8178
sl@0
  8179
sl@0
  8180
sl@0
  8181
sl@0
  8182
sl@0
  8183
START_TESTCASE                SEC-CIT_PREQ1054_01-0334
sl@0
  8184
sl@0
  8185
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0334
sl@0
  8186
sl@0
  8187
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8188
sl@0
  8189
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8190
sl@0
  8191
//! @SYMTestPriority          medium
sl@0
  8192
sl@0
  8193
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8194
sl@0
  8195
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8196
sl@0
  8197
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8198
sl@0
  8199
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0334
sl@0
  8200
sl@0
  8201
END_TESTCASE                  SEC-CIT_PREQ1054_01-0334
sl@0
  8202
sl@0
  8203
sl@0
  8204
sl@0
  8205
sl@0
  8206
sl@0
  8207
START_TESTCASE                SEC-CIT_PREQ1054_01-0335
sl@0
  8208
sl@0
  8209
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0335
sl@0
  8210
sl@0
  8211
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8212
sl@0
  8213
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8214
sl@0
  8215
//! @SYMTestPriority          medium
sl@0
  8216
sl@0
  8217
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8218
sl@0
  8219
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8220
sl@0
  8221
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8222
sl@0
  8223
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0335
sl@0
  8224
sl@0
  8225
END_TESTCASE                  SEC-CIT_PREQ1054_01-0335
sl@0
  8226
sl@0
  8227
sl@0
  8228
sl@0
  8229
sl@0
  8230
sl@0
  8231
START_TESTCASE                SEC-CIT_PREQ1054_01-0336
sl@0
  8232
sl@0
  8233
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0336
sl@0
  8234
sl@0
  8235
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8236
sl@0
  8237
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8238
sl@0
  8239
//! @SYMTestPriority          medium
sl@0
  8240
sl@0
  8241
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8242
sl@0
  8243
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8244
sl@0
  8245
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8246
sl@0
  8247
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0336
sl@0
  8248
sl@0
  8249
END_TESTCASE                  SEC-CIT_PREQ1054_01-0336
sl@0
  8250
sl@0
  8251
sl@0
  8252
sl@0
  8253
sl@0
  8254
sl@0
  8255
START_TESTCASE                SEC-CIT_PREQ1054_01-0337
sl@0
  8256
sl@0
  8257
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0337
sl@0
  8258
sl@0
  8259
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8260
sl@0
  8261
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8262
sl@0
  8263
//! @SYMTestPriority          medium
sl@0
  8264
sl@0
  8265
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8266
sl@0
  8267
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8268
sl@0
  8269
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8270
sl@0
  8271
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0337
sl@0
  8272
sl@0
  8273
END_TESTCASE                  SEC-CIT_PREQ1054_01-0337
sl@0
  8274
sl@0
  8275
sl@0
  8276
sl@0
  8277
sl@0
  8278
sl@0
  8279
START_TESTCASE                SEC-CIT_PREQ1054_01-0338
sl@0
  8280
sl@0
  8281
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0338
sl@0
  8282
sl@0
  8283
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8284
sl@0
  8285
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8286
sl@0
  8287
//! @SYMTestPriority          medium
sl@0
  8288
sl@0
  8289
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8290
sl@0
  8291
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8292
sl@0
  8293
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8294
sl@0
  8295
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0338
sl@0
  8296
sl@0
  8297
END_TESTCASE                  SEC-CIT_PREQ1054_01-0338
sl@0
  8298
sl@0
  8299
sl@0
  8300
sl@0
  8301
sl@0
  8302
sl@0
  8303
START_TESTCASE                SEC-CIT_PREQ1054_01-0339
sl@0
  8304
sl@0
  8305
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0339
sl@0
  8306
sl@0
  8307
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8308
sl@0
  8309
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8310
sl@0
  8311
//! @SYMTestPriority          medium
sl@0
  8312
sl@0
  8313
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8314
sl@0
  8315
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8316
sl@0
  8317
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8318
sl@0
  8319
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0339
sl@0
  8320
sl@0
  8321
END_TESTCASE                  SEC-CIT_PREQ1054_01-0339
sl@0
  8322
sl@0
  8323
sl@0
  8324
sl@0
  8325
sl@0
  8326
sl@0
  8327
START_TESTCASE                SEC-CIT_PREQ1054_01-0340
sl@0
  8328
sl@0
  8329
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0340
sl@0
  8330
sl@0
  8331
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8332
sl@0
  8333
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8334
sl@0
  8335
//! @SYMTestPriority          medium
sl@0
  8336
sl@0
  8337
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8338
sl@0
  8339
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8340
sl@0
  8341
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8342
sl@0
  8343
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0340
sl@0
  8344
sl@0
  8345
END_TESTCASE                  SEC-CIT_PREQ1054_01-0340
sl@0
  8346
sl@0
  8347
sl@0
  8348
sl@0
  8349
sl@0
  8350
sl@0
  8351
START_TESTCASE                SEC-CIT_PREQ1054_01-0341
sl@0
  8352
sl@0
  8353
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0341
sl@0
  8354
sl@0
  8355
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8356
sl@0
  8357
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8358
sl@0
  8359
//! @SYMTestPriority          medium
sl@0
  8360
sl@0
  8361
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8362
sl@0
  8363
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8364
sl@0
  8365
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8366
sl@0
  8367
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0341
sl@0
  8368
sl@0
  8369
END_TESTCASE                  SEC-CIT_PREQ1054_01-0341
sl@0
  8370
sl@0
  8371
sl@0
  8372
sl@0
  8373
sl@0
  8374
sl@0
  8375
START_TESTCASE                SEC-CIT_PREQ1054_01-0342
sl@0
  8376
sl@0
  8377
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0342
sl@0
  8378
sl@0
  8379
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8380
sl@0
  8381
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8382
sl@0
  8383
//! @SYMTestPriority          medium
sl@0
  8384
sl@0
  8385
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8386
sl@0
  8387
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8388
sl@0
  8389
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8390
sl@0
  8391
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0342
sl@0
  8392
sl@0
  8393
END_TESTCASE                  SEC-CIT_PREQ1054_01-0342
sl@0
  8394
sl@0
  8395
sl@0
  8396
sl@0
  8397
sl@0
  8398
sl@0
  8399
START_TESTCASE                SEC-CIT_PREQ1054_01-0343
sl@0
  8400
sl@0
  8401
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0343
sl@0
  8402
sl@0
  8403
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8404
sl@0
  8405
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8406
sl@0
  8407
//! @SYMTestPriority          medium
sl@0
  8408
sl@0
  8409
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8410
sl@0
  8411
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8412
sl@0
  8413
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8414
sl@0
  8415
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0343
sl@0
  8416
sl@0
  8417
END_TESTCASE                  SEC-CIT_PREQ1054_01-0343
sl@0
  8418
sl@0
  8419
sl@0
  8420
sl@0
  8421
sl@0
  8422
sl@0
  8423
START_TESTCASE                SEC-CIT_PREQ1054_01-0344
sl@0
  8424
sl@0
  8425
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0344
sl@0
  8426
sl@0
  8427
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8428
sl@0
  8429
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8430
sl@0
  8431
//! @SYMTestPriority          medium
sl@0
  8432
sl@0
  8433
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8434
sl@0
  8435
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8436
sl@0
  8437
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8438
sl@0
  8439
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0344
sl@0
  8440
sl@0
  8441
END_TESTCASE                  SEC-CIT_PREQ1054_01-0344
sl@0
  8442
sl@0
  8443
sl@0
  8444
sl@0
  8445
sl@0
  8446
sl@0
  8447
START_TESTCASE                SEC-CIT_PREQ1054_01-0345
sl@0
  8448
sl@0
  8449
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0345
sl@0
  8450
sl@0
  8451
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8452
sl@0
  8453
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8454
sl@0
  8455
//! @SYMTestPriority          medium
sl@0
  8456
sl@0
  8457
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8458
sl@0
  8459
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8460
sl@0
  8461
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8462
sl@0
  8463
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0345
sl@0
  8464
sl@0
  8465
END_TESTCASE                  SEC-CIT_PREQ1054_01-0345
sl@0
  8466
sl@0
  8467
sl@0
  8468
sl@0
  8469
sl@0
  8470
sl@0
  8471
START_TESTCASE                SEC-CIT_PREQ1054_01-0346
sl@0
  8472
sl@0
  8473
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0346
sl@0
  8474
sl@0
  8475
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8476
sl@0
  8477
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8478
sl@0
  8479
//! @SYMTestPriority          medium
sl@0
  8480
sl@0
  8481
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8482
sl@0
  8483
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8484
sl@0
  8485
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8486
sl@0
  8487
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0346
sl@0
  8488
sl@0
  8489
END_TESTCASE                  SEC-CIT_PREQ1054_01-0346
sl@0
  8490
sl@0
  8491
sl@0
  8492
sl@0
  8493
sl@0
  8494
sl@0
  8495
START_TESTCASE                SEC-CIT_PREQ1054_01-0347
sl@0
  8496
sl@0
  8497
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0347
sl@0
  8498
sl@0
  8499
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8500
sl@0
  8501
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8502
sl@0
  8503
//! @SYMTestPriority          medium
sl@0
  8504
sl@0
  8505
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8506
sl@0
  8507
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8508
sl@0
  8509
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8510
sl@0
  8511
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0347
sl@0
  8512
sl@0
  8513
END_TESTCASE                  SEC-CIT_PREQ1054_01-0347
sl@0
  8514
sl@0
  8515
sl@0
  8516
sl@0
  8517
sl@0
  8518
sl@0
  8519
START_TESTCASE                SEC-CIT_PREQ1054_01-0348
sl@0
  8520
sl@0
  8521
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0348
sl@0
  8522
sl@0
  8523
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8524
sl@0
  8525
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8526
sl@0
  8527
//! @SYMTestPriority          medium
sl@0
  8528
sl@0
  8529
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8530
sl@0
  8531
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8532
sl@0
  8533
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8534
sl@0
  8535
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0348
sl@0
  8536
sl@0
  8537
END_TESTCASE                  SEC-CIT_PREQ1054_01-0348
sl@0
  8538
sl@0
  8539
sl@0
  8540
sl@0
  8541
sl@0
  8542
sl@0
  8543
START_TESTCASE                SEC-CIT_PREQ1054_01-0349
sl@0
  8544
sl@0
  8545
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0349
sl@0
  8546
sl@0
  8547
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8548
sl@0
  8549
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8550
sl@0
  8551
//! @SYMTestPriority          medium
sl@0
  8552
sl@0
  8553
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8554
sl@0
  8555
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8556
sl@0
  8557
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8558
sl@0
  8559
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0349
sl@0
  8560
sl@0
  8561
END_TESTCASE                  SEC-CIT_PREQ1054_01-0349
sl@0
  8562
sl@0
  8563
sl@0
  8564
sl@0
  8565
sl@0
  8566
sl@0
  8567
START_TESTCASE                SEC-CIT_PREQ1054_01-0350
sl@0
  8568
sl@0
  8569
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0350
sl@0
  8570
sl@0
  8571
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8572
sl@0
  8573
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8574
sl@0
  8575
//! @SYMTestPriority          medium
sl@0
  8576
sl@0
  8577
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8578
sl@0
  8579
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8580
sl@0
  8581
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 4
sl@0
  8582
sl@0
  8583
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0350
sl@0
  8584
sl@0
  8585
END_TESTCASE                  SEC-CIT_PREQ1054_01-0350
sl@0
  8586
sl@0
  8587
sl@0
  8588
sl@0
  8589
sl@0
  8590
sl@0
  8591
START_TESTCASE                SEC-CIT_PREQ1054_01-0351
sl@0
  8592
sl@0
  8593
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0351
sl@0
  8594
sl@0
  8595
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8596
sl@0
  8597
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8598
sl@0
  8599
//! @SYMTestPriority          medium
sl@0
  8600
sl@0
  8601
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8602
sl@0
  8603
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8604
sl@0
  8605
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8606
sl@0
  8607
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0351
sl@0
  8608
sl@0
  8609
END_TESTCASE                  SEC-CIT_PREQ1054_01-0351
sl@0
  8610
sl@0
  8611
sl@0
  8612
sl@0
  8613
sl@0
  8614
sl@0
  8615
START_TESTCASE                SEC-CIT_PREQ1054_01-0352
sl@0
  8616
sl@0
  8617
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0352
sl@0
  8618
sl@0
  8619
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8620
sl@0
  8621
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8622
sl@0
  8623
//! @SYMTestPriority          medium
sl@0
  8624
sl@0
  8625
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8626
sl@0
  8627
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8628
sl@0
  8629
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8630
sl@0
  8631
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0352
sl@0
  8632
sl@0
  8633
END_TESTCASE                  SEC-CIT_PREQ1054_01-0352
sl@0
  8634
sl@0
  8635
sl@0
  8636
sl@0
  8637
sl@0
  8638
sl@0
  8639
START_TESTCASE                SEC-CIT_PREQ1054_01-0353
sl@0
  8640
sl@0
  8641
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0353
sl@0
  8642
sl@0
  8643
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8644
sl@0
  8645
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8646
sl@0
  8647
//! @SYMTestPriority          medium
sl@0
  8648
sl@0
  8649
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8650
sl@0
  8651
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8652
sl@0
  8653
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8654
sl@0
  8655
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0353
sl@0
  8656
sl@0
  8657
END_TESTCASE                  SEC-CIT_PREQ1054_01-0353
sl@0
  8658
sl@0
  8659
sl@0
  8660
sl@0
  8661
sl@0
  8662
sl@0
  8663
START_TESTCASE                SEC-CIT_PREQ1054_01-0354
sl@0
  8664
sl@0
  8665
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0354
sl@0
  8666
sl@0
  8667
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8668
sl@0
  8669
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8670
sl@0
  8671
//! @SYMTestPriority          medium
sl@0
  8672
sl@0
  8673
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8674
sl@0
  8675
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8676
sl@0
  8677
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8678
sl@0
  8679
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0354
sl@0
  8680
sl@0
  8681
END_TESTCASE                  SEC-CIT_PREQ1054_01-0354
sl@0
  8682
sl@0
  8683
sl@0
  8684
sl@0
  8685
sl@0
  8686
sl@0
  8687
START_TESTCASE                SEC-CIT_PREQ1054_01-0355
sl@0
  8688
sl@0
  8689
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0355
sl@0
  8690
sl@0
  8691
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8692
sl@0
  8693
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8694
sl@0
  8695
//! @SYMTestPriority          medium
sl@0
  8696
sl@0
  8697
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8698
sl@0
  8699
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8700
sl@0
  8701
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 20
sl@0
  8702
sl@0
  8703
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0355
sl@0
  8704
sl@0
  8705
END_TESTCASE                  SEC-CIT_PREQ1054_01-0355
sl@0
  8706
sl@0
  8707
sl@0
  8708
sl@0
  8709
sl@0
  8710
sl@0
  8711
START_TESTCASE                SEC-CIT_PREQ1054_01-0356
sl@0
  8712
sl@0
  8713
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0356
sl@0
  8714
sl@0
  8715
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8716
sl@0
  8717
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8718
sl@0
  8719
//! @SYMTestPriority          medium
sl@0
  8720
sl@0
  8721
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8722
sl@0
  8723
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8724
sl@0
  8725
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8726
sl@0
  8727
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0356
sl@0
  8728
sl@0
  8729
END_TESTCASE                  SEC-CIT_PREQ1054_01-0356
sl@0
  8730
sl@0
  8731
sl@0
  8732
sl@0
  8733
sl@0
  8734
sl@0
  8735
START_TESTCASE                SEC-CIT_PREQ1054_01-0357
sl@0
  8736
sl@0
  8737
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0357
sl@0
  8738
sl@0
  8739
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8740
sl@0
  8741
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8742
sl@0
  8743
//! @SYMTestPriority          medium
sl@0
  8744
sl@0
  8745
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8746
sl@0
  8747
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8748
sl@0
  8749
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8750
sl@0
  8751
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0357
sl@0
  8752
sl@0
  8753
END_TESTCASE                  SEC-CIT_PREQ1054_01-0357
sl@0
  8754
sl@0
  8755
sl@0
  8756
sl@0
  8757
sl@0
  8758
sl@0
  8759
START_TESTCASE                SEC-CIT_PREQ1054_01-0358
sl@0
  8760
sl@0
  8761
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0358
sl@0
  8762
sl@0
  8763
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8764
sl@0
  8765
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8766
sl@0
  8767
//! @SYMTestPriority          medium
sl@0
  8768
sl@0
  8769
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8770
sl@0
  8771
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8772
sl@0
  8773
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8774
sl@0
  8775
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0358
sl@0
  8776
sl@0
  8777
END_TESTCASE                  SEC-CIT_PREQ1054_01-0358
sl@0
  8778
sl@0
  8779
sl@0
  8780
sl@0
  8781
sl@0
  8782
sl@0
  8783
START_TESTCASE                SEC-CIT_PREQ1054_01-0359
sl@0
  8784
sl@0
  8785
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0359
sl@0
  8786
sl@0
  8787
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8788
sl@0
  8789
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8790
sl@0
  8791
//! @SYMTestPriority          medium
sl@0
  8792
sl@0
  8793
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8794
sl@0
  8795
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8796
sl@0
  8797
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8798
sl@0
  8799
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0359
sl@0
  8800
sl@0
  8801
END_TESTCASE                  SEC-CIT_PREQ1054_01-0359
sl@0
  8802
sl@0
  8803
sl@0
  8804
sl@0
  8805
sl@0
  8806
sl@0
  8807
START_TESTCASE                SEC-CIT_PREQ1054_01-0360
sl@0
  8808
sl@0
  8809
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0360
sl@0
  8810
sl@0
  8811
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8812
sl@0
  8813
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8814
sl@0
  8815
//! @SYMTestPriority          medium
sl@0
  8816
sl@0
  8817
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8818
sl@0
  8819
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8820
sl@0
  8821
//! @SYMTestActions           1) PKCS#12 KDF, key len = 168, salt len = 25
sl@0
  8822
sl@0
  8823
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0360
sl@0
  8824
sl@0
  8825
END_TESTCASE                  SEC-CIT_PREQ1054_01-0360
sl@0
  8826
sl@0
  8827
sl@0
  8828
sl@0
  8829
sl@0
  8830
sl@0
  8831
START_TESTCASE                SEC-CIT_PREQ1054_01-0361
sl@0
  8832
sl@0
  8833
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0361
sl@0
  8834
sl@0
  8835
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8836
sl@0
  8837
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8838
sl@0
  8839
//! @SYMTestPriority          medium
sl@0
  8840
sl@0
  8841
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8842
sl@0
  8843
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8844
sl@0
  8845
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  8846
sl@0
  8847
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0361
sl@0
  8848
sl@0
  8849
END_TESTCASE                  SEC-CIT_PREQ1054_01-0361
sl@0
  8850
sl@0
  8851
sl@0
  8852
sl@0
  8853
sl@0
  8854
sl@0
  8855
START_TESTCASE                SEC-CIT_PREQ1054_01-0362
sl@0
  8856
sl@0
  8857
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0362
sl@0
  8858
sl@0
  8859
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8860
sl@0
  8861
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8862
sl@0
  8863
//! @SYMTestPriority          medium
sl@0
  8864
sl@0
  8865
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8866
sl@0
  8867
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8868
sl@0
  8869
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  8870
sl@0
  8871
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0362
sl@0
  8872
sl@0
  8873
END_TESTCASE                  SEC-CIT_PREQ1054_01-0362
sl@0
  8874
sl@0
  8875
sl@0
  8876
sl@0
  8877
sl@0
  8878
sl@0
  8879
START_TESTCASE                SEC-CIT_PREQ1054_01-0363
sl@0
  8880
sl@0
  8881
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0363
sl@0
  8882
sl@0
  8883
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8884
sl@0
  8885
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8886
sl@0
  8887
//! @SYMTestPriority          medium
sl@0
  8888
sl@0
  8889
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8890
sl@0
  8891
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8892
sl@0
  8893
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  8894
sl@0
  8895
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0363
sl@0
  8896
sl@0
  8897
END_TESTCASE                  SEC-CIT_PREQ1054_01-0363
sl@0
  8898
sl@0
  8899
sl@0
  8900
sl@0
  8901
sl@0
  8902
sl@0
  8903
START_TESTCASE                SEC-CIT_PREQ1054_01-0364
sl@0
  8904
sl@0
  8905
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0364
sl@0
  8906
sl@0
  8907
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8908
sl@0
  8909
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8910
sl@0
  8911
//! @SYMTestPriority          medium
sl@0
  8912
sl@0
  8913
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8914
sl@0
  8915
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8916
sl@0
  8917
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  8918
sl@0
  8919
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0364
sl@0
  8920
sl@0
  8921
END_TESTCASE                  SEC-CIT_PREQ1054_01-0364
sl@0
  8922
sl@0
  8923
sl@0
  8924
sl@0
  8925
sl@0
  8926
sl@0
  8927
START_TESTCASE                SEC-CIT_PREQ1054_01-0365
sl@0
  8928
sl@0
  8929
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0365
sl@0
  8930
sl@0
  8931
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8932
sl@0
  8933
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8934
sl@0
  8935
//! @SYMTestPriority          medium
sl@0
  8936
sl@0
  8937
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8938
sl@0
  8939
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8940
sl@0
  8941
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  8942
sl@0
  8943
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0365
sl@0
  8944
sl@0
  8945
END_TESTCASE                  SEC-CIT_PREQ1054_01-0365
sl@0
  8946
sl@0
  8947
sl@0
  8948
sl@0
  8949
sl@0
  8950
sl@0
  8951
START_TESTCASE                SEC-CIT_PREQ1054_01-0366
sl@0
  8952
sl@0
  8953
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0366
sl@0
  8954
sl@0
  8955
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8956
sl@0
  8957
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8958
sl@0
  8959
//! @SYMTestPriority          medium
sl@0
  8960
sl@0
  8961
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8962
sl@0
  8963
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8964
sl@0
  8965
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  8966
sl@0
  8967
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0366
sl@0
  8968
sl@0
  8969
END_TESTCASE                  SEC-CIT_PREQ1054_01-0366
sl@0
  8970
sl@0
  8971
sl@0
  8972
sl@0
  8973
sl@0
  8974
sl@0
  8975
START_TESTCASE                SEC-CIT_PREQ1054_01-0367
sl@0
  8976
sl@0
  8977
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0367
sl@0
  8978
sl@0
  8979
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  8980
sl@0
  8981
//! @SYMREQ                   CIT_PREQ1054
sl@0
  8982
sl@0
  8983
//! @SYMTestPriority          medium
sl@0
  8984
sl@0
  8985
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  8986
sl@0
  8987
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  8988
sl@0
  8989
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  8990
sl@0
  8991
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0367
sl@0
  8992
sl@0
  8993
END_TESTCASE                  SEC-CIT_PREQ1054_01-0367
sl@0
  8994
sl@0
  8995
sl@0
  8996
sl@0
  8997
sl@0
  8998
sl@0
  8999
START_TESTCASE                SEC-CIT_PREQ1054_01-0368
sl@0
  9000
sl@0
  9001
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0368
sl@0
  9002
sl@0
  9003
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9004
sl@0
  9005
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9006
sl@0
  9007
//! @SYMTestPriority          medium
sl@0
  9008
sl@0
  9009
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9010
sl@0
  9011
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9012
sl@0
  9013
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9014
sl@0
  9015
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0368
sl@0
  9016
sl@0
  9017
END_TESTCASE                  SEC-CIT_PREQ1054_01-0368
sl@0
  9018
sl@0
  9019
sl@0
  9020
sl@0
  9021
sl@0
  9022
sl@0
  9023
START_TESTCASE                SEC-CIT_PREQ1054_01-0369
sl@0
  9024
sl@0
  9025
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0369
sl@0
  9026
sl@0
  9027
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9028
sl@0
  9029
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9030
sl@0
  9031
//! @SYMTestPriority          medium
sl@0
  9032
sl@0
  9033
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9034
sl@0
  9035
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9036
sl@0
  9037
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9038
sl@0
  9039
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0369
sl@0
  9040
sl@0
  9041
END_TESTCASE                  SEC-CIT_PREQ1054_01-0369
sl@0
  9042
sl@0
  9043
sl@0
  9044
sl@0
  9045
sl@0
  9046
sl@0
  9047
START_TESTCASE                SEC-CIT_PREQ1054_01-0370
sl@0
  9048
sl@0
  9049
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0370
sl@0
  9050
sl@0
  9051
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9052
sl@0
  9053
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9054
sl@0
  9055
//! @SYMTestPriority          medium
sl@0
  9056
sl@0
  9057
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9058
sl@0
  9059
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9060
sl@0
  9061
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9062
sl@0
  9063
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0370
sl@0
  9064
sl@0
  9065
END_TESTCASE                  SEC-CIT_PREQ1054_01-0370
sl@0
  9066
sl@0
  9067
sl@0
  9068
sl@0
  9069
sl@0
  9070
sl@0
  9071
START_TESTCASE                SEC-CIT_PREQ1054_01-0371
sl@0
  9072
sl@0
  9073
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0371
sl@0
  9074
sl@0
  9075
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9076
sl@0
  9077
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9078
sl@0
  9079
//! @SYMTestPriority          medium
sl@0
  9080
sl@0
  9081
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9082
sl@0
  9083
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9084
sl@0
  9085
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9086
sl@0
  9087
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0371
sl@0
  9088
sl@0
  9089
END_TESTCASE                  SEC-CIT_PREQ1054_01-0371
sl@0
  9090
sl@0
  9091
sl@0
  9092
sl@0
  9093
sl@0
  9094
sl@0
  9095
START_TESTCASE                SEC-CIT_PREQ1054_01-0372
sl@0
  9096
sl@0
  9097
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0372
sl@0
  9098
sl@0
  9099
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9100
sl@0
  9101
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9102
sl@0
  9103
//! @SYMTestPriority          medium
sl@0
  9104
sl@0
  9105
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9106
sl@0
  9107
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9108
sl@0
  9109
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9110
sl@0
  9111
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0372
sl@0
  9112
sl@0
  9113
END_TESTCASE                  SEC-CIT_PREQ1054_01-0372
sl@0
  9114
sl@0
  9115
sl@0
  9116
sl@0
  9117
sl@0
  9118
sl@0
  9119
START_TESTCASE                SEC-CIT_PREQ1054_01-0373
sl@0
  9120
sl@0
  9121
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0373
sl@0
  9122
sl@0
  9123
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9124
sl@0
  9125
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9126
sl@0
  9127
//! @SYMTestPriority          medium
sl@0
  9128
sl@0
  9129
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9130
sl@0
  9131
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9132
sl@0
  9133
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9134
sl@0
  9135
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0373
sl@0
  9136
sl@0
  9137
END_TESTCASE                  SEC-CIT_PREQ1054_01-0373
sl@0
  9138
sl@0
  9139
sl@0
  9140
sl@0
  9141
sl@0
  9142
sl@0
  9143
START_TESTCASE                SEC-CIT_PREQ1054_01-0374
sl@0
  9144
sl@0
  9145
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0374
sl@0
  9146
sl@0
  9147
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9148
sl@0
  9149
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9150
sl@0
  9151
//! @SYMTestPriority          medium
sl@0
  9152
sl@0
  9153
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9154
sl@0
  9155
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9156
sl@0
  9157
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9158
sl@0
  9159
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0374
sl@0
  9160
sl@0
  9161
END_TESTCASE                  SEC-CIT_PREQ1054_01-0374
sl@0
  9162
sl@0
  9163
sl@0
  9164
sl@0
  9165
sl@0
  9166
sl@0
  9167
START_TESTCASE                SEC-CIT_PREQ1054_01-0375
sl@0
  9168
sl@0
  9169
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0375
sl@0
  9170
sl@0
  9171
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9172
sl@0
  9173
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9174
sl@0
  9175
//! @SYMTestPriority          medium
sl@0
  9176
sl@0
  9177
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9178
sl@0
  9179
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9180
sl@0
  9181
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9182
sl@0
  9183
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0375
sl@0
  9184
sl@0
  9185
END_TESTCASE                  SEC-CIT_PREQ1054_01-0375
sl@0
  9186
sl@0
  9187
sl@0
  9188
sl@0
  9189
sl@0
  9190
sl@0
  9191
START_TESTCASE                SEC-CIT_PREQ1054_01-0376
sl@0
  9192
sl@0
  9193
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0376
sl@0
  9194
sl@0
  9195
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9196
sl@0
  9197
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9198
sl@0
  9199
//! @SYMTestPriority          medium
sl@0
  9200
sl@0
  9201
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9202
sl@0
  9203
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9204
sl@0
  9205
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9206
sl@0
  9207
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0376
sl@0
  9208
sl@0
  9209
END_TESTCASE                  SEC-CIT_PREQ1054_01-0376
sl@0
  9210
sl@0
  9211
sl@0
  9212
sl@0
  9213
sl@0
  9214
sl@0
  9215
START_TESTCASE                SEC-CIT_PREQ1054_01-0377
sl@0
  9216
sl@0
  9217
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0377
sl@0
  9218
sl@0
  9219
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9220
sl@0
  9221
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9222
sl@0
  9223
//! @SYMTestPriority          medium
sl@0
  9224
sl@0
  9225
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9226
sl@0
  9227
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9228
sl@0
  9229
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9230
sl@0
  9231
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0377
sl@0
  9232
sl@0
  9233
END_TESTCASE                  SEC-CIT_PREQ1054_01-0377
sl@0
  9234
sl@0
  9235
sl@0
  9236
sl@0
  9237
sl@0
  9238
sl@0
  9239
START_TESTCASE                SEC-CIT_PREQ1054_01-0378
sl@0
  9240
sl@0
  9241
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0378
sl@0
  9242
sl@0
  9243
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9244
sl@0
  9245
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9246
sl@0
  9247
//! @SYMTestPriority          medium
sl@0
  9248
sl@0
  9249
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9250
sl@0
  9251
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9252
sl@0
  9253
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9254
sl@0
  9255
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0378
sl@0
  9256
sl@0
  9257
END_TESTCASE                  SEC-CIT_PREQ1054_01-0378
sl@0
  9258
sl@0
  9259
sl@0
  9260
sl@0
  9261
sl@0
  9262
sl@0
  9263
START_TESTCASE                SEC-CIT_PREQ1054_01-0379
sl@0
  9264
sl@0
  9265
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0379
sl@0
  9266
sl@0
  9267
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9268
sl@0
  9269
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9270
sl@0
  9271
//! @SYMTestPriority          medium
sl@0
  9272
sl@0
  9273
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9274
sl@0
  9275
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9276
sl@0
  9277
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9278
sl@0
  9279
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0379
sl@0
  9280
sl@0
  9281
END_TESTCASE                  SEC-CIT_PREQ1054_01-0379
sl@0
  9282
sl@0
  9283
sl@0
  9284
sl@0
  9285
sl@0
  9286
sl@0
  9287
START_TESTCASE                SEC-CIT_PREQ1054_01-0380
sl@0
  9288
sl@0
  9289
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0380
sl@0
  9290
sl@0
  9291
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9292
sl@0
  9293
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9294
sl@0
  9295
//! @SYMTestPriority          medium
sl@0
  9296
sl@0
  9297
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9298
sl@0
  9299
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9300
sl@0
  9301
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9302
sl@0
  9303
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0380
sl@0
  9304
sl@0
  9305
END_TESTCASE                  SEC-CIT_PREQ1054_01-0380
sl@0
  9306
sl@0
  9307
sl@0
  9308
sl@0
  9309
sl@0
  9310
sl@0
  9311
START_TESTCASE                SEC-CIT_PREQ1054_01-0381
sl@0
  9312
sl@0
  9313
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0381
sl@0
  9314
sl@0
  9315
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9316
sl@0
  9317
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9318
sl@0
  9319
//! @SYMTestPriority          medium
sl@0
  9320
sl@0
  9321
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9322
sl@0
  9323
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9324
sl@0
  9325
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9326
sl@0
  9327
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0381
sl@0
  9328
sl@0
  9329
END_TESTCASE                  SEC-CIT_PREQ1054_01-0381
sl@0
  9330
sl@0
  9331
sl@0
  9332
sl@0
  9333
sl@0
  9334
sl@0
  9335
START_TESTCASE                SEC-CIT_PREQ1054_01-0382
sl@0
  9336
sl@0
  9337
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0382
sl@0
  9338
sl@0
  9339
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9340
sl@0
  9341
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9342
sl@0
  9343
//! @SYMTestPriority          medium
sl@0
  9344
sl@0
  9345
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9346
sl@0
  9347
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9348
sl@0
  9349
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9350
sl@0
  9351
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0382
sl@0
  9352
sl@0
  9353
END_TESTCASE                  SEC-CIT_PREQ1054_01-0382
sl@0
  9354
sl@0
  9355
sl@0
  9356
sl@0
  9357
sl@0
  9358
sl@0
  9359
START_TESTCASE                SEC-CIT_PREQ1054_01-0383
sl@0
  9360
sl@0
  9361
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0383
sl@0
  9362
sl@0
  9363
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9364
sl@0
  9365
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9366
sl@0
  9367
//! @SYMTestPriority          medium
sl@0
  9368
sl@0
  9369
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9370
sl@0
  9371
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9372
sl@0
  9373
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9374
sl@0
  9375
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0383
sl@0
  9376
sl@0
  9377
END_TESTCASE                  SEC-CIT_PREQ1054_01-0383
sl@0
  9378
sl@0
  9379
sl@0
  9380
sl@0
  9381
sl@0
  9382
sl@0
  9383
START_TESTCASE                SEC-CIT_PREQ1054_01-0384
sl@0
  9384
sl@0
  9385
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0384
sl@0
  9386
sl@0
  9387
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9388
sl@0
  9389
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9390
sl@0
  9391
//! @SYMTestPriority          medium
sl@0
  9392
sl@0
  9393
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9394
sl@0
  9395
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9396
sl@0
  9397
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9398
sl@0
  9399
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0384
sl@0
  9400
sl@0
  9401
END_TESTCASE                  SEC-CIT_PREQ1054_01-0384
sl@0
  9402
sl@0
  9403
sl@0
  9404
sl@0
  9405
sl@0
  9406
sl@0
  9407
START_TESTCASE                SEC-CIT_PREQ1054_01-0385
sl@0
  9408
sl@0
  9409
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0385
sl@0
  9410
sl@0
  9411
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9412
sl@0
  9413
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9414
sl@0
  9415
//! @SYMTestPriority          medium
sl@0
  9416
sl@0
  9417
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9418
sl@0
  9419
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9420
sl@0
  9421
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9422
sl@0
  9423
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0385
sl@0
  9424
sl@0
  9425
END_TESTCASE                  SEC-CIT_PREQ1054_01-0385
sl@0
  9426
sl@0
  9427
sl@0
  9428
sl@0
  9429
sl@0
  9430
sl@0
  9431
START_TESTCASE                SEC-CIT_PREQ1054_01-0386
sl@0
  9432
sl@0
  9433
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0386
sl@0
  9434
sl@0
  9435
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9436
sl@0
  9437
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9438
sl@0
  9439
//! @SYMTestPriority          medium
sl@0
  9440
sl@0
  9441
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9442
sl@0
  9443
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9444
sl@0
  9445
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9446
sl@0
  9447
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0386
sl@0
  9448
sl@0
  9449
END_TESTCASE                  SEC-CIT_PREQ1054_01-0386
sl@0
  9450
sl@0
  9451
sl@0
  9452
sl@0
  9453
sl@0
  9454
sl@0
  9455
START_TESTCASE                SEC-CIT_PREQ1054_01-0387
sl@0
  9456
sl@0
  9457
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0387
sl@0
  9458
sl@0
  9459
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9460
sl@0
  9461
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9462
sl@0
  9463
//! @SYMTestPriority          medium
sl@0
  9464
sl@0
  9465
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9466
sl@0
  9467
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9468
sl@0
  9469
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9470
sl@0
  9471
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0387
sl@0
  9472
sl@0
  9473
END_TESTCASE                  SEC-CIT_PREQ1054_01-0387
sl@0
  9474
sl@0
  9475
sl@0
  9476
sl@0
  9477
sl@0
  9478
sl@0
  9479
START_TESTCASE                SEC-CIT_PREQ1054_01-0388
sl@0
  9480
sl@0
  9481
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0388
sl@0
  9482
sl@0
  9483
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9484
sl@0
  9485
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9486
sl@0
  9487
//! @SYMTestPriority          medium
sl@0
  9488
sl@0
  9489
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9490
sl@0
  9491
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9492
sl@0
  9493
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9494
sl@0
  9495
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0388
sl@0
  9496
sl@0
  9497
END_TESTCASE                  SEC-CIT_PREQ1054_01-0388
sl@0
  9498
sl@0
  9499
sl@0
  9500
sl@0
  9501
sl@0
  9502
sl@0
  9503
START_TESTCASE                SEC-CIT_PREQ1054_01-0389
sl@0
  9504
sl@0
  9505
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0389
sl@0
  9506
sl@0
  9507
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9508
sl@0
  9509
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9510
sl@0
  9511
//! @SYMTestPriority          medium
sl@0
  9512
sl@0
  9513
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9514
sl@0
  9515
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9516
sl@0
  9517
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9518
sl@0
  9519
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0389
sl@0
  9520
sl@0
  9521
END_TESTCASE                  SEC-CIT_PREQ1054_01-0389
sl@0
  9522
sl@0
  9523
sl@0
  9524
sl@0
  9525
sl@0
  9526
sl@0
  9527
START_TESTCASE                SEC-CIT_PREQ1054_01-0390
sl@0
  9528
sl@0
  9529
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0390
sl@0
  9530
sl@0
  9531
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9532
sl@0
  9533
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9534
sl@0
  9535
//! @SYMTestPriority          medium
sl@0
  9536
sl@0
  9537
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9538
sl@0
  9539
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9540
sl@0
  9541
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9542
sl@0
  9543
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0390
sl@0
  9544
sl@0
  9545
END_TESTCASE                  SEC-CIT_PREQ1054_01-0390
sl@0
  9546
sl@0
  9547
sl@0
  9548
sl@0
  9549
sl@0
  9550
sl@0
  9551
START_TESTCASE                SEC-CIT_PREQ1054_01-0391
sl@0
  9552
sl@0
  9553
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0391
sl@0
  9554
sl@0
  9555
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9556
sl@0
  9557
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9558
sl@0
  9559
//! @SYMTestPriority          medium
sl@0
  9560
sl@0
  9561
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9562
sl@0
  9563
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9564
sl@0
  9565
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9566
sl@0
  9567
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0391
sl@0
  9568
sl@0
  9569
END_TESTCASE                  SEC-CIT_PREQ1054_01-0391
sl@0
  9570
sl@0
  9571
sl@0
  9572
sl@0
  9573
sl@0
  9574
sl@0
  9575
START_TESTCASE                SEC-CIT_PREQ1054_01-0392
sl@0
  9576
sl@0
  9577
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0392
sl@0
  9578
sl@0
  9579
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9580
sl@0
  9581
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9582
sl@0
  9583
//! @SYMTestPriority          medium
sl@0
  9584
sl@0
  9585
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9586
sl@0
  9587
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9588
sl@0
  9589
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9590
sl@0
  9591
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0392
sl@0
  9592
sl@0
  9593
END_TESTCASE                  SEC-CIT_PREQ1054_01-0392
sl@0
  9594
sl@0
  9595
sl@0
  9596
sl@0
  9597
sl@0
  9598
sl@0
  9599
START_TESTCASE                SEC-CIT_PREQ1054_01-0393
sl@0
  9600
sl@0
  9601
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0393
sl@0
  9602
sl@0
  9603
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9604
sl@0
  9605
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9606
sl@0
  9607
//! @SYMTestPriority          medium
sl@0
  9608
sl@0
  9609
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9610
sl@0
  9611
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9612
sl@0
  9613
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9614
sl@0
  9615
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0393
sl@0
  9616
sl@0
  9617
END_TESTCASE                  SEC-CIT_PREQ1054_01-0393
sl@0
  9618
sl@0
  9619
sl@0
  9620
sl@0
  9621
sl@0
  9622
sl@0
  9623
START_TESTCASE                SEC-CIT_PREQ1054_01-0394
sl@0
  9624
sl@0
  9625
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0394
sl@0
  9626
sl@0
  9627
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9628
sl@0
  9629
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9630
sl@0
  9631
//! @SYMTestPriority          medium
sl@0
  9632
sl@0
  9633
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9634
sl@0
  9635
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9636
sl@0
  9637
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9638
sl@0
  9639
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0394
sl@0
  9640
sl@0
  9641
END_TESTCASE                  SEC-CIT_PREQ1054_01-0394
sl@0
  9642
sl@0
  9643
sl@0
  9644
sl@0
  9645
sl@0
  9646
sl@0
  9647
START_TESTCASE                SEC-CIT_PREQ1054_01-0395
sl@0
  9648
sl@0
  9649
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0395
sl@0
  9650
sl@0
  9651
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9652
sl@0
  9653
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9654
sl@0
  9655
//! @SYMTestPriority          medium
sl@0
  9656
sl@0
  9657
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9658
sl@0
  9659
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9660
sl@0
  9661
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9662
sl@0
  9663
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0395
sl@0
  9664
sl@0
  9665
END_TESTCASE                  SEC-CIT_PREQ1054_01-0395
sl@0
  9666
sl@0
  9667
sl@0
  9668
sl@0
  9669
sl@0
  9670
sl@0
  9671
START_TESTCASE                SEC-CIT_PREQ1054_01-0396
sl@0
  9672
sl@0
  9673
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0396
sl@0
  9674
sl@0
  9675
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9676
sl@0
  9677
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9678
sl@0
  9679
//! @SYMTestPriority          medium
sl@0
  9680
sl@0
  9681
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9682
sl@0
  9683
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9684
sl@0
  9685
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9686
sl@0
  9687
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0396
sl@0
  9688
sl@0
  9689
END_TESTCASE                  SEC-CIT_PREQ1054_01-0396
sl@0
  9690
sl@0
  9691
sl@0
  9692
sl@0
  9693
sl@0
  9694
sl@0
  9695
START_TESTCASE                SEC-CIT_PREQ1054_01-0397
sl@0
  9696
sl@0
  9697
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0397
sl@0
  9698
sl@0
  9699
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9700
sl@0
  9701
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9702
sl@0
  9703
//! @SYMTestPriority          medium
sl@0
  9704
sl@0
  9705
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9706
sl@0
  9707
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9708
sl@0
  9709
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9710
sl@0
  9711
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0397
sl@0
  9712
sl@0
  9713
END_TESTCASE                  SEC-CIT_PREQ1054_01-0397
sl@0
  9714
sl@0
  9715
sl@0
  9716
sl@0
  9717
sl@0
  9718
sl@0
  9719
START_TESTCASE                SEC-CIT_PREQ1054_01-0398
sl@0
  9720
sl@0
  9721
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0398
sl@0
  9722
sl@0
  9723
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9724
sl@0
  9725
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9726
sl@0
  9727
//! @SYMTestPriority          medium
sl@0
  9728
sl@0
  9729
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9730
sl@0
  9731
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9732
sl@0
  9733
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9734
sl@0
  9735
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0398
sl@0
  9736
sl@0
  9737
END_TESTCASE                  SEC-CIT_PREQ1054_01-0398
sl@0
  9738
sl@0
  9739
sl@0
  9740
sl@0
  9741
sl@0
  9742
sl@0
  9743
START_TESTCASE                SEC-CIT_PREQ1054_01-0399
sl@0
  9744
sl@0
  9745
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0399
sl@0
  9746
sl@0
  9747
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9748
sl@0
  9749
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9750
sl@0
  9751
//! @SYMTestPriority          medium
sl@0
  9752
sl@0
  9753
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9754
sl@0
  9755
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9756
sl@0
  9757
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9758
sl@0
  9759
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0399
sl@0
  9760
sl@0
  9761
END_TESTCASE                  SEC-CIT_PREQ1054_01-0399
sl@0
  9762
sl@0
  9763
sl@0
  9764
sl@0
  9765
sl@0
  9766
sl@0
  9767
START_TESTCASE                SEC-CIT_PREQ1054_01-0400
sl@0
  9768
sl@0
  9769
//! @SYMTestCaseID            CIT_PREQ1054_01
sl@0
  9770
sl@0
  9771
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9772
sl@0
  9773
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9774
sl@0
  9775
//! @SYMTestPriority          medium
sl@0
  9776
sl@0
  9777
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9778
sl@0
  9779
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9780
sl@0
  9781
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
  9782
sl@0
  9783
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0400
sl@0
  9784
sl@0
  9785
END_TESTCASE                  CIT_PREQ1054_01
sl@0
  9786
sl@0
  9787
sl@0
  9788
sl@0
  9789
sl@0
  9790
sl@0
  9791
START_TESTCASE                SEC-CIT_PREQ1054_01-0401
sl@0
  9792
sl@0
  9793
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0401
sl@0
  9794
sl@0
  9795
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9796
sl@0
  9797
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9798
sl@0
  9799
//! @SYMTestPriority          medium
sl@0
  9800
sl@0
  9801
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9802
sl@0
  9803
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9804
sl@0
  9805
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9806
sl@0
  9807
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0401
sl@0
  9808
sl@0
  9809
END_TESTCASE                  SEC-CIT_PREQ1054_01-0401
sl@0
  9810
sl@0
  9811
sl@0
  9812
sl@0
  9813
sl@0
  9814
sl@0
  9815
START_TESTCASE                SEC-CIT_PREQ1054_01-0402
sl@0
  9816
sl@0
  9817
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0402
sl@0
  9818
sl@0
  9819
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9820
sl@0
  9821
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9822
sl@0
  9823
//! @SYMTestPriority          medium
sl@0
  9824
sl@0
  9825
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9826
sl@0
  9827
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9828
sl@0
  9829
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9830
sl@0
  9831
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0402
sl@0
  9832
sl@0
  9833
END_TESTCASE                  SEC-CIT_PREQ1054_01-0402
sl@0
  9834
sl@0
  9835
sl@0
  9836
sl@0
  9837
sl@0
  9838
sl@0
  9839
START_TESTCASE                SEC-CIT_PREQ1054_01-0403
sl@0
  9840
sl@0
  9841
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0403
sl@0
  9842
sl@0
  9843
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9844
sl@0
  9845
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9846
sl@0
  9847
//! @SYMTestPriority          medium
sl@0
  9848
sl@0
  9849
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9850
sl@0
  9851
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9852
sl@0
  9853
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9854
sl@0
  9855
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0403
sl@0
  9856
sl@0
  9857
END_TESTCASE                  SEC-CIT_PREQ1054_01-0403
sl@0
  9858
sl@0
  9859
sl@0
  9860
sl@0
  9861
sl@0
  9862
sl@0
  9863
START_TESTCASE                SEC-CIT_PREQ1054_01-0404
sl@0
  9864
sl@0
  9865
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0404
sl@0
  9866
sl@0
  9867
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9868
sl@0
  9869
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9870
sl@0
  9871
//! @SYMTestPriority          medium
sl@0
  9872
sl@0
  9873
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9874
sl@0
  9875
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9876
sl@0
  9877
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9878
sl@0
  9879
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0404
sl@0
  9880
sl@0
  9881
END_TESTCASE                  SEC-CIT_PREQ1054_01-0404
sl@0
  9882
sl@0
  9883
sl@0
  9884
sl@0
  9885
sl@0
  9886
sl@0
  9887
START_TESTCASE                SEC-CIT_PREQ1054_01-0405
sl@0
  9888
sl@0
  9889
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0405
sl@0
  9890
sl@0
  9891
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9892
sl@0
  9893
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9894
sl@0
  9895
//! @SYMTestPriority          medium
sl@0
  9896
sl@0
  9897
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9898
sl@0
  9899
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9900
sl@0
  9901
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
  9902
sl@0
  9903
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0405
sl@0
  9904
sl@0
  9905
END_TESTCASE                  SEC-CIT_PREQ1054_01-0405
sl@0
  9906
sl@0
  9907
sl@0
  9908
sl@0
  9909
sl@0
  9910
sl@0
  9911
START_TESTCASE                SEC-CIT_PREQ1054_01-0406
sl@0
  9912
sl@0
  9913
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0406
sl@0
  9914
sl@0
  9915
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9916
sl@0
  9917
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9918
sl@0
  9919
//! @SYMTestPriority          medium
sl@0
  9920
sl@0
  9921
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9922
sl@0
  9923
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9924
sl@0
  9925
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9926
sl@0
  9927
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0406
sl@0
  9928
sl@0
  9929
END_TESTCASE                  SEC-CIT_PREQ1054_01-0406
sl@0
  9930
sl@0
  9931
sl@0
  9932
sl@0
  9933
sl@0
  9934
sl@0
  9935
START_TESTCASE                SEC-CIT_PREQ1054_01-0407
sl@0
  9936
sl@0
  9937
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0407
sl@0
  9938
sl@0
  9939
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9940
sl@0
  9941
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9942
sl@0
  9943
//! @SYMTestPriority          medium
sl@0
  9944
sl@0
  9945
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9946
sl@0
  9947
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9948
sl@0
  9949
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9950
sl@0
  9951
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0407
sl@0
  9952
sl@0
  9953
END_TESTCASE                  SEC-CIT_PREQ1054_01-0407
sl@0
  9954
sl@0
  9955
sl@0
  9956
sl@0
  9957
sl@0
  9958
sl@0
  9959
START_TESTCASE                SEC-CIT_PREQ1054_01-0408
sl@0
  9960
sl@0
  9961
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0408
sl@0
  9962
sl@0
  9963
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9964
sl@0
  9965
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9966
sl@0
  9967
//! @SYMTestPriority          medium
sl@0
  9968
sl@0
  9969
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9970
sl@0
  9971
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9972
sl@0
  9973
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9974
sl@0
  9975
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0408
sl@0
  9976
sl@0
  9977
END_TESTCASE                  SEC-CIT_PREQ1054_01-0408
sl@0
  9978
sl@0
  9979
sl@0
  9980
sl@0
  9981
sl@0
  9982
sl@0
  9983
START_TESTCASE                SEC-CIT_PREQ1054_01-0409
sl@0
  9984
sl@0
  9985
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0409
sl@0
  9986
sl@0
  9987
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
  9988
sl@0
  9989
//! @SYMREQ                   CIT_PREQ1054
sl@0
  9990
sl@0
  9991
//! @SYMTestPriority          medium
sl@0
  9992
sl@0
  9993
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
  9994
sl@0
  9995
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
  9996
sl@0
  9997
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
  9998
sl@0
  9999
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0409
sl@0
 10000
sl@0
 10001
END_TESTCASE                  SEC-CIT_PREQ1054_01-0409
sl@0
 10002
sl@0
 10003
sl@0
 10004
sl@0
 10005
sl@0
 10006
sl@0
 10007
START_TESTCASE                SEC-CIT_PREQ1054_01-0410
sl@0
 10008
sl@0
 10009
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0410
sl@0
 10010
sl@0
 10011
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10012
sl@0
 10013
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10014
sl@0
 10015
//! @SYMTestPriority          medium
sl@0
 10016
sl@0
 10017
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10018
sl@0
 10019
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10020
sl@0
 10021
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10022
sl@0
 10023
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0410
sl@0
 10024
sl@0
 10025
END_TESTCASE                  SEC-CIT_PREQ1054_01-0410
sl@0
 10026
sl@0
 10027
sl@0
 10028
sl@0
 10029
sl@0
 10030
sl@0
 10031
START_TESTCASE                SEC-CIT_PREQ1054_01-0411
sl@0
 10032
sl@0
 10033
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0411
sl@0
 10034
sl@0
 10035
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10036
sl@0
 10037
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10038
sl@0
 10039
//! @SYMTestPriority          medium
sl@0
 10040
sl@0
 10041
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10042
sl@0
 10043
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10044
sl@0
 10045
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10046
sl@0
 10047
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0411
sl@0
 10048
sl@0
 10049
END_TESTCASE                  SEC-CIT_PREQ1054_01-0411
sl@0
 10050
sl@0
 10051
sl@0
 10052
sl@0
 10053
sl@0
 10054
sl@0
 10055
START_TESTCASE                SEC-CIT_PREQ1054_01-0412
sl@0
 10056
sl@0
 10057
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0412
sl@0
 10058
sl@0
 10059
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10060
sl@0
 10061
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10062
sl@0
 10063
//! @SYMTestPriority          medium
sl@0
 10064
sl@0
 10065
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10066
sl@0
 10067
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10068
sl@0
 10069
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10070
sl@0
 10071
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0412
sl@0
 10072
sl@0
 10073
END_TESTCASE                  SEC-CIT_PREQ1054_01-0412
sl@0
 10074
sl@0
 10075
sl@0
 10076
sl@0
 10077
sl@0
 10078
sl@0
 10079
START_TESTCASE                SEC-CIT_PREQ1054_01-0413
sl@0
 10080
sl@0
 10081
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0413
sl@0
 10082
sl@0
 10083
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10084
sl@0
 10085
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10086
sl@0
 10087
//! @SYMTestPriority          medium
sl@0
 10088
sl@0
 10089
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10090
sl@0
 10091
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10092
sl@0
 10093
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10094
sl@0
 10095
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0413
sl@0
 10096
sl@0
 10097
END_TESTCASE                  SEC-CIT_PREQ1054_01-0413
sl@0
 10098
sl@0
 10099
sl@0
 10100
sl@0
 10101
sl@0
 10102
sl@0
 10103
START_TESTCASE                SEC-CIT_PREQ1054_01-0414
sl@0
 10104
sl@0
 10105
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0414
sl@0
 10106
sl@0
 10107
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10108
sl@0
 10109
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10110
sl@0
 10111
//! @SYMTestPriority          medium
sl@0
 10112
sl@0
 10113
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10114
sl@0
 10115
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10116
sl@0
 10117
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10118
sl@0
 10119
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0414
sl@0
 10120
sl@0
 10121
END_TESTCASE                  SEC-CIT_PREQ1054_01-0414
sl@0
 10122
sl@0
 10123
sl@0
 10124
sl@0
 10125
sl@0
 10126
sl@0
 10127
START_TESTCASE                SEC-CIT_PREQ1054_01-0415
sl@0
 10128
sl@0
 10129
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0415
sl@0
 10130
sl@0
 10131
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10132
sl@0
 10133
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10134
sl@0
 10135
//! @SYMTestPriority          medium
sl@0
 10136
sl@0
 10137
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10138
sl@0
 10139
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10140
sl@0
 10141
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10142
sl@0
 10143
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0415
sl@0
 10144
sl@0
 10145
END_TESTCASE                  SEC-CIT_PREQ1054_01-0415
sl@0
 10146
sl@0
 10147
sl@0
 10148
sl@0
 10149
sl@0
 10150
sl@0
 10151
START_TESTCASE                SEC-CIT_PREQ1054_01-0416
sl@0
 10152
sl@0
 10153
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0416
sl@0
 10154
sl@0
 10155
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10156
sl@0
 10157
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10158
sl@0
 10159
//! @SYMTestPriority          medium
sl@0
 10160
sl@0
 10161
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10162
sl@0
 10163
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10164
sl@0
 10165
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10166
sl@0
 10167
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0416
sl@0
 10168
sl@0
 10169
END_TESTCASE                  SEC-CIT_PREQ1054_01-0416
sl@0
 10170
sl@0
 10171
sl@0
 10172
sl@0
 10173
sl@0
 10174
sl@0
 10175
START_TESTCASE                SEC-CIT_PREQ1054_01-0417
sl@0
 10176
sl@0
 10177
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0417
sl@0
 10178
sl@0
 10179
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10180
sl@0
 10181
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10182
sl@0
 10183
//! @SYMTestPriority          medium
sl@0
 10184
sl@0
 10185
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10186
sl@0
 10187
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10188
sl@0
 10189
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10190
sl@0
 10191
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0417
sl@0
 10192
sl@0
 10193
END_TESTCASE                  SEC-CIT_PREQ1054_01-0417
sl@0
 10194
sl@0
 10195
sl@0
 10196
sl@0
 10197
sl@0
 10198
sl@0
 10199
START_TESTCASE                SEC-CIT_PREQ1054_01-0418
sl@0
 10200
sl@0
 10201
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0418
sl@0
 10202
sl@0
 10203
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10204
sl@0
 10205
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10206
sl@0
 10207
//! @SYMTestPriority          medium
sl@0
 10208
sl@0
 10209
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10210
sl@0
 10211
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10212
sl@0
 10213
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10214
sl@0
 10215
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0418
sl@0
 10216
sl@0
 10217
END_TESTCASE                  SEC-CIT_PREQ1054_01-0418
sl@0
 10218
sl@0
 10219
sl@0
 10220
sl@0
 10221
sl@0
 10222
sl@0
 10223
START_TESTCASE                SEC-CIT_PREQ1054_01-0419
sl@0
 10224
sl@0
 10225
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0419
sl@0
 10226
sl@0
 10227
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10228
sl@0
 10229
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10230
sl@0
 10231
//! @SYMTestPriority          medium
sl@0
 10232
sl@0
 10233
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10234
sl@0
 10235
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10236
sl@0
 10237
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10238
sl@0
 10239
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0419
sl@0
 10240
sl@0
 10241
END_TESTCASE                  SEC-CIT_PREQ1054_01-0419
sl@0
 10242
sl@0
 10243
sl@0
 10244
sl@0
 10245
sl@0
 10246
sl@0
 10247
START_TESTCASE                SEC-CIT_PREQ1054_01-0420
sl@0
 10248
sl@0
 10249
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0420
sl@0
 10250
sl@0
 10251
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10252
sl@0
 10253
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10254
sl@0
 10255
//! @SYMTestPriority          medium
sl@0
 10256
sl@0
 10257
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10258
sl@0
 10259
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10260
sl@0
 10261
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10262
sl@0
 10263
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0420
sl@0
 10264
sl@0
 10265
END_TESTCASE                  SEC-CIT_PREQ1054_01-0420
sl@0
 10266
sl@0
 10267
sl@0
 10268
sl@0
 10269
sl@0
 10270
sl@0
 10271
START_TESTCASE                SEC-CIT_PREQ1054_01-0421
sl@0
 10272
sl@0
 10273
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0421
sl@0
 10274
sl@0
 10275
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10276
sl@0
 10277
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10278
sl@0
 10279
//! @SYMTestPriority          medium
sl@0
 10280
sl@0
 10281
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10282
sl@0
 10283
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10284
sl@0
 10285
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10286
sl@0
 10287
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0421
sl@0
 10288
sl@0
 10289
END_TESTCASE                  SEC-CIT_PREQ1054_01-0421
sl@0
 10290
sl@0
 10291
sl@0
 10292
sl@0
 10293
sl@0
 10294
sl@0
 10295
START_TESTCASE                SEC-CIT_PREQ1054_01-0422
sl@0
 10296
sl@0
 10297
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0422
sl@0
 10298
sl@0
 10299
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10300
sl@0
 10301
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10302
sl@0
 10303
//! @SYMTestPriority          medium
sl@0
 10304
sl@0
 10305
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10306
sl@0
 10307
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10308
sl@0
 10309
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10310
sl@0
 10311
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0422
sl@0
 10312
sl@0
 10313
END_TESTCASE                  SEC-CIT_PREQ1054_01-0422
sl@0
 10314
sl@0
 10315
sl@0
 10316
sl@0
 10317
sl@0
 10318
sl@0
 10319
START_TESTCASE                SEC-CIT_PREQ1054_01-0423
sl@0
 10320
sl@0
 10321
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0423
sl@0
 10322
sl@0
 10323
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10324
sl@0
 10325
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10326
sl@0
 10327
//! @SYMTestPriority          medium
sl@0
 10328
sl@0
 10329
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10330
sl@0
 10331
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10332
sl@0
 10333
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10334
sl@0
 10335
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0423
sl@0
 10336
sl@0
 10337
END_TESTCASE                  SEC-CIT_PREQ1054_01-0423
sl@0
 10338
sl@0
 10339
sl@0
 10340
sl@0
 10341
sl@0
 10342
sl@0
 10343
START_TESTCASE                SEC-CIT_PREQ1054_01-0424
sl@0
 10344
sl@0
 10345
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0424
sl@0
 10346
sl@0
 10347
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10348
sl@0
 10349
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10350
sl@0
 10351
//! @SYMTestPriority          medium
sl@0
 10352
sl@0
 10353
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10354
sl@0
 10355
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10356
sl@0
 10357
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10358
sl@0
 10359
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0424
sl@0
 10360
sl@0
 10361
END_TESTCASE                  SEC-CIT_PREQ1054_01-0424
sl@0
 10362
sl@0
 10363
sl@0
 10364
sl@0
 10365
sl@0
 10366
sl@0
 10367
START_TESTCASE                SEC-CIT_PREQ1054_01-0425
sl@0
 10368
sl@0
 10369
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0425
sl@0
 10370
sl@0
 10371
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10372
sl@0
 10373
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10374
sl@0
 10375
//! @SYMTestPriority          medium
sl@0
 10376
sl@0
 10377
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10378
sl@0
 10379
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10380
sl@0
 10381
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10382
sl@0
 10383
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0425
sl@0
 10384
sl@0
 10385
END_TESTCASE                  SEC-CIT_PREQ1054_01-0425
sl@0
 10386
sl@0
 10387
sl@0
 10388
sl@0
 10389
sl@0
 10390
sl@0
 10391
START_TESTCASE                SEC-CIT_PREQ1054_01-0426
sl@0
 10392
sl@0
 10393
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0426
sl@0
 10394
sl@0
 10395
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10396
sl@0
 10397
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10398
sl@0
 10399
//! @SYMTestPriority          medium
sl@0
 10400
sl@0
 10401
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10402
sl@0
 10403
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10404
sl@0
 10405
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10406
sl@0
 10407
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0426
sl@0
 10408
sl@0
 10409
END_TESTCASE                  SEC-CIT_PREQ1054_01-0426
sl@0
 10410
sl@0
 10411
sl@0
 10412
sl@0
 10413
sl@0
 10414
sl@0
 10415
START_TESTCASE                SEC-CIT_PREQ1054_01-0427
sl@0
 10416
sl@0
 10417
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0427
sl@0
 10418
sl@0
 10419
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10420
sl@0
 10421
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10422
sl@0
 10423
//! @SYMTestPriority          medium
sl@0
 10424
sl@0
 10425
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10426
sl@0
 10427
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10428
sl@0
 10429
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10430
sl@0
 10431
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0427
sl@0
 10432
sl@0
 10433
END_TESTCASE                  SEC-CIT_PREQ1054_01-0427
sl@0
 10434
sl@0
 10435
sl@0
 10436
sl@0
 10437
sl@0
 10438
sl@0
 10439
START_TESTCASE                SEC-CIT_PREQ1054_01-0428
sl@0
 10440
sl@0
 10441
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0428
sl@0
 10442
sl@0
 10443
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10444
sl@0
 10445
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10446
sl@0
 10447
//! @SYMTestPriority          medium
sl@0
 10448
sl@0
 10449
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10450
sl@0
 10451
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10452
sl@0
 10453
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10454
sl@0
 10455
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0428
sl@0
 10456
sl@0
 10457
END_TESTCASE                  SEC-CIT_PREQ1054_01-0428
sl@0
 10458
sl@0
 10459
sl@0
 10460
sl@0
 10461
sl@0
 10462
sl@0
 10463
START_TESTCASE                SEC-CIT_PREQ1054_01-0429
sl@0
 10464
sl@0
 10465
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0429
sl@0
 10466
sl@0
 10467
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10468
sl@0
 10469
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10470
sl@0
 10471
//! @SYMTestPriority          medium
sl@0
 10472
sl@0
 10473
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10474
sl@0
 10475
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10476
sl@0
 10477
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10478
sl@0
 10479
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0429
sl@0
 10480
sl@0
 10481
END_TESTCASE                  SEC-CIT_PREQ1054_01-0429
sl@0
 10482
sl@0
 10483
sl@0
 10484
sl@0
 10485
sl@0
 10486
sl@0
 10487
START_TESTCASE                SEC-CIT_PREQ1054_01-0430
sl@0
 10488
sl@0
 10489
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0430
sl@0
 10490
sl@0
 10491
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10492
sl@0
 10493
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10494
sl@0
 10495
//! @SYMTestPriority          medium
sl@0
 10496
sl@0
 10497
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10498
sl@0
 10499
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10500
sl@0
 10501
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10502
sl@0
 10503
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0430
sl@0
 10504
sl@0
 10505
END_TESTCASE                  SEC-CIT_PREQ1054_01-0430
sl@0
 10506
sl@0
 10507
sl@0
 10508
sl@0
 10509
sl@0
 10510
sl@0
 10511
START_TESTCASE                SEC-CIT_PREQ1054_01-0431
sl@0
 10512
sl@0
 10513
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0431
sl@0
 10514
sl@0
 10515
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10516
sl@0
 10517
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10518
sl@0
 10519
//! @SYMTestPriority          medium
sl@0
 10520
sl@0
 10521
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10522
sl@0
 10523
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10524
sl@0
 10525
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10526
sl@0
 10527
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0431
sl@0
 10528
sl@0
 10529
END_TESTCASE                  SEC-CIT_PREQ1054_01-0431
sl@0
 10530
sl@0
 10531
sl@0
 10532
sl@0
 10533
sl@0
 10534
sl@0
 10535
START_TESTCASE                SEC-CIT_PREQ1054_01-0432
sl@0
 10536
sl@0
 10537
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0432
sl@0
 10538
sl@0
 10539
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10540
sl@0
 10541
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10542
sl@0
 10543
//! @SYMTestPriority          medium
sl@0
 10544
sl@0
 10545
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10546
sl@0
 10547
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10548
sl@0
 10549
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10550
sl@0
 10551
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0432
sl@0
 10552
sl@0
 10553
END_TESTCASE                  SEC-CIT_PREQ1054_01-0432
sl@0
 10554
sl@0
 10555
sl@0
 10556
sl@0
 10557
sl@0
 10558
sl@0
 10559
START_TESTCASE                SEC-CIT_PREQ1054_01-0433
sl@0
 10560
sl@0
 10561
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0433
sl@0
 10562
sl@0
 10563
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10564
sl@0
 10565
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10566
sl@0
 10567
//! @SYMTestPriority          medium
sl@0
 10568
sl@0
 10569
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10570
sl@0
 10571
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10572
sl@0
 10573
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10574
sl@0
 10575
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0433
sl@0
 10576
sl@0
 10577
END_TESTCASE                  SEC-CIT_PREQ1054_01-0433
sl@0
 10578
sl@0
 10579
sl@0
 10580
sl@0
 10581
sl@0
 10582
sl@0
 10583
START_TESTCASE                SEC-CIT_PREQ1054_01-0434
sl@0
 10584
sl@0
 10585
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0434
sl@0
 10586
sl@0
 10587
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10588
sl@0
 10589
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10590
sl@0
 10591
//! @SYMTestPriority          medium
sl@0
 10592
sl@0
 10593
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10594
sl@0
 10595
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10596
sl@0
 10597
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10598
sl@0
 10599
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0434
sl@0
 10600
sl@0
 10601
END_TESTCASE                  SEC-CIT_PREQ1054_01-0434
sl@0
 10602
sl@0
 10603
sl@0
 10604
sl@0
 10605
sl@0
 10606
sl@0
 10607
START_TESTCASE                SEC-CIT_PREQ1054_01-0435
sl@0
 10608
sl@0
 10609
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0435
sl@0
 10610
sl@0
 10611
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10612
sl@0
 10613
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10614
sl@0
 10615
//! @SYMTestPriority          medium
sl@0
 10616
sl@0
 10617
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10618
sl@0
 10619
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10620
sl@0
 10621
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10622
sl@0
 10623
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0435
sl@0
 10624
sl@0
 10625
END_TESTCASE                  SEC-CIT_PREQ1054_01-0435
sl@0
 10626
sl@0
 10627
sl@0
 10628
sl@0
 10629
sl@0
 10630
sl@0
 10631
START_TESTCASE                SEC-CIT_PREQ1054_01-0436
sl@0
 10632
sl@0
 10633
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0436
sl@0
 10634
sl@0
 10635
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10636
sl@0
 10637
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10638
sl@0
 10639
//! @SYMTestPriority          medium
sl@0
 10640
sl@0
 10641
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10642
sl@0
 10643
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10644
sl@0
 10645
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10646
sl@0
 10647
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0436
sl@0
 10648
sl@0
 10649
END_TESTCASE                  SEC-CIT_PREQ1054_01-0436
sl@0
 10650
sl@0
 10651
sl@0
 10652
sl@0
 10653
sl@0
 10654
sl@0
 10655
START_TESTCASE                SEC-CIT_PREQ1054_01-0437
sl@0
 10656
sl@0
 10657
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0437
sl@0
 10658
sl@0
 10659
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10660
sl@0
 10661
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10662
sl@0
 10663
//! @SYMTestPriority          medium
sl@0
 10664
sl@0
 10665
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10666
sl@0
 10667
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10668
sl@0
 10669
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10670
sl@0
 10671
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0437
sl@0
 10672
sl@0
 10673
END_TESTCASE                  SEC-CIT_PREQ1054_01-0437
sl@0
 10674
sl@0
 10675
sl@0
 10676
sl@0
 10677
sl@0
 10678
sl@0
 10679
START_TESTCASE                SEC-CIT_PREQ1054_01-0438
sl@0
 10680
sl@0
 10681
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0438
sl@0
 10682
sl@0
 10683
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10684
sl@0
 10685
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10686
sl@0
 10687
//! @SYMTestPriority          medium
sl@0
 10688
sl@0
 10689
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10690
sl@0
 10691
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10692
sl@0
 10693
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10694
sl@0
 10695
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0438
sl@0
 10696
sl@0
 10697
END_TESTCASE                  SEC-CIT_PREQ1054_01-0438
sl@0
 10698
sl@0
 10699
sl@0
 10700
sl@0
 10701
sl@0
 10702
sl@0
 10703
START_TESTCASE                SEC-CIT_PREQ1054_01-0439
sl@0
 10704
sl@0
 10705
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0439
sl@0
 10706
sl@0
 10707
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10708
sl@0
 10709
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10710
sl@0
 10711
//! @SYMTestPriority          medium
sl@0
 10712
sl@0
 10713
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10714
sl@0
 10715
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10716
sl@0
 10717
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10718
sl@0
 10719
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0439
sl@0
 10720
sl@0
 10721
END_TESTCASE                  SEC-CIT_PREQ1054_01-0439
sl@0
 10722
sl@0
 10723
sl@0
 10724
sl@0
 10725
sl@0
 10726
sl@0
 10727
START_TESTCASE                SEC-CIT_PREQ1054_01-0440
sl@0
 10728
sl@0
 10729
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0440
sl@0
 10730
sl@0
 10731
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10732
sl@0
 10733
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10734
sl@0
 10735
//! @SYMTestPriority          medium
sl@0
 10736
sl@0
 10737
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10738
sl@0
 10739
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10740
sl@0
 10741
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 10742
sl@0
 10743
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0440
sl@0
 10744
sl@0
 10745
END_TESTCASE                  SEC-CIT_PREQ1054_01-0440
sl@0
 10746
sl@0
 10747
sl@0
 10748
sl@0
 10749
sl@0
 10750
sl@0
 10751
START_TESTCASE                SEC-CIT_PREQ1054_01-0441
sl@0
 10752
sl@0
 10753
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0441
sl@0
 10754
sl@0
 10755
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10756
sl@0
 10757
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10758
sl@0
 10759
//! @SYMTestPriority          medium
sl@0
 10760
sl@0
 10761
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10762
sl@0
 10763
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10764
sl@0
 10765
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10766
sl@0
 10767
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0441
sl@0
 10768
sl@0
 10769
END_TESTCASE                  SEC-CIT_PREQ1054_01-0441
sl@0
 10770
sl@0
 10771
sl@0
 10772
sl@0
 10773
sl@0
 10774
sl@0
 10775
START_TESTCASE                SEC-CIT_PREQ1054_01-0442
sl@0
 10776
sl@0
 10777
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0442
sl@0
 10778
sl@0
 10779
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10780
sl@0
 10781
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10782
sl@0
 10783
//! @SYMTestPriority          medium
sl@0
 10784
sl@0
 10785
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10786
sl@0
 10787
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10788
sl@0
 10789
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10790
sl@0
 10791
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0442
sl@0
 10792
sl@0
 10793
END_TESTCASE                  SEC-CIT_PREQ1054_01-0442
sl@0
 10794
sl@0
 10795
sl@0
 10796
sl@0
 10797
sl@0
 10798
sl@0
 10799
START_TESTCASE                SEC-CIT_PREQ1054_01-0443
sl@0
 10800
sl@0
 10801
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0443
sl@0
 10802
sl@0
 10803
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10804
sl@0
 10805
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10806
sl@0
 10807
//! @SYMTestPriority          medium
sl@0
 10808
sl@0
 10809
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10810
sl@0
 10811
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10812
sl@0
 10813
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10814
sl@0
 10815
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0443
sl@0
 10816
sl@0
 10817
END_TESTCASE                  SEC-CIT_PREQ1054_01-0443
sl@0
 10818
sl@0
 10819
sl@0
 10820
sl@0
 10821
sl@0
 10822
sl@0
 10823
START_TESTCASE                SEC-CIT_PREQ1054_01-0444
sl@0
 10824
sl@0
 10825
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0444
sl@0
 10826
sl@0
 10827
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10828
sl@0
 10829
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10830
sl@0
 10831
//! @SYMTestPriority          medium
sl@0
 10832
sl@0
 10833
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10834
sl@0
 10835
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10836
sl@0
 10837
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10838
sl@0
 10839
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0444
sl@0
 10840
sl@0
 10841
END_TESTCASE                  SEC-CIT_PREQ1054_01-0444
sl@0
 10842
sl@0
 10843
sl@0
 10844
sl@0
 10845
sl@0
 10846
sl@0
 10847
START_TESTCASE                SEC-CIT_PREQ1054_01-0445
sl@0
 10848
sl@0
 10849
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0445
sl@0
 10850
sl@0
 10851
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10852
sl@0
 10853
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10854
sl@0
 10855
//! @SYMTestPriority          medium
sl@0
 10856
sl@0
 10857
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10858
sl@0
 10859
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10860
sl@0
 10861
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 10862
sl@0
 10863
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0445
sl@0
 10864
sl@0
 10865
END_TESTCASE                  SEC-CIT_PREQ1054_01-0445
sl@0
 10866
sl@0
 10867
sl@0
 10868
sl@0
 10869
sl@0
 10870
sl@0
 10871
START_TESTCASE                SEC-CIT_PREQ1054_01-0446
sl@0
 10872
sl@0
 10873
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0446
sl@0
 10874
sl@0
 10875
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10876
sl@0
 10877
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10878
sl@0
 10879
//! @SYMTestPriority          medium
sl@0
 10880
sl@0
 10881
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10882
sl@0
 10883
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10884
sl@0
 10885
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10886
sl@0
 10887
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0446
sl@0
 10888
sl@0
 10889
END_TESTCASE                  SEC-CIT_PREQ1054_01-0446
sl@0
 10890
sl@0
 10891
sl@0
 10892
sl@0
 10893
sl@0
 10894
sl@0
 10895
START_TESTCASE                SEC-CIT_PREQ1054_01-0447
sl@0
 10896
sl@0
 10897
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0447
sl@0
 10898
sl@0
 10899
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10900
sl@0
 10901
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10902
sl@0
 10903
//! @SYMTestPriority          medium
sl@0
 10904
sl@0
 10905
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10906
sl@0
 10907
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10908
sl@0
 10909
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10910
sl@0
 10911
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0447
sl@0
 10912
sl@0
 10913
END_TESTCASE                  SEC-CIT_PREQ1054_01-0447
sl@0
 10914
sl@0
 10915
sl@0
 10916
sl@0
 10917
sl@0
 10918
sl@0
 10919
START_TESTCASE                SEC-CIT_PREQ1054_01-0448
sl@0
 10920
sl@0
 10921
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0448
sl@0
 10922
sl@0
 10923
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10924
sl@0
 10925
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10926
sl@0
 10927
//! @SYMTestPriority          medium
sl@0
 10928
sl@0
 10929
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10930
sl@0
 10931
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10932
sl@0
 10933
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10934
sl@0
 10935
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0448
sl@0
 10936
sl@0
 10937
END_TESTCASE                  SEC-CIT_PREQ1054_01-0448
sl@0
 10938
sl@0
 10939
sl@0
 10940
sl@0
 10941
sl@0
 10942
sl@0
 10943
START_TESTCASE                SEC-CIT_PREQ1054_01-0449
sl@0
 10944
sl@0
 10945
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0449
sl@0
 10946
sl@0
 10947
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10948
sl@0
 10949
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10950
sl@0
 10951
//! @SYMTestPriority          medium
sl@0
 10952
sl@0
 10953
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10954
sl@0
 10955
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10956
sl@0
 10957
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10958
sl@0
 10959
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0449
sl@0
 10960
sl@0
 10961
END_TESTCASE                  SEC-CIT_PREQ1054_01-0449
sl@0
 10962
sl@0
 10963
sl@0
 10964
sl@0
 10965
sl@0
 10966
sl@0
 10967
START_TESTCASE                SEC-CIT_PREQ1054_01-0450
sl@0
 10968
sl@0
 10969
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0450
sl@0
 10970
sl@0
 10971
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10972
sl@0
 10973
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10974
sl@0
 10975
//! @SYMTestPriority          medium
sl@0
 10976
sl@0
 10977
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 10978
sl@0
 10979
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 10980
sl@0
 10981
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 10982
sl@0
 10983
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0450
sl@0
 10984
sl@0
 10985
END_TESTCASE                  SEC-CIT_PREQ1054_01-0450
sl@0
 10986
sl@0
 10987
sl@0
 10988
sl@0
 10989
sl@0
 10990
sl@0
 10991
START_TESTCASE                SEC-CIT_PREQ1054_01-0451
sl@0
 10992
sl@0
 10993
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0451
sl@0
 10994
sl@0
 10995
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 10996
sl@0
 10997
//! @SYMREQ                   CIT_PREQ1054
sl@0
 10998
sl@0
 10999
//! @SYMTestPriority          medium
sl@0
 11000
sl@0
 11001
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11002
sl@0
 11003
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11004
sl@0
 11005
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11006
sl@0
 11007
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0451
sl@0
 11008
sl@0
 11009
END_TESTCASE                  SEC-CIT_PREQ1054_01-0451
sl@0
 11010
sl@0
 11011
sl@0
 11012
sl@0
 11013
sl@0
 11014
sl@0
 11015
START_TESTCASE                SEC-CIT_PREQ1054_01-0452
sl@0
 11016
sl@0
 11017
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0452
sl@0
 11018
sl@0
 11019
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11020
sl@0
 11021
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11022
sl@0
 11023
//! @SYMTestPriority          medium
sl@0
 11024
sl@0
 11025
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11026
sl@0
 11027
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11028
sl@0
 11029
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11030
sl@0
 11031
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0452
sl@0
 11032
sl@0
 11033
END_TESTCASE                  SEC-CIT_PREQ1054_01-0452
sl@0
 11034
sl@0
 11035
sl@0
 11036
sl@0
 11037
sl@0
 11038
sl@0
 11039
START_TESTCASE                SEC-CIT_PREQ1054_01-0453
sl@0
 11040
sl@0
 11041
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0453
sl@0
 11042
sl@0
 11043
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11044
sl@0
 11045
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11046
sl@0
 11047
//! @SYMTestPriority          medium
sl@0
 11048
sl@0
 11049
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11050
sl@0
 11051
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11052
sl@0
 11053
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11054
sl@0
 11055
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0453
sl@0
 11056
sl@0
 11057
END_TESTCASE                  SEC-CIT_PREQ1054_01-0453
sl@0
 11058
sl@0
 11059
sl@0
 11060
sl@0
 11061
sl@0
 11062
sl@0
 11063
START_TESTCASE                SEC-CIT_PREQ1054_01-0454
sl@0
 11064
sl@0
 11065
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0454
sl@0
 11066
sl@0
 11067
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11068
sl@0
 11069
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11070
sl@0
 11071
//! @SYMTestPriority          medium
sl@0
 11072
sl@0
 11073
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11074
sl@0
 11075
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11076
sl@0
 11077
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11078
sl@0
 11079
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0454
sl@0
 11080
sl@0
 11081
END_TESTCASE                  SEC-CIT_PREQ1054_01-0454
sl@0
 11082
sl@0
 11083
sl@0
 11084
sl@0
 11085
sl@0
 11086
sl@0
 11087
START_TESTCASE                SEC-CIT_PREQ1054_01-0455
sl@0
 11088
sl@0
 11089
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0455
sl@0
 11090
sl@0
 11091
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11092
sl@0
 11093
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11094
sl@0
 11095
//! @SYMTestPriority          medium
sl@0
 11096
sl@0
 11097
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11098
sl@0
 11099
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11100
sl@0
 11101
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11102
sl@0
 11103
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0455
sl@0
 11104
sl@0
 11105
END_TESTCASE                  SEC-CIT_PREQ1054_01-0455
sl@0
 11106
sl@0
 11107
sl@0
 11108
sl@0
 11109
sl@0
 11110
sl@0
 11111
START_TESTCASE                SEC-CIT_PREQ1054_01-0456
sl@0
 11112
sl@0
 11113
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0456
sl@0
 11114
sl@0
 11115
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11116
sl@0
 11117
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11118
sl@0
 11119
//! @SYMTestPriority          medium
sl@0
 11120
sl@0
 11121
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11122
sl@0
 11123
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11124
sl@0
 11125
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11126
sl@0
 11127
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0456
sl@0
 11128
sl@0
 11129
END_TESTCASE                  SEC-CIT_PREQ1054_01-0456
sl@0
 11130
sl@0
 11131
sl@0
 11132
sl@0
 11133
sl@0
 11134
sl@0
 11135
START_TESTCASE                SEC-CIT_PREQ1054_01-0457
sl@0
 11136
sl@0
 11137
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0457
sl@0
 11138
sl@0
 11139
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11140
sl@0
 11141
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11142
sl@0
 11143
//! @SYMTestPriority          medium
sl@0
 11144
sl@0
 11145
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11146
sl@0
 11147
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11148
sl@0
 11149
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11150
sl@0
 11151
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0457
sl@0
 11152
sl@0
 11153
END_TESTCASE                  SEC-CIT_PREQ1054_01-0457
sl@0
 11154
sl@0
 11155
sl@0
 11156
sl@0
 11157
sl@0
 11158
sl@0
 11159
START_TESTCASE                SEC-CIT_PREQ1054_01-0458
sl@0
 11160
sl@0
 11161
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0458
sl@0
 11162
sl@0
 11163
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11164
sl@0
 11165
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11166
sl@0
 11167
//! @SYMTestPriority          medium
sl@0
 11168
sl@0
 11169
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11170
sl@0
 11171
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11172
sl@0
 11173
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11174
sl@0
 11175
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0458
sl@0
 11176
sl@0
 11177
END_TESTCASE                  SEC-CIT_PREQ1054_01-0458
sl@0
 11178
sl@0
 11179
sl@0
 11180
sl@0
 11181
sl@0
 11182
sl@0
 11183
START_TESTCASE                SEC-CIT_PREQ1054_01-0459
sl@0
 11184
sl@0
 11185
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0459
sl@0
 11186
sl@0
 11187
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11188
sl@0
 11189
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11190
sl@0
 11191
//! @SYMTestPriority          medium
sl@0
 11192
sl@0
 11193
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11194
sl@0
 11195
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11196
sl@0
 11197
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11198
sl@0
 11199
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0459
sl@0
 11200
sl@0
 11201
END_TESTCASE                  SEC-CIT_PREQ1054_01-0459
sl@0
 11202
sl@0
 11203
sl@0
 11204
sl@0
 11205
sl@0
 11206
sl@0
 11207
START_TESTCASE                SEC-CIT_PREQ1054_01-0460
sl@0
 11208
sl@0
 11209
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0460
sl@0
 11210
sl@0
 11211
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11212
sl@0
 11213
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11214
sl@0
 11215
//! @SYMTestPriority          medium
sl@0
 11216
sl@0
 11217
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11218
sl@0
 11219
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11220
sl@0
 11221
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11222
sl@0
 11223
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0460
sl@0
 11224
sl@0
 11225
END_TESTCASE                  SEC-CIT_PREQ1054_01-0460
sl@0
 11226
sl@0
 11227
sl@0
 11228
sl@0
 11229
sl@0
 11230
sl@0
 11231
START_TESTCASE                SEC-CIT_PREQ1054_01-0461
sl@0
 11232
sl@0
 11233
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0461
sl@0
 11234
sl@0
 11235
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11236
sl@0
 11237
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11238
sl@0
 11239
//! @SYMTestPriority          medium
sl@0
 11240
sl@0
 11241
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11242
sl@0
 11243
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11244
sl@0
 11245
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11246
sl@0
 11247
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0461
sl@0
 11248
sl@0
 11249
END_TESTCASE                  SEC-CIT_PREQ1054_01-0461
sl@0
 11250
sl@0
 11251
sl@0
 11252
sl@0
 11253
sl@0
 11254
sl@0
 11255
START_TESTCASE                SEC-CIT_PREQ1054_01-0462
sl@0
 11256
sl@0
 11257
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0462
sl@0
 11258
sl@0
 11259
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11260
sl@0
 11261
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11262
sl@0
 11263
//! @SYMTestPriority          medium
sl@0
 11264
sl@0
 11265
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11266
sl@0
 11267
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11268
sl@0
 11269
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11270
sl@0
 11271
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0462
sl@0
 11272
sl@0
 11273
END_TESTCASE                  SEC-CIT_PREQ1054_01-0462
sl@0
 11274
sl@0
 11275
sl@0
 11276
sl@0
 11277
sl@0
 11278
sl@0
 11279
START_TESTCASE                SEC-CIT_PREQ1054_01-0463
sl@0
 11280
sl@0
 11281
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0463
sl@0
 11282
sl@0
 11283
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11284
sl@0
 11285
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11286
sl@0
 11287
//! @SYMTestPriority          medium
sl@0
 11288
sl@0
 11289
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11290
sl@0
 11291
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11292
sl@0
 11293
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11294
sl@0
 11295
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0463
sl@0
 11296
sl@0
 11297
END_TESTCASE                  SEC-CIT_PREQ1054_01-0463
sl@0
 11298
sl@0
 11299
sl@0
 11300
sl@0
 11301
sl@0
 11302
sl@0
 11303
START_TESTCASE                SEC-CIT_PREQ1054_01-0464
sl@0
 11304
sl@0
 11305
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0464
sl@0
 11306
sl@0
 11307
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11308
sl@0
 11309
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11310
sl@0
 11311
//! @SYMTestPriority          medium
sl@0
 11312
sl@0
 11313
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11314
sl@0
 11315
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11316
sl@0
 11317
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11318
sl@0
 11319
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0464
sl@0
 11320
sl@0
 11321
END_TESTCASE                  SEC-CIT_PREQ1054_01-0464
sl@0
 11322
sl@0
 11323
sl@0
 11324
sl@0
 11325
sl@0
 11326
sl@0
 11327
START_TESTCASE                SEC-CIT_PREQ1054_01-0465
sl@0
 11328
sl@0
 11329
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0465
sl@0
 11330
sl@0
 11331
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11332
sl@0
 11333
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11334
sl@0
 11335
//! @SYMTestPriority          medium
sl@0
 11336
sl@0
 11337
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11338
sl@0
 11339
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11340
sl@0
 11341
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11342
sl@0
 11343
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0465
sl@0
 11344
sl@0
 11345
END_TESTCASE                  SEC-CIT_PREQ1054_01-0465
sl@0
 11346
sl@0
 11347
sl@0
 11348
sl@0
 11349
sl@0
 11350
sl@0
 11351
START_TESTCASE                SEC-CIT_PREQ1054_01-0466
sl@0
 11352
sl@0
 11353
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0466
sl@0
 11354
sl@0
 11355
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11356
sl@0
 11357
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11358
sl@0
 11359
//! @SYMTestPriority          medium
sl@0
 11360
sl@0
 11361
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11362
sl@0
 11363
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11364
sl@0
 11365
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11366
sl@0
 11367
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0466
sl@0
 11368
sl@0
 11369
END_TESTCASE                  SEC-CIT_PREQ1054_01-0466
sl@0
 11370
sl@0
 11371
sl@0
 11372
sl@0
 11373
sl@0
 11374
sl@0
 11375
START_TESTCASE                SEC-CIT_PREQ1054_01-0467
sl@0
 11376
sl@0
 11377
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0467
sl@0
 11378
sl@0
 11379
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11380
sl@0
 11381
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11382
sl@0
 11383
//! @SYMTestPriority          medium
sl@0
 11384
sl@0
 11385
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11386
sl@0
 11387
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11388
sl@0
 11389
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11390
sl@0
 11391
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0467
sl@0
 11392
sl@0
 11393
END_TESTCASE                  SEC-CIT_PREQ1054_01-0467
sl@0
 11394
sl@0
 11395
sl@0
 11396
sl@0
 11397
sl@0
 11398
sl@0
 11399
START_TESTCASE                SEC-CIT_PREQ1054_01-0468
sl@0
 11400
sl@0
 11401
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0468
sl@0
 11402
sl@0
 11403
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11404
sl@0
 11405
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11406
sl@0
 11407
//! @SYMTestPriority          medium
sl@0
 11408
sl@0
 11409
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11410
sl@0
 11411
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11412
sl@0
 11413
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11414
sl@0
 11415
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0468
sl@0
 11416
sl@0
 11417
END_TESTCASE                  SEC-CIT_PREQ1054_01-0468
sl@0
 11418
sl@0
 11419
sl@0
 11420
sl@0
 11421
sl@0
 11422
sl@0
 11423
START_TESTCASE                SEC-CIT_PREQ1054_01-0469
sl@0
 11424
sl@0
 11425
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0469
sl@0
 11426
sl@0
 11427
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11428
sl@0
 11429
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11430
sl@0
 11431
//! @SYMTestPriority          medium
sl@0
 11432
sl@0
 11433
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11434
sl@0
 11435
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11436
sl@0
 11437
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11438
sl@0
 11439
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0469
sl@0
 11440
sl@0
 11441
END_TESTCASE                  SEC-CIT_PREQ1054_01-0469
sl@0
 11442
sl@0
 11443
sl@0
 11444
sl@0
 11445
sl@0
 11446
sl@0
 11447
START_TESTCASE                SEC-CIT_PREQ1054_01-0470
sl@0
 11448
sl@0
 11449
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0470
sl@0
 11450
sl@0
 11451
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11452
sl@0
 11453
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11454
sl@0
 11455
//! @SYMTestPriority          medium
sl@0
 11456
sl@0
 11457
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11458
sl@0
 11459
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11460
sl@0
 11461
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 4
sl@0
 11462
sl@0
 11463
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0470
sl@0
 11464
sl@0
 11465
END_TESTCASE                  SEC-CIT_PREQ1054_01-0470
sl@0
 11466
sl@0
 11467
sl@0
 11468
sl@0
 11469
sl@0
 11470
sl@0
 11471
START_TESTCASE                SEC-CIT_PREQ1054_01-0471
sl@0
 11472
sl@0
 11473
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0471
sl@0
 11474
sl@0
 11475
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11476
sl@0
 11477
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11478
sl@0
 11479
//! @SYMTestPriority          medium
sl@0
 11480
sl@0
 11481
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11482
sl@0
 11483
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11484
sl@0
 11485
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11486
sl@0
 11487
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0471
sl@0
 11488
sl@0
 11489
END_TESTCASE                  SEC-CIT_PREQ1054_01-0471
sl@0
 11490
sl@0
 11491
sl@0
 11492
sl@0
 11493
sl@0
 11494
sl@0
 11495
START_TESTCASE                SEC-CIT_PREQ1054_01-0472
sl@0
 11496
sl@0
 11497
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0472
sl@0
 11498
sl@0
 11499
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11500
sl@0
 11501
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11502
sl@0
 11503
//! @SYMTestPriority          medium
sl@0
 11504
sl@0
 11505
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11506
sl@0
 11507
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11508
sl@0
 11509
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11510
sl@0
 11511
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0472
sl@0
 11512
sl@0
 11513
END_TESTCASE                  SEC-CIT_PREQ1054_01-0472
sl@0
 11514
sl@0
 11515
sl@0
 11516
sl@0
 11517
sl@0
 11518
sl@0
 11519
START_TESTCASE                SEC-CIT_PREQ1054_01-0473
sl@0
 11520
sl@0
 11521
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0473
sl@0
 11522
sl@0
 11523
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11524
sl@0
 11525
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11526
sl@0
 11527
//! @SYMTestPriority          medium
sl@0
 11528
sl@0
 11529
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11530
sl@0
 11531
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11532
sl@0
 11533
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11534
sl@0
 11535
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0473
sl@0
 11536
sl@0
 11537
END_TESTCASE                  SEC-CIT_PREQ1054_01-0473
sl@0
 11538
sl@0
 11539
sl@0
 11540
sl@0
 11541
sl@0
 11542
sl@0
 11543
START_TESTCASE                SEC-CIT_PREQ1054_01-0474
sl@0
 11544
sl@0
 11545
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0474
sl@0
 11546
sl@0
 11547
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11548
sl@0
 11549
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11550
sl@0
 11551
//! @SYMTestPriority          medium
sl@0
 11552
sl@0
 11553
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11554
sl@0
 11555
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11556
sl@0
 11557
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11558
sl@0
 11559
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0474
sl@0
 11560
sl@0
 11561
END_TESTCASE                  SEC-CIT_PREQ1054_01-0474
sl@0
 11562
sl@0
 11563
sl@0
 11564
sl@0
 11565
sl@0
 11566
sl@0
 11567
START_TESTCASE                SEC-CIT_PREQ1054_01-0475
sl@0
 11568
sl@0
 11569
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0475
sl@0
 11570
sl@0
 11571
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11572
sl@0
 11573
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11574
sl@0
 11575
//! @SYMTestPriority          medium
sl@0
 11576
sl@0
 11577
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11578
sl@0
 11579
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11580
sl@0
 11581
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 20
sl@0
 11582
sl@0
 11583
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0475
sl@0
 11584
sl@0
 11585
END_TESTCASE                  SEC-CIT_PREQ1054_01-0475
sl@0
 11586
sl@0
 11587
sl@0
 11588
sl@0
 11589
sl@0
 11590
sl@0
 11591
START_TESTCASE                SEC-CIT_PREQ1054_01-0476
sl@0
 11592
sl@0
 11593
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0476
sl@0
 11594
sl@0
 11595
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11596
sl@0
 11597
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11598
sl@0
 11599
//! @SYMTestPriority          medium
sl@0
 11600
sl@0
 11601
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11602
sl@0
 11603
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11604
sl@0
 11605
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11606
sl@0
 11607
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0476
sl@0
 11608
sl@0
 11609
END_TESTCASE                  SEC-CIT_PREQ1054_01-0476
sl@0
 11610
sl@0
 11611
sl@0
 11612
sl@0
 11613
sl@0
 11614
sl@0
 11615
START_TESTCASE                SEC-CIT_PREQ1054_01-0477
sl@0
 11616
sl@0
 11617
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0477
sl@0
 11618
sl@0
 11619
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11620
sl@0
 11621
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11622
sl@0
 11623
//! @SYMTestPriority          medium
sl@0
 11624
sl@0
 11625
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11626
sl@0
 11627
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11628
sl@0
 11629
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11630
sl@0
 11631
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0477
sl@0
 11632
sl@0
 11633
END_TESTCASE                  SEC-CIT_PREQ1054_01-0477
sl@0
 11634
sl@0
 11635
sl@0
 11636
sl@0
 11637
sl@0
 11638
sl@0
 11639
START_TESTCASE                SEC-CIT_PREQ1054_01-0478
sl@0
 11640
sl@0
 11641
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0478
sl@0
 11642
sl@0
 11643
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11644
sl@0
 11645
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11646
sl@0
 11647
//! @SYMTestPriority          medium
sl@0
 11648
sl@0
 11649
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11650
sl@0
 11651
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11652
sl@0
 11653
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11654
sl@0
 11655
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0478
sl@0
 11656
sl@0
 11657
END_TESTCASE                  SEC-CIT_PREQ1054_01-0478
sl@0
 11658
sl@0
 11659
sl@0
 11660
sl@0
 11661
sl@0
 11662
sl@0
 11663
START_TESTCASE                SEC-CIT_PREQ1054_01-0479
sl@0
 11664
sl@0
 11665
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0479
sl@0
 11666
sl@0
 11667
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11668
sl@0
 11669
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11670
sl@0
 11671
//! @SYMTestPriority          medium
sl@0
 11672
sl@0
 11673
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11674
sl@0
 11675
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11676
sl@0
 11677
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11678
sl@0
 11679
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0479
sl@0
 11680
sl@0
 11681
END_TESTCASE                  SEC-CIT_PREQ1054_01-0479
sl@0
 11682
sl@0
 11683
sl@0
 11684
sl@0
 11685
sl@0
 11686
sl@0
 11687
START_TESTCASE                SEC-CIT_PREQ1054_01-0480
sl@0
 11688
sl@0
 11689
//! @SYMTestCaseID            SEC-CIT_PREQ1054_01-0480
sl@0
 11690
sl@0
 11691
//! @SYMTestCaseDesc          Correctly generate key for given KDF mode, password, key length and salt length.
sl@0
 11692
sl@0
 11693
//! @SYMREQ                   CIT_PREQ1054
sl@0
 11694
sl@0
 11695
//! @SYMTestPriority          medium
sl@0
 11696
sl@0
 11697
//! @SYMTestActions           Generates a PKCS#12-format key from the supplied parameters.
sl@0
 11698
sl@0
 11699
//! @SYMTestExpectedResults   The generated key matches the expected byte stream.
sl@0
 11700
sl@0
 11701
//! @SYMTestActions           1) PKCS#12 KDF, key len = 368, salt len = 25
sl@0
 11702
sl@0
 11703
//!                           2) OOM End
sl@0
 11704
sl@0
 11705
RUN_TEST_STEP                 -1    CTestHandler        DeriveKey              tpkcs12kdftests.ini   SEC-CIT_PREQ1054_01-0480
sl@0
 11706
sl@0
 11707
RUN_TEST_STEP                 -1    CTestHandler        stopmemfailure      
sl@0
 11708
sl@0
 11709
END_TESTCASE                  SEC-CIT_PREQ1054_01-0480
sl@0
 11710
sl@0
 11711
sl@0
 11712
sl@0
 11713
sl@0
 11714