Type Alias OuterCompress

Source
pub type OuterCompress = TruncatedPermutation<OuterPerm, 2, 1, WIDTH>;

Aliased Type§

struct OuterCompress { /* private fields */ }

Implementations

Source§

impl<InnerP, const N: usize, const CHUNK: usize, const WIDTH: usize> TruncatedPermutation<InnerP, N, CHUNK, WIDTH>

Source

pub const fn new( inner_permutation: InnerP, ) -> TruncatedPermutation<InnerP, N, CHUNK, WIDTH>

Trait Implementations

Source§

impl<InnerP, const N: usize, const CHUNK: usize, const WIDTH: usize> Clone for TruncatedPermutation<InnerP, N, CHUNK, WIDTH>
where InnerP: Clone,

Source§

fn clone(&self) -> TruncatedPermutation<InnerP, N, CHUNK, WIDTH>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<InnerP, const N: usize, const CHUNK: usize, const WIDTH: usize> Debug for TruncatedPermutation<InnerP, N, CHUNK, WIDTH>
where InnerP: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<T, InnerP, const N: usize, const CHUNK: usize, const WIDTH: usize> PseudoCompressionFunction<[T; CHUNK], N> for TruncatedPermutation<InnerP, N, CHUNK, WIDTH>

Source§

fn compress(&self, input: [[T; CHUNK]; N]) -> [T; CHUNK]