Function xkcp_sys::cSHAKE256_Squeeze
source · pub unsafe extern "C" fn cSHAKE256_Squeeze(
cskInstance: *mut cSHAKE_Instance,
output: *mut BitSequence,
outputBitLen: BitLength
) -> c_int
Expand description
Function to squeeze output data. @param cskInstance Pointer to the hash instance initialized by cSHAKE256_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 cSHAKE256_Final() must have been already called. @return 0 if successful, 1 otherwise.