Function av_twofish_init
pub unsafe extern "C" fn av_twofish_init(
ctx: *mut AVTWOFISH,
key: *const u8,
key_bits: i32,
) -> i32
Expand description
Initialize an AVTWOFISH context.
@param ctx an AVTWOFISH context @param key a key of size ranging from 1 to 32 bytes used for encryption/decryption @param key_bits number of keybits: 128, 192, 256 If less than the required, padded with zeroes to nearest valid value; return value is 0 if key_bits is 128/192/256, -1 if less than 0, 1 otherwise