Function av_rc4_init
pub unsafe extern "C" fn av_rc4_init(
d: *mut AVRC4,
key: *const u8,
key_bits: i32,
decrypt: i32,
) -> i32
Expand description
@brief Initializes an AVRC4 context.
@param d pointer to the AVRC4 context @param key buffer containig the key @param key_bits must be a multiple of 8 @param decrypt 0 for encryption, 1 for decryption, currently has no effect @return zero on success, negative value otherwise