pub enum HardwareOperation {
MontgomeryMul,
ModularExp,
BatchInverse,
MultiExp,
SquareRoot,
}Expand description
Hardware operations that may be accelerated.
Variants§
MontgomeryMul
Montgomery multiplication
ModularExp
Modular exponentiation
BatchInverse
Batch inversion
MultiExp
Multi-exponentiation
SquareRoot
Square root computation
Trait Implementations§
Source§impl Clone for HardwareOperation
impl Clone for HardwareOperation
Source§fn clone(&self) -> HardwareOperation
fn clone(&self) -> HardwareOperation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HardwareOperation
impl Debug for HardwareOperation
Source§impl PartialEq for HardwareOperation
impl PartialEq for HardwareOperation
impl Copy for HardwareOperation
impl Eq for HardwareOperation
impl StructuralPartialEq for HardwareOperation
Auto Trait Implementations§
impl Freeze for HardwareOperation
impl RefUnwindSafe for HardwareOperation
impl Send for HardwareOperation
impl Sync for HardwareOperation
impl Unpin for HardwareOperation
impl UnwindSafe for HardwareOperation
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