|
1 /* |
|
2 * Copyright (c) 2005-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 #ifndef TPBE_H |
|
20 #define TPBE_H |
|
21 |
|
22 #include "pkcs5kdf.h" |
|
23 #include "pkcs12kdf.h" |
|
24 |
|
25 _LIT8(KInputStart, "<input>"); |
|
26 _LIT8(KInputEnd, "</input>"); |
|
27 _LIT8(KPasswdStart, "<passwd>"); |
|
28 _LIT8(KPasswdEnd, "</passwd>"); |
|
29 _LIT8(KKdfStart, "<kdf>"); |
|
30 _LIT8(KKdfEnd, "</kdf>"); |
|
31 _LIT8(KSaltLenBytesStart, "<salt_len_bytes>"); |
|
32 _LIT8(KSaltLenBytesEnd, "</salt_len_bytes>"); |
|
33 _LIT8(KCipherStart, "<cipher>"); |
|
34 _LIT8(KCipherEnd, "</cipher>"); |
|
35 _LIT8(KIterCountStart, "<iter_count>"); |
|
36 _LIT8(KIterCountEnd, "</iter_count>"); |
|
37 _LIT8(KECipherAES_CBC_128, "ECipherAES_CBC_128"); |
|
38 _LIT8(KECipherAES_CBC_192, "ECipherAES_CBC_192"); |
|
39 _LIT8(KECipherAES_CBC_256, "ECipherAES_CBC_256"); |
|
40 _LIT8(KECipherDES_CBC, "ECipherDES_CBC"); |
|
41 _LIT8(KECipher3DES_CBC, "ECipher3DES_CBC"); |
|
42 _LIT8(KECipherRC2_CBC_40, "ECipherRC2_CBC_40"); |
|
43 _LIT8(KECipherRC2_CBC_128, "ECipherRC2_CBC_128"); |
|
44 _LIT8(KECipherRC2_CBC_40_16, "ECipherRC2_CBC_40_16"); |
|
45 _LIT8(KECipherRC2_CBC_128_16, "ECipherRC2_CBC_128_16"); |
|
46 |
|
47 _LIT8(KECipherARC4_128, "ECipherARC4_128"); |
|
48 _LIT8(KECipherARC4_40, "ECipherARC4_40"); |
|
49 _LIT8(KECipher2Key3DES_CBC, "ECipher2Key3DES_CBC"); |
|
50 _LIT8(KECipherRC2_CBC_40_5, "ECipherRC2_CBC_40_5"); |
|
51 |
|
52 #endif |