Lines Matching defs:DL_GroupPrecomputation
11 class DL_GroupPrecomputation
31 virtual void SetBase(const DL_GroupPrecomputation<Element> &group, const Element &base) =0;
32 virtual const Element & GetBase(const DL_GroupPrecomputation<Element> &group) const =0;
33 virtual void Precompute(const DL_GroupPrecomputation<Element> &group, unsigned int maxExpBits, unsigned int storage) =0;
34 virtual void Load(const DL_GroupPrecomputation<Element> &group, BufferedTransformation &storedPrecomputation) =0;
35 virtual void Save(const DL_GroupPrecomputation<Element> &group, BufferedTransformation &storedPrecomputation) const =0;
36 virtual Element Exponentiate(const DL_GroupPrecomputation<Element> &group, const Integer &exponent) const =0;
37 virtual Element CascadeExponentiate(const DL_GroupPrecomputation<Element> &group, const Integer &exponent, const DL_FixedBasePrecomputation<Element> &pc2, const Integer &exponent2) const =0;
51 void SetBase(const DL_GroupPrecomputation<Element> &group, const Element &base);
52 const Element & GetBase(const DL_GroupPrecomputation<Element> &group) const
54 void Precompute(const DL_GroupPrecomputation<Element> &group, unsigned int maxExpBits, unsigned int storage);
55 void Load(const DL_GroupPrecomputation<Element> &group, BufferedTransformation &storedPrecomputation);
56 void Save(const DL_GroupPrecomputation<Element> &group, BufferedTransformation &storedPrecomputation) const;
57 Element Exponentiate(const DL_GroupPrecomputation<Element> &group, const Integer &exponent) const;
58 Element CascadeExponentiate(const DL_GroupPrecomputation<Element> &group, const Integer &exponent, const DL_FixedBasePrecomputation<Element> &pc2, const Integer &exponent2) const;
61 void PrepareCascade(const DL_GroupPrecomputation<Element> &group, std::vector<BaseAndExponent<Element> > &eb, const Integer &exponent) const;