Function bearssl::br_chacha20_ct_run
[−]
[src]
pub unsafe extern "C" fn br_chacha20_ct_run(
key: *const c_void,
iv: *const c_void,
cc: u32,
data: *mut c_void,
len: usize
) -> u32
\brief ChaCha20 implementation (straightforward C code, constant-time).
\see br_chacha20_run
\param key secret key (32 bytes). \param iv IV (12 bytes). \param cc initial counter value. \param data data to encrypt or decrypt. \param len data length (in bytes).