Searched refs:GetModulus (Results 1 - 19 of 19) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dmodexppc.h26 const Integer & GetModulus() const {return m_mr->GetModulus();} function in class:ModExpPrecomputation
H A Delgamal.h21 return GetGroupParameters().GetModulus().ByteCount();
26 unsigned int len = GetGroupParameters().GetModulus().ByteCount();
35 unsigned int len = GetGroupParameters().GetModulus().ByteCount();
44 const Integer &p = GetGroupParameters().GetModulus();
57 const Integer &p = GetGroupParameters().GetModulus();
H A Dgfpcrypt.cpp64 pass = pass && DSA::IsValidPrimeLength(GetModulus().BitCount());
115 const Integer &p = GetModulus(), &q = GetSubgroupOrder();
131 const Integer &p = GetModulus(), &q = GetSubgroupOrder();
193 Integer g(encoded, GetModulus().ByteCount());
221 GetModulus().DEREncode(parameters);
248 ModularArithmetic ma(GetModulus());
254 return a_times_b_mod_c(a, b, GetModulus());
259 ModularArithmetic ma(GetModulus());
265 return STDMIN(GetSubgroupOrder()-1, Integer::Power2(2*DiscreteLogWorkFactor(GetFieldType()*GetModulus().BitCount())));
H A Dgfpcrypt.h29 {Initialize(params.GetModulus(), params.GetSubgroupOrder(), params.GetSubgroupGenerator());}
49 Integer GetGroupOrder() const {return GetFieldType() == 1 ? GetModulus()-Integer::One() : GetModulus()+Integer::One();}
54 {element.Encode(encoded, GetModulus().ByteCount());}
55 unsigned int GetEncodedElementSize(bool reversible) const {return GetModulus().ByteCount();}
64 virtual const Integer & GetModulus() const =0;
103 const Integer & GetModulus() const {return this->m_groupPrecomputation.GetModulus();} function in class:DL_GroupParameters_IntegerBasedImpl
111 {return GetModulus() == rhs.GetModulus()
[all...]
H A Dxtrcrypt.h37 const Integer &GetModulus() const {return m_p;} function in class:XTR_DH
H A Dxtr.h54 const Integer& GetModulus() const {return modp.GetModulus();} function in class:GFP2_ONB
147 return result = Exponentiate(a, modp.GetModulus()-2);
161 Integer::Divide(emodp, edivp, e, modp.GetModulus());
H A Drabin.h33 const Integer& GetModulus() const {return m_n;} function in class:RabinFunction
H A Drw.h33 const Integer& GetModulus() const {return m_n;} function in class:RWFunction
H A Dluc.cpp38 return Lucas(exponent, m_g, static_cast<const DL_GroupPrecomputation_LUC &>(group).GetModulus());
44 results[i] = Lucas(exponents[i], base, GetModulus());
H A Dluc.h42 const Integer & GetModulus() const {return m_n;} function in class:LUCFunction
124 const Integer & GetModulus() const {return m_p;} function in class:DL_GroupPrecomputation_LUC
H A Design.h39 const Integer & GetModulus() const {return m_n;} function in class:ESIGNFunction
H A Dec2n.cpp144 pass = pass && m_field->GetModulus().IsIrreducible();
155 && !(((x+m_a)*x*x+m_b-(x+y)*y)%m_field->GetModulus()));
H A Decp.h77 Integer FieldSize() const {return GetField().GetModulus();}
H A Dmodarith.h41 const Integer& GetModulus() const {return m_modulus;} function in class:ModularArithmetic
H A Drsa.h42 const Integer & GetModulus() const {return m_n;} function in class:RSAFunction
H A Dfipsalgt.cpp431 OutputData(output, "P ", pqg.GetModulus());
485 if (priv.GetGroupParameters().GetModulus().BitCount() != modLen)
494 OutputData(output, "P ", priv.GetGroupParameters().GetModulus());
645 if (priv.GetModulus().BitCount() != modLen)
654 OutputData(output, "n ", priv.GetModulus());
H A Dalgebra.h230 const Element& GetModulus() const function in class:QuotientRing
H A Decp.cpp31 m_fieldPtr.reset(new MontgomeryRepresentation(ecp.GetField().GetModulus()));
H A Dvalidat2.cpp468 fail = fail || (pGen != pub.GetKey().GetGroupParameters().GetModulus()) || (qGen != pub.GetKey().GetGroupParameters().GetSubgroupOrder());

Completed in 58 milliseconds