pub struct AesKey {
pub round_keys: Vec<u32>,
pub rounds: usize,
}Expand description
AES key with precomputed round keys.
Fields§
§round_keys: Vec<u32>Expanded round keys as u32 words.
rounds: usizeNumber of rounds (10 for AES-128, 14 for AES-256).
Implementations§
Auto Trait Implementations§
impl Freeze for AesKey
impl RefUnwindSafe for AesKey
impl Send for AesKey
impl Sync for AesKey
impl Unpin for AesKey
impl UnsafeUnpin for AesKey
impl UnwindSafe for AesKey
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