#[repr(C)]pub struct symmetric_CBC {
pub cipher: c_int,
pub blocklen: c_int,
pub IV: [c_uchar; 128],
pub key: symmetric_key,
}Expand description
A block cipher CBC structure
Fields§
§cipher: c_intThe index of the cipher chosen
blocklen: c_intThe block size of the given cipher
IV: [c_uchar; 128]The current IV
key: symmetric_keyThe scheduled key
Trait Implementations§
Source§impl Clone for symmetric_CBC
impl Clone for symmetric_CBC
impl Copy for symmetric_CBC
Auto Trait Implementations§
impl Freeze for symmetric_CBC
impl RefUnwindSafe for symmetric_CBC
impl !Send for symmetric_CBC
impl !Sync for symmetric_CBC
impl Unpin for symmetric_CBC
impl UnwindSafe for symmetric_CBC
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