Function xkcp_sys::SHAKE256

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

Implementation of the SHAKE256 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.