Function mupdf_sys::fz_aes_setkey_enc
source · pub unsafe extern "C" fn fz_aes_setkey_enc(
ctx: *mut fz_aes,
key: *const c_uchar,
keysize: c_int
) -> c_int
Expand description
AES encryption intialisation. Fills in the supplied context and prepares for encryption using the given key.
Returns non-zero for error (key size other than 128/192/256).
Never throws an exception.