Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion crypto-primitives/src/sponge/absorb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pub use ark_crypto_primitives_macros::*;
use ark_ec::{
short_weierstrass::{Affine as SWAffine, SWCurveConfig as SWModelParameters},
twisted_edwards::{Affine as TEAffine, TECurveConfig as TEModelParameters},
AffineRepr,
};
use ark_ff::{
models::{Fp, FpConfig},
Expand Down Expand Up @@ -273,7 +274,7 @@ where
.for_each(|elem| {
dest.append(&mut elem.into_bigint().to_bytes_le());
});
dest.push(self.infinity.into());
dest.push(self.is_zero().into());
}

fn to_sponge_field_elements<F: PrimeField>(&self, dest: &mut Vec<F>) {
Expand Down
Loading