Function riot_sys::Keccak_init

source ·
pub unsafe extern "C" fn Keccak_init(
    ctx: *mut keccak_state_t,
    rate: c_uint,
    capacity: c_uint,
    delimitedSuffix: c_uchar
)
Expand description

@brief Initialise a sponge based on a keccak-1600 permutation

@param[out] ctx context handle to initialise @param[in] rate the desired rate of the sponge @param[in] capacity the desired capacity of the sponge @param[in] delimitedSuffix suffix to be appended to the message after the absorbation phase