Skip to main content

absorb_rate_block

Function absorb_rate_block 

Source
pub fn absorb_rate_block(state: KeccakState, block: RateBlock) -> KeccakState
Expand description

XOR one complete rate block into a state and permute it.

A downstream scheduler can feed the result into the next block absorption. The capacity lanes (17 through 24) are preserved before the permutation.