#[repr(C)]pub struct Params {
pub key: *const u8,
pub iv: *const u8,
pub len: usize,
pub cipher: *const u8,
pub clear: *mut u8,
}Expand description
Parameters of decrypt
Fields§
§key: *const u8The 16 bytes key to decrypt with.
iv: *const u8The 8 bytes IV to decrypt with.
len: usizeLength in bytes of the clear text.
This must be at most 251 bytes. The cipher length must be 4 bytes longer than
this value.
cipher: *const u8The cipher text to decrypt from.
Its length must be len + 4 bytes.
clear: *mut u8The clear text to decrypt to.
Its length must be provided in the len field.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl !Send for Params
impl !Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more