pub fn is_primitive_polynomial(poly: u64) -> boolExpand description
Tests whether poly (degree between 2 and MAX_CHECKED_DEGREE, with nonzero constant term)
is primitive over GF(2), i.e. the multiplicative order of x modulo poly is 2^n - 1.