Function av_des_init
pub unsafe extern "C" fn av_des_init(
d: *mut AVDES,
key: *const u8,
key_bits: i32,
decrypt: i32,
) -> i32
Expand description
@brief Initializes an AVDES context.
@param d pointer to a AVDES structure to initialize @param key pointer to the key to use @param key_bits must be 64 or 192 @param decrypt 0 for encryption/CBC-MAC, 1 for decryption @return zero on success, negative value otherwise