Function av_aes_init

pub unsafe extern "C" fn av_aes_init(
    a: *mut AVAES,
    key: *const u8,
    key_bits: i32,
    decrypt: i32,
) -> i32
Expand description

Initialize an AVAES context.

@param a The AVAES context @param key Pointer to the key @param key_bits 128, 192 or 256 @param decrypt 0 for encryption, 1 for decryption