revert extension field order

This commit is contained in:
wborgeaud 2021-05-18 16:36:14 +02:00
parent 4f6f2192ab
commit 8737c8d5b9
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ impl Field for QuadraticCrandallField {
const NEG_ONE: Self = Self([CrandallField::NEG_ONE, CrandallField::ZERO]);
// Does not fit in 64-bits.
const ORDER: u64 = 0xffffffffffffffff; // Otherwise F::ORDER.leading_zeros() is misleading.
const ORDER: u64 = 0;
const TWO_ADICITY: usize = 29;
const MULTIPLICATIVE_GROUP_GENERATOR: Self = Self([CrandallField(3), CrandallField::ONE]);
const POWER_OF_TWO_GENERATOR: Self =

View File

@ -114,7 +114,7 @@ impl Field for QuarticCrandallField {
]);
// Does not fit in 64-bits.
const ORDER: u64 = 0xffffffffffffffff; // Otherwise F::ORDER.leading_zeros() is misleading.
const ORDER: u64 = 0;
const TWO_ADICITY: usize = 30;
const MULTIPLICATIVE_GROUP_GENERATOR: Self = Self([
CrandallField(3),