Searched refs:MontgomeryRepresentation (Results 1 - 7 of 7) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dmodexppc.h25 void SetModulus(const Integer &v) {m_mr.reset(new MontgomeryRepresentation(v));}
29 value_ptr<MontgomeryRepresentation> m_mr;
H A Dmodarith.h122 class CRYPTOPP_DLL MontgomeryRepresentation : public ModularArithmetic class in inherits:ModularArithmetic
125 MontgomeryRepresentation(const Integer &modulus); // modulus must be odd
127 virtual ModularArithmetic * Clone() const {return new MontgomeryRepresentation(*this);}
H A Dxtr.cpp63 GFP2_ONB<MontgomeryRepresentation> gfp2(p);
H A Dinteger.h367 friend class MontgomeryRepresentation;
H A Decp.cpp31 m_fieldPtr.reset(new MontgomeryRepresentation(ecp.GetField().GetModulus()));
H A Dinteger.cpp4150 MontgomeryRepresentation dr(m_modulus);
4161 MontgomeryRepresentation dr(m_modulus);
4170 MontgomeryRepresentation::MontgomeryRepresentation(const Integer &m) // modulus must be odd
4176 throw InvalidArgument("MontgomeryRepresentation: Montgomery representation requires an odd modulus");
4181 const Integer& MontgomeryRepresentation::Multiply(const Integer &a, const Integer &b) const
4194 const Integer& MontgomeryRepresentation::Square(const Integer &a) const
4207 Integer MontgomeryRepresentation::ConvertOut(const Integer &a) const
4220 const Integer& MontgomeryRepresentation::MultiplicativeInverse(const Integer &a) const
H A Dnbtheory.cpp818 MontgomeryRepresentation m(n);
857 MontgomeryRepresentation m(modulus);

Completed in 97 milliseconds