1 #ifndef MTTOOLBOX_PERIOD_HPP
2 #define MTTOOLBOX_PERIOD_HPP
28 #include <NTL/vector.h>
55 template<
typename U>
void
69 v.SetLength(2 * size);
70 for (
int i = 0; i < 2 * size; i++) {
74 MinPolySeq(poly, v, size);
96 bool isMexp(uint32_t degree);
139 bool isPrime(
const NTL::GF2X& poly);
170 bool isPrime(
const NTL::GF2X& poly,
int degree,
171 const NTL::Vec<NTL::ZZ>& prime_factors);
202 bool isPrime(
const NTL::GF2X& poly,
203 int degree,
const char * prime_factors[]);
229 #endif // MTTOOLBOX_PERIOD_HPP
Abstract class of GF(2)-linear pseudo random number generators.