1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/crypto/weakcryptospi/test/tpbe/tpbe.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,54 @@
1.4 +/*
1.5 +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of the License "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +#ifndef TPBE_H
1.23 +#define TPBE_H
1.24 +
1.25 +#include "pkcs5kdf.h"
1.26 +#include "pkcs12kdf.h"
1.27 +
1.28 +_LIT8(KInputStart, "<input>");
1.29 +_LIT8(KInputEnd, "</input>");
1.30 +_LIT8(KPasswdStart, "<passwd>");
1.31 +_LIT8(KPasswdEnd, "</passwd>");
1.32 +_LIT8(KKdfStart, "<kdf>");
1.33 +_LIT8(KKdfEnd, "</kdf>");
1.34 +_LIT8(KSaltLenBytesStart, "<salt_len_bytes>");
1.35 +_LIT8(KSaltLenBytesEnd, "</salt_len_bytes>");
1.36 +_LIT8(KCipherStart, "<cipher>");
1.37 +_LIT8(KCipherEnd, "</cipher>");
1.38 +_LIT8(KIterCountStart, "<iter_count>");
1.39 +_LIT8(KIterCountEnd, "</iter_count>");
1.40 +_LIT8(KECipherAES_CBC_128, "ECipherAES_CBC_128");
1.41 +_LIT8(KECipherAES_CBC_192, "ECipherAES_CBC_192");
1.42 +_LIT8(KECipherAES_CBC_256, "ECipherAES_CBC_256");
1.43 +_LIT8(KECipherDES_CBC, "ECipherDES_CBC");
1.44 +_LIT8(KECipher3DES_CBC, "ECipher3DES_CBC");
1.45 +_LIT8(KECipherRC2_CBC_40, "ECipherRC2_CBC_40");
1.46 +_LIT8(KECipherRC2_CBC_128, "ECipherRC2_CBC_128");
1.47 +_LIT8(KECipherRC2_CBC_40_16, "ECipherRC2_CBC_40_16");
1.48 +_LIT8(KECipherRC2_CBC_128_16, "ECipherRC2_CBC_128_16");
1.49 +
1.50 +_LIT8(KECipherARC4_128, "ECipherARC4_128");
1.51 +_LIT8(KECipherARC4_40, "ECipherARC4_40");
1.52 +_LIT8(KECipher2Key3DES_CBC, "ECipher2Key3DES_CBC");
1.53 +_LIT8(KECipherRC2_CBC_40_5, "ECipherRC2_CBC_40_5");
1.54 +
1.55 +#endif
1.56 +
1.57 +