Skip to main content

crypto_xof_turboshake256_update

Function crypto_xof_turboshake256_update 

Source
pub fn crypto_xof_turboshake256_update(
    state: &mut TurboShake256State,
    input: &[u8],
) -> Result<(), Error>
Expand description

Absorbs input into the TurboSHAKE256 state.

ยงErrors

Returns Error::InvalidState if squeezing has started; the state is left unchanged.