Function av_des_crypt
pub unsafe extern "C" fn av_des_crypt(
d: *mut AVDES,
dst: *mut u8,
src: *const u8,
count: i32,
iv: *mut u8,
decrypt: i32,
)
Expand description
@brief Encrypts / decrypts using the DES algorithm.
@param d pointer to the AVDES structure @param dst destination array, can be equal to src, must be 8-byte aligned @param src source array, can be equal to dst, must be 8-byte aligned, may be NULL @param count number of 8 byte blocks @param iv initialization vector for CBC mode, if NULL then ECB will be used, must be 8-byte aligned @param decrypt 0 for encryption, 1 for decryption