optimize the non-native arithmetic and hashing costs by using 4 limbs instead of 8 (#102)

This commit is contained in:
Srinath Setty
2022-07-27 17:09:49 -07:00
committed by GitHub
parent 111abcab38
commit a56f823ace
4 changed files with 22 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
pub(crate) const NUM_CHALLENGE_BITS: usize = 128;
pub(crate) const NUM_HASH_BITS: usize = 250;
pub(crate) const BN_LIMB_WIDTH: usize = 32;
pub(crate) const BN_N_LIMBS: usize = 8;
pub(crate) const BN_LIMB_WIDTH: usize = 64;
pub(crate) const BN_N_LIMBS: usize = 4;