Function mupdf_sys::fz_aes_crypt_cbc
source · pub unsafe extern "C" fn fz_aes_crypt_cbc(
ctx: *mut fz_aes,
mode: c_int,
length: usize,
iv: *mut c_uchar,
input: *const c_uchar,
output: *mut c_uchar
)
Expand description
AES block processing. Encrypts or Decrypts (according to mode, which must match what was initially set up) length bytes (which must be a multiple of 16), using (and modifying) the insertion vector iv, reading from input, and writing to output.
Never throws an exception.