Type Alias boojum::algebraic_props::sponge::SimpleAlgebraicSponge

source ·
pub type SimpleAlgebraicSponge<F, const AW: usize, const SW: usize, const CW: usize, R, M> = GenericAlgebraicSponge<F, F, AW, SW, CW, R, M>;

Aliased Type§

struct SimpleAlgebraicSponge<F, const AW: usize, const SW: usize, const CW: usize, R, M> { /* private fields */ }

Trait Implementations§

source§

impl<F: SmallField, R: AlgebraicRoundFunction<F, AW, SW, CW>, M: AbsorptionModeTrait<F>, const AW: usize, const SW: usize, const CW: usize> TreeHasher<F> for SimpleAlgebraicSponge<F, AW, SW, CW, R, M>

source§

type Output = [F; CW]

source§

fn placeholder_output() -> Self::Output

source§

fn new() -> Self

source§

fn accumulate_into_leaf(&mut self, value: &F)

source§

fn finalize_into_leaf_hash_and_reset(&mut self) -> Self::Output

source§

fn hash_into_leaf<'a, S: IntoIterator<Item = &'a F>>(source: S) -> Self::Output
where F: 'a,

source§

fn hash_into_leaf_owned<S: IntoIterator<Item = F>>(source: S) -> Self::Output

source§

fn hash_into_node( left: &Self::Output, right: &Self::Output, _depth: usize, ) -> Self::Output

source§

fn normalize_output(dst: &mut Self::Output)

source§

fn batch_normalize_outputs(dst: &mut [Self::Output])