Function xkcp_sys::TupleHash128_Squeeze
source · pub unsafe extern "C" fn TupleHash128_Squeeze(
TupleHashInstance: *mut TupleHash_Instance,
output: *mut BitSequence,
outputBitLen: BitLength
) -> c_int
Expand description
Function to squeeze output data. @param TupleHashInstance Pointer to the hash instance initialized by TupleHash128_Initialize(). @param output Pointer to the buffer where to store the output data. @param outputBitLen The number of output bits desired. Only the last squeeze call can output a partial byte, other calls must have a length multiple of 8. @pre TupleHash128_Final() must have been already called. @return 0 if successful, 1 otherwise.