Function xkcp_sys::KangarooTwelve_Squeeze
source · pub unsafe extern "C" fn KangarooTwelve_Squeeze(
ktInstance: *mut KangarooTwelve_Instance,
output: *mut c_uchar,
outputByteLen: usize
) -> c_int
Expand description
Function to squeeze output data. @param ktInstance Pointer to the hash instance initialized by KangarooTwelve_Initialize(). @param data Pointer to the buffer where to store the output data. @param outputByteLen The number of output bytes desired. @pre KangarooTwelve_Final() must have been already called. @return 0 if successful, 1 otherwise.