Function xkcp_sys::TupleHash256_Squeeze
source · pub unsafe extern "C" fn TupleHash256_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 TupleHash256_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 TupleHash256_Final() must have been already called. @return 0 if successful, 1 otherwise.