File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -556,6 +556,17 @@ impl HasDefaultTranscript for Degree3GoldilocksExtensionField {
556556 }
557557}
558558
559+ // =====================================================
560+ // HELPER FUNCTIONS
561+ // =====================================================
562+
563+ /// Multiply a field element by 7 (the quadratic non-residue).
564+ /// Wraps the raw u64 implementation for use with FieldElement types.
565+ #[ inline( always) ]
566+ fn mul_by_7 ( a : & FpE ) -> FpE {
567+ FpE :: from_raw ( mul_by_7_raw ( * a. value ( ) ) )
568+ }
569+
559570#[ cfg( test) ]
560571mod tests {
561572 use super :: * ;
@@ -579,14 +590,3 @@ mod tests {
579590 }
580591 }
581592}
582-
583- // =====================================================
584- // HELPER FUNCTIONS
585- // =====================================================
586-
587- /// Multiply a field element by 7 (the quadratic non-residue).
588- /// Wraps the raw u64 implementation for use with FieldElement types.
589- #[ inline( always) ]
590- fn mul_by_7 ( a : & FpE ) -> FpE {
591- FpE :: from_raw ( mul_by_7_raw ( * a. value ( ) ) )
592- }
You can’t perform that action at this time.
0 commit comments