Function av_rc4_crypt

pub unsafe extern "C" fn av_rc4_crypt(
    d: *mut AVRC4,
    dst: *mut u8,
    src: *const u8,
    count: i32,
    iv: *mut u8,
    decrypt: i32,
)
Expand description

@brief Encrypts / decrypts using the RC4 algorithm.

@param d pointer to the AVRC4 context @param count number of bytes @param dst destination array, can be equal to src @param src source array, can be equal to dst, may be NULL @param iv not (yet) used for RC4, should be NULL @param decrypt 0 for encryption, 1 for decryption, not (yet) used