1 2 3 4 5 6 7 8 9 10 11 12
//! Traits for arithmetic operations on elliptic curve field elements use subtle::CtOption; /// Perform an inversion on a field element (i.e. base field element or scalar) pub trait Invert { /// Field element type type Output; /// Invert a field element. fn invert(&self) -> CtOption<Self::Output>; }