Function xkcp_sys::ParallelHash128

source ·
pub unsafe extern "C" fn ParallelHash128(
    input: *const BitSequence,
    inputBitLen: BitLength,
    blockByteLen: usize,
    output: *mut BitSequence,
    outputBitLen: BitLength,
    customization: *const BitSequence,
    customBitLen: BitLength
) -> c_int
Expand description

Parallel hash function ParallelHash128, as defined in NIST’s Special Publication 800-185, published December 2016. @param input Pointer to the input message (X). @param inputBitLen The number of input bits provided in the input data. Only full bytes are supported, length must be a multiple of 8. @param blockByteLen Block size (B) in bytes, must be a power of 2. The minimum value is 8 in this implementation. @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.