|
1 /* |
|
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 /** |
|
22 @file |
|
23 @internalTechnology |
|
24 */ |
|
25 #if (!defined __SYMMETRICCIPHERINCREMENTALENCRYPTDECRYPT_STEP_H__) |
|
26 #define __SYMMETRICCIPHERINCREMENTALENCRYPTDECRYPT_STEP_H__ |
|
27 #include <test/testexecutestepbase.h> |
|
28 #include "symmetriccipherstepbase.h" |
|
29 |
|
30 class CSymmetricCipherIncrementalEncryptDecryptStep : public CSymmetricCipherStepBase |
|
31 { |
|
32 public: |
|
33 CSymmetricCipherIncrementalEncryptDecryptStep(TInt aOffset = 0); |
|
34 ~CSymmetricCipherIncrementalEncryptDecryptStep(); |
|
35 virtual TVerdict doTestStepPreambleL(); |
|
36 virtual TVerdict doTestStepL(); |
|
37 virtual TVerdict doTestStepPostambleL(); |
|
38 |
|
39 private: |
|
40 TInt iOffset; |
|
41 }; |
|
42 |
|
43 _LIT(KSymmetricCipherIncrementalEncryptDecryptStep,"SymmetricCipherIncrementalEncryptDecryptStep"); |
|
44 _LIT(KSymmetricCipherIncrementalEncryptDecryptMinus1ByteStep,"SymmetricCipherIncrementalEncryptDecryptMinus1ByteStep"); |
|
45 _LIT(KSymmetricCipherIncrementalEncryptDecryptMinus3BytesStep,"SymmetricCipherIncrementalEncryptDecryptMinus3BytesStep"); |
|
46 _LIT(KSymmetricCipherIncrementalEncryptDecryptPlus1ByteStep,"SymmetricCipherIncrementalEncryptDecryptPlus1ByteStep"); |
|
47 _LIT(KSymmetricCipherIncrementalEncryptDecryptPlus3BytesStep,"SymmetricCipherIncrementalEncryptDecryptPlus3BytesStep"); |
|
48 |
|
49 |
|
50 _LIT(KEncryptedFilePath,"c:\\encryptedfilepath.txt"); |
|
51 _LIT(KDecryptedFilePath,"c:\\decryptedfilepath.txt"); |
|
52 |
|
53 |
|
54 #endif |