pub unsafe extern "C" fn KMAC256(
key: *const BitSequence,
keyBitLen: BitLength,
input: *const BitSequence,
inputBitLen: BitLength,
output: *mut BitSequence,
outputBitLen: BitLength,
customization: *const BitSequence,
customBitLen: BitLength
) -> c_int
Expand description
KMAC256 function, as defined in NIST’s Special Publication 800-185, published December 2016. @param key Pointer to the key (K). @param keyBitLen The length of the key in bits. @param input Pointer to the input message (X). @param inputBitLen The length of the input message in bits. Only full bytes are supported, length must be a multiple of 8. @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.