wc_Chacha_SetIV

Function wc_Chacha_SetIV 

Source
pub unsafe extern "C" fn wc_Chacha_SetIV(
    ctx: *mut ChaCha,
    inIv: *const byte,
    counter: word32,
) -> c_int
Expand description

IV(nonce) changes with each record counter is for what value the block counter should start … usually 0