Function xkcp_sys::KMAC256_Update

source ·
pub unsafe extern "C" fn KMAC256_Update(
    kmkInstance: *mut KMAC_Instance,
    input: *const BitSequence,
    inputBitLen: BitLength
) -> c_int
Expand description

Function to give input data to be MACed. @param kmInstance Pointer to the instance initialized by KMAC256_Initialize(). @param input Pointer to the input data. @param inputBitLen The number of input bits provided in the input data. Only full bytes are supported, length must be a multiple of 8. @return 0 if successful, 1 otherwise.