crypto/weakcryptospi/source/bigint/mont.h
changeset 29 ece3df019add
parent 19 cd501b96611d
equal deleted inserted replaced
19:cd501b96611d 29:ece3df019add
    43 	IMPORT_C const TInteger& ExponentiateL(const TInteger& aBase, const TInteger& aExponent) const;
    43 	IMPORT_C const TInteger& ExponentiateL(const TInteger& aBase, const TInteger& aExponent) const;
    44 	const TInteger& SquareL(const TInteger& aA) const;
    44 	const TInteger& SquareL(const TInteger& aA) const;
    45 protected:
    45 protected:
    46 	void DoMultiplyL(TInteger& aResult, const TInteger& aA, const TInteger& aB) const;
    46 	void DoMultiplyL(TInteger& aResult, const TInteger& aA, const TInteger& aB) const;
    47 	void DoSquareL(TInteger& aResult, const TInteger& aA) const;
    47 	void DoSquareL(TInteger& aResult, const TInteger& aA) const;
    48 	TInteger& ConvertIn(TInteger& aInteger) const;
    48 	TInteger& ConvertInL(TInteger& aInteger) const;
    49 	TInteger& ConvertOutL(TInteger& aInteger) const;
    49 	TInteger& ConvertOutL(TInteger& aInteger) const;
    50 	CMontgomeryStructure();
    50 	CMontgomeryStructure();
    51 private:
    51 private:
    52 	void ConstructL(const TInteger& aModulus);
    52 	void ConstructL(const TInteger& aModulus);
    53 	RInteger iModulus;
    53 	RInteger iModulus;