diff --git a/halo2_gadgets/src/sha256/table16.rs b/halo2_gadgets/src/sha256/table16.rs index 48a38ea5fb..41798978de 100644 --- a/halo2_gadgets/src/sha256/table16.rs +++ b/halo2_gadgets/src/sha256/table16.rs @@ -1,4 +1,4 @@ -use halo2_proofs::arithmetic::FieldExt as Field; +use ff::PrimeField as Field; use halo2_proofs::{ circuit::{AssignedCell, Chip, Layouter, Region, Value}, plonk::{Advice, Any, Assigned, Column, ConstraintSystem, Error}, diff --git a/halo2_gadgets/src/sha256/table16/compression/compression_gates.rs b/halo2_gadgets/src/sha256/table16/compression/compression_gates.rs index b7a23735d3..2828a49182 100644 --- a/halo2_gadgets/src/sha256/table16/compression/compression_gates.rs +++ b/halo2_gadgets/src/sha256/table16/compression/compression_gates.rs @@ -1,6 +1,6 @@ use super::super::{util::*, Gate}; -use ff::PrimeField; use crate::utilities::range_check; +use ff::PrimeField; use halo2_proofs::plonk::{Constraint, Constraints, Expression}; use std::marker::PhantomData; diff --git a/halo2_gadgets/src/sha256/table16/spread_table.rs b/halo2_gadgets/src/sha256/table16/spread_table.rs index 0d016656c9..87a71efd52 100644 --- a/halo2_gadgets/src/sha256/table16/spread_table.rs +++ b/halo2_gadgets/src/sha256/table16/spread_table.rs @@ -1,7 +1,6 @@ use super::{util::*, AssignedBits, Field}; use ff::PrimeField; use halo2_proofs::{ - arithmetic::Field, circuit::{Chip, Layouter, Region, Value}, plonk::{Advice, Column, ConstraintSystem, Error, TableColumn}, };