mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-10 01:33:07 +00:00
Back to width 12
This commit is contained in:
parent
1a55538e23
commit
747c9f894b
@ -16,7 +16,7 @@ use crate::hash::poseidon::Poseidon;
|
||||
use crate::util::bits_u64;
|
||||
|
||||
/// A prime order field with the features we need to use it as a base field in our argument system.
|
||||
pub trait RichField: PrimeField + GMiMC<8> + Poseidon<8> {}
|
||||
pub trait RichField: PrimeField + GMiMC<12> + Poseidon<12> {}
|
||||
|
||||
/// A finite field.
|
||||
pub trait Field:
|
||||
|
||||
@ -9,7 +9,7 @@ use crate::hash::hash_types::{HashOut, HashOutTarget};
|
||||
use crate::iop::target::Target;
|
||||
use crate::plonk::circuit_builder::CircuitBuilder;
|
||||
|
||||
pub(crate) const SPONGE_RATE: usize = 4;
|
||||
pub(crate) const SPONGE_RATE: usize = 8;
|
||||
pub(crate) const SPONGE_CAPACITY: usize = 4;
|
||||
pub const SPONGE_WIDTH: usize = SPONGE_RATE + SPONGE_CAPACITY;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user