Function wolf_crypto_sys::wc_Chacha_SetIV
source · pub unsafe extern "C" fn wc_Chacha_SetIV(
ctx: *mut ChaCha,
inIv: *const byte,
counter: word32,
) -> c_intExpand description
IV(nonce) changes with each record counter is for what value the block counter should start … usually 0