Searched refs:GetFieldType (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dgfpcrypt.cpp134 pass = pass && GetFieldType() == 1 ? g.IsPositive() : g.NotNegative();
144 if (GetFieldType() == 2)
149 bool fullValidate = (GetFieldType() == 2 && level >= 3) || !FastSubgroupCheckAvailable();
156 else if (GetFieldType() == 1)
182 pg.Generate(GetFieldType() == 1 ? 1 : -1, rng, modulusSize, subgroupOrderSize);
265 return STDMIN(GetSubgroupOrder()-1, Integer::Power2(2*DiscreteLogWorkFactor(GetFieldType()*GetModulus().BitCount())));
270 return 2*DiscreteLogWorkFactor(GetFieldType()*modulusSize);
H A Dgfpcrypt.h49 Integer GetGroupOrder() const {return GetFieldType() == 1 ? GetModulus()-Integer::One() : GetModulus()+Integer::One();}
72 {return modulus-(GetFieldType() == 1 ? 1 : -1);}
75 virtual int GetFieldType() const =0;
137 int GetFieldType() const {return 1;} function in class:DL_GroupParameters_GFP
H A Dluc.h168 int GetFieldType() const {return 2;} function in class:DL_GroupParameters_LUC

Completed in 71 milliseconds