Function xkcp_sys::cSHAKE128_Final

source ·
pub unsafe extern "C" fn cSHAKE128_Final(
    cskInstance: *mut cSHAKE_Instance,
    output: *mut BitSequence
) -> c_int
Expand description

Function to call after all input blocks have been input and to get output bits if the length was specified when calling cSHAKE128_Initialize(). @param cskInstance Pointer to the hash instance initialized by cSHAKE128_Initialize(). If @a outputBitLen was not 0 in the call to cSHAKE128_Initialize(), the number of output bits is equal to @a outputBitLen. If @a outputBitLen was 0 in the call to cSHAKE128_Initialize(), the output bits must be extracted using the cSHAKE128_Squeeze() function. @param output Pointer to the buffer where to store the output data. @return 0 if successful, 1 otherwise.