pub enum ExpModMode {
Regular,
Fast,
}
Expand description
An enum describing available modes of operation of
Pukcc::modular_exponentiation
algoritm
Variants§
Implementations§
Source§impl 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 Freeze for ExpModMode
impl RefUnwindSafe for ExpModMode
impl Send for ExpModMode
impl Sync for ExpModMode
impl Unpin for ExpModMode
impl UnwindSafe for ExpModMode
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