Function xkcp_sys::SHAKE128

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

Implementation of the SHAKE128 extendable output function (XOF) [FIPS 202]. @param output Pointer to the output buffer. @param outputByteLen The desired number of output bytes. @param input Pointer to the input message. @param inputByteLen The length of the input message in bytes. @return 0 if successful, 1 otherwise.