Function xkcp_sys::cSHAKE128_Update

source ·
pub unsafe extern "C" fn cSHAKE128_Update(
    cskInstance: *mut cSHAKE_Instance,
    input: *const BitSequence,
    inputBitLen: BitLength
) -> c_int
Expand description

Function to give input data to be absorbed. @param cskInstance Pointer to the hash instance initialized by cSHAKE128_Initialize(). @param input Pointer to the input data. @param inputBitLen The number of input bits provided in the input data. Only the last update call can input a partial byte, other calls must have a length multiple of 8. @return 0 if successful, 1 otherwise.