Function xkcp_sys::TupleHash128_Initialize
source · pub unsafe extern "C" fn TupleHash128_Initialize(
TupleHashInstance: *mut TupleHash_Instance,
outputBitLen: BitLength,
customization: *const BitSequence,
customBitLen: BitLength
) -> c_int
Expand description
Function to initialize the Tuple hash function TupleHash128 instance used in sequential hashing mode. @param TupleHashInstance Pointer to the hash instance to be initialized. @param outputBitLen The desired number of output bits (L). or 0 for an arbitrarily-long output (XOF). @param customization Pointer to the customization string (S). @param customBitLen The length of the customization string in bits. @return 0 if successful, 1 otherwise.