We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c68a2d commit f6d8d0dCopy full SHA for f6d8d0d
sumcheck/src/scratch_pad.rs
@@ -147,7 +147,20 @@ impl<C: GKRConfig> VerifierScratchPad<C> {
147
}
148
149
let deg6_eval_at = if C::FIELD_TYPE == FieldType::GF2 {
150
- panic!("GF2 not supported yet");
+ // TODO: Does this correctly define Lagrange poly for GF2?
151
+ [
152
+ C::ChallengeField::ZERO,
153
+ C::ChallengeField::ONE,
154
+ C::ChallengeField::X,
155
+ C::ChallengeField::X.mul_by_x(),
156
+ C::ChallengeField::X.mul_by_x().mul_by_x(),
157
+ C::ChallengeField::X.mul_by_x().mul_by_x().mul_by_x(),
158
+ C::ChallengeField::X
159
+ .mul_by_x()
160
161
162
+ .mul_by_x(),
163
+ ]
164
} else {
165
[
166
C::ChallengeField::ZERO,
0 commit comments