Enum atsamd_hal::pukcc::ExpModMode
source · [−]pub enum ExpModMode {
Regular,
Fast,
}
Expand description
An enum describing available modes of operation of
Pukcc::modular_exponentiation
algoritm
Variants
Regular
Fast
Implementations
sourceimpl ExpModMode
impl ExpModMode
sourcepub fn get_mode_mask(&self) -> u2
pub fn get_mode_mask(&self) -> u2
Function mapping the enum variant with a low level mask value needed in
c_abi::PukclHeader::u2Option
for c_abi::ExpMod
service
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExpModMode
impl Send for ExpModMode
impl Sync for ExpModMode
impl Unpin for ExpModMode
impl UnwindSafe for ExpModMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more