os/security/crypto/weakcrypto/test/tbigint/tbigint.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 1998-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 * tactionderivekey.h
    16 *
    17 */
    18 
    19 
    20 #ifndef __TBIGINT_H__
    21 #define __TBIGINT_H__
    22 
    23 #include "t_testaction.h"
    24 #include <e32std.h>
    25 
    26 class CActionBigInt : public CTestAction
    27 {
    28 public:
    29 	static CTestAction* NewL(RFs& aFs, CConsoleBase& aConsole,
    30 		Output& aOut, const TTestActionSpec& aTestActionSpec);
    31 	static CTestAction* NewLC(RFs& aFs, CConsoleBase& aConsole,
    32 		Output& aOut, const TTestActionSpec& aTestActionSpec);
    33 	virtual ~CActionBigInt();
    34 	virtual void DoPerformPrerequisite(TRequestStatus& aStatus);
    35 	virtual void DoPerformPostrequisite(TRequestStatus& aStatus);
    36 	virtual void PerformAction(TRequestStatus& aStatus);
    37 	virtual void DoReportAction(void);
    38 	virtual void DoCheckResult(TInt);
    39 
    40 private:
    41 	CActionBigInt(RFs& aFs, CConsoleBase& aConsole, Output& aOut);
    42 	void ConstructL(const TTestActionSpec& aTestActionSpec);
    43 	void Hex(HBufC8& string);
    44 
    45 	RFs& iFs;
    46 	HBufC8* iBody;
    47 	HBufC8* iPasswd;
    48 	HBufC8* iSalt;
    49 	HBufC8* iKey;
    50 	HBufC8* iOutput;
    51 	HBufC8* iIterations;
    52 };
    53 
    54 #endif