pub struct Schedule { /* private fields */ }Expand description
An expanded AES key schedule.
This is the only key expansion in the library. The accelerated backends consume its output rather than reimplementing it: expansion happens once per key and is not on the hot path, so there is nothing to gain from a second implementation and a subtle divergence to lose.
Dropping the schedule zeroizes it, so round keys never outlive the value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnsafeUnpin for Schedule
impl UnwindSafe for Schedule
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