Update contrib.
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
26 #if (!defined __TE_CRYPTOSPI_STEP_BASE__)
27 #define __TE_CRYPTOSPI_STEP_BASE__
28 #include <test/testexecutestepbase.h>
30 //********************CryptoSpi Specific Headers and Macros********************
32 #include "te_cryptospiconversion.h"
33 #include "te_cryptospidefs.h"
36 #include <cryptospi/cryptospidef.h>
40 #define DES_AS_8_BIT(str) (TPtrC8(reinterpret_cast<const TText8*>(((str).Ptr())), (str).Size()))
42 //****************************************************************************
44 /****************************************************************************
45 * The reason to have a new step base is that it is very much possible
46 * that the all individual test steps have project related common variables
48 * and this is the place to define these common variable and members.
50 ****************************************************************************/
51 class CTe_CryptoSpiStepBase : public CTestStep
54 virtual ~CTe_CryptoSpiStepBase();
55 CTe_CryptoSpiStepBase();
56 virtual TVerdict doTestStepPreambleL();
57 virtual TVerdict doTestStepPostambleL();