mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-09 09:13:09 +00:00
Fix comparison
This commit is contained in:
parent
0e5dd59d35
commit
cddc749a7e
@ -130,7 +130,7 @@ impl<F: RichField, H: Hasher<F>> Challenger<F, H> {
|
||||
/// Absorb any buffered inputs. After calling this, the input buffer will be empty, and the
|
||||
/// output buffer will be full.
|
||||
fn duplexing(&mut self) {
|
||||
assert!(self.input_buffer.len() < SPONGE_RATE);
|
||||
assert!(self.input_buffer.len() <= SPONGE_RATE);
|
||||
|
||||
// Overwrite the first r elements with the inputs. This differs from a standard sponge,
|
||||
// where we would xor or add in the inputs. This is a well-known variant, though,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user