Function av_cast5_init
pub unsafe extern "C" fn av_cast5_init(
ctx: *mut AVCAST5,
key: *const u8,
key_bits: i32,
) -> i32
Expand description
Initialize an AVCAST5 context.
@param ctx an AVCAST5 context @param key a key of 5,6,…16 bytes used for encryption/decryption @param key_bits number of keybits: possible are 40,48,…,128 @return 0 on success, less than 0 on failure