Struct tomcrypt_sys::symmetric_LRW
[−]
[src]
#[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], }
A LRW structure
Fields
cipher: c_int
The 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_key
The scheduled symmetric key
PC: [[[c_uchar; 16]; 256]; 16]
The pre-computed multiplication table