#[repr(C)]pub struct symmetric_LRW {
pub cipher: c_int,
pub IV: [c_uchar; 16],
pub tweak: [c_uchar; 16],
pub pad: [c_uchar; 16],
pub key: symmetric_key,
pub PC: [[[c_uchar; 16]; 256]; 16],
}Expand description
A LRW structure
Fields§
§cipher: c_intThe index of the cipher chosen (must be a 128-bit block cipher)
IV: [c_uchar; 16]The current IV
tweak: [c_uchar; 16]the tweak key
pad: [c_uchar; 16]The current pad, it’s the product of the first 15 bytes against the tweak key
key: symmetric_keyThe scheduled symmetric key
PC: [[[c_uchar; 16]; 256]; 16]The pre-computed multiplication table
Trait Implementations§
Source§impl Clone for symmetric_LRW
impl Clone for symmetric_LRW
impl Copy for symmetric_LRW
Auto Trait Implementations§
impl Freeze for symmetric_LRW
impl RefUnwindSafe for symmetric_LRW
impl !Send for symmetric_LRW
impl !Sync for symmetric_LRW
impl Unpin for symmetric_LRW
impl UnwindSafe for symmetric_LRW
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