Function xkcp_sys::TupleHash256
source · pub unsafe extern "C" fn TupleHash256(
tuple: *const TupleElement,
numberOfElements: usize,
output: *mut BitSequence,
outputBitLen: BitLength,
customization: *const BitSequence,
customBitLen: BitLength
) -> c_int
Expand description
Tuple hash function TupleHash256, as defined in NIST’s Special Publication 800-185, published December 2016. @param tuple Pointer to an array of tuple elements (X). @param numberOfElements The number of tuple elements provided in the input data. @param output Pointer to the output buffer. @param outputBitLen The desired number of output bits (L). @param customization Pointer to the customization string (S). @param customBitLen The length of the customization string in bits. @return 0 if successful, 1 otherwise.