crypto/weakcrypto/test/tasymmetric/tdhvector.h
changeset 71 dd83586b62d6
equal deleted inserted replaced
66:8873e6835f7b 71:dd83586b62d6
       
     1 /*
       
     2 * Copyright (c) 2003-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 __TDHVECTOR_H__
       
    20 #define __TDHVECTOR_H__
       
    21 
       
    22 #include "tvectortest.h"
       
    23 
       
    24 /**
       
    25  * Runs DH vectors.
       
    26  */
       
    27 class CDHVector : public CVectorTest
       
    28     {
       
    29 public:
       
    30 	static CTestAction* NewL(RFs& aFs, CConsoleBase& aConsole,
       
    31 		Output& aOut, const TTestActionSpec& aTestActionSpec);
       
    32 	static CTestAction* NewLC(RFs& aFs, CConsoleBase& aConsole,
       
    33 		Output& aOut, const TTestActionSpec& aTestActionSpec);
       
    34 	virtual ~CDHVector();
       
    35 protected:
       
    36 	virtual void DoPerformActionL();
       
    37 	virtual void DoPerformPrerequisite(TRequestStatus& aStatus);
       
    38 	virtual void DoPerformanceTestActionL();
       
    39 private:
       
    40 	CDHVector(RFs& aFs, CConsoleBase& aConsole, Output& aOut);
       
    41 	void ConstructL(const TTestActionSpec& aTestActionSpec);
       
    42 
       
    43 	HBufC8* iN;
       
    44 	HBufC8* iG;
       
    45 	RInteger iN1;
       
    46 	RInteger iN2;
       
    47 	RInteger iG1;
       
    48 	RInteger iG2;
       
    49     };
       
    50 
       
    51 #endif
       
    52