pub type LiteDecryptionFunc = Option<unsafe extern "C" fn(input_data: *const c_void, input_size: usize, key_data: *const u8, key_size: usize, output_data: *const c_void) -> usize>;Expand description
\brief Model decryption function
\param[in] input_data is the decrypted model memory pointer \param[in] input_size the size the decrypted model memory in byte \param[in] key_data decryption key data \param[in] key_size the size of decryption key data \param[out] output_data the data of decrypted data, if output_data is nullptr, just query the output memory length, else write the decryted data to the output_data \return size of decrypted data
Aliased Type§
pub enum LiteDecryptionFunc {
None,
Some(unsafe extern "C" fn(*const c_void, usize, *const u8, usize, *const c_void) -> usize),
}