Function av_des_crypt

Source
pub unsafe extern "C" fn av_des_crypt(
    d: *mut AVDES,
    dst: *mut u8,
    src: *const u8,
    count: c_int,
    iv: *mut u8,
    decrypt: c_int,
)
Expand description

@brief Encrypts / decrypts using the DES algorithm.

@param count number of 8 byte blocks @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 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