Lines Matching defs:modulusSize
36 int modulusSize = 1024;
37 alg.GetIntValue("ModulusSize", modulusSize) || alg.GetIntValue("KeySize", modulusSize);
39 if (!DSA::IsValidPrimeLength(modulusSize))
49 } while (!DSA::GeneratePrimes(seed, SHA::DIGESTSIZE*8, c, p, modulusSize, q));
173 int modulusSize, subgroupOrderSize;
175 if (!alg.GetIntValue("ModulusSize", modulusSize))
176 modulusSize = alg.GetIntValueWithDefault("KeySize", 2048);
179 subgroupOrderSize = GetDefaultSubgroupOrderSize(modulusSize);
182 pg.Generate(GetFieldType() == 1 ? 1 : -1, rng, modulusSize, subgroupOrderSize);
268 unsigned int DL_GroupParameters_IntegerBased::GetDefaultSubgroupOrderSize(unsigned int modulusSize) const
270 return 2*DiscreteLogWorkFactor(GetFieldType()*modulusSize);