pub trait LaneSize: Copy + Clone + Debug + Default + PartialEq + BitAndAssign + BitAnd<Output = Self> + BitXorAssign + BitXor<Output = Self> + Not<Output = Self> {
const KECCAK_F_ROUND_COUNT: usize;
// Required methods
fn truncate_rc(rc: u64) -> Self;
fn rotate_left(self, n: u32) -> Self;
}
Expand description
Keccak is a permutation over an array of lanes which comprise the sponge construction.
Required Associated Constants§
sourceconst KECCAK_F_ROUND_COUNT: usize
const KECCAK_F_ROUND_COUNT: usize
Number of rounds of the Keccak-f permutation.
Required Methods§
sourcefn truncate_rc(rc: u64) -> Self
fn truncate_rc(rc: u64) -> Self
Truncate function.
sourcefn rotate_left(self, n: u32) -> Self
fn rotate_left(self, n: u32) -> Self
Rotate left function.
Object Safety§
This trait is not object safe.