Function xkcp_sys::KangarooTwelve

source ·
pub unsafe extern "C" fn KangarooTwelve(
    input: *const c_uchar,
    inputByteLen: usize,
    output: *mut c_uchar,
    outputByteLen: usize,
    customization: *const c_uchar,
    customByteLen: usize
) -> c_int
Expand description

Extendable ouput function KangarooTwelve. @param input Pointer to the input message (M). @param inputByteLen The length of the input message in bytes. @param output Pointer to the output buffer. @param outputByteLen The desired number of output bytes. @param customization Pointer to the customization string (C). @param customByteLen The length of the customization string in bytes. @return 0 if successful, 1 otherwise.