integrate with neptune's sponge (#105)

* integrate with neptune's sponge

* fix clippy warning

* add checks to ensure at most one squeeze

* add checks to ensure at most one squeeze
This commit is contained in:
Srinath Setty
2022-08-11 19:03:44 -07:00
committed by GitHub
parent ddd90f7373
commit 0a7cbf925f
8 changed files with 97 additions and 78 deletions

View File

@@ -2,3 +2,5 @@ pub(crate) const NUM_CHALLENGE_BITS: usize = 128;
pub(crate) const NUM_HASH_BITS: usize = 250;
pub(crate) const BN_LIMB_WIDTH: usize = 64;
pub(crate) const BN_N_LIMBS: usize = 4;
pub(crate) const NUM_FE_FOR_HASH: usize = 19;
pub(crate) const NUM_FE_FOR_RO: usize = 24;