1 #ifndef MTTOOLBOX_ALGORITHM_RECURSION_SEARCH_HPP
2 #define MTTOOLBOX_ALGORITHM_RECURSION_SEARCH_HPP
32 #include <NTL/GF2XFactoring.h>
73 template<
typename U,
typename V = U>
177 long size = rand->bitSize();
179 for (
int i = 0; i < try_count; i++) {
180 rand->setUpParam(*baseGenerator);
181 rand->seed(getOne<U>());
185 if (degree != size) {
187 cout <<
"degree:" << degree << endl;
213 return rand->getParamString();
262 #endif // MTTOOLBOX_ALGORITHM_RECURSION_SEARCH_HPP
Abstract class for searching parameters of state transition function of pseudo random number generato...
This file provides functions calculating minimal polynomials and checking primitivity.