[−][src]Trait elliptic_curve::ops::Invert
Perform an inversion on a field element (i.e. base field element or scalar)
Associated Types
Loading content...Required methods
Loading content...Implementors
impl<C> Invert for NonZeroScalar<C> where
C: Curve + ProjectiveArithmetic,
FieldBytes<C>: From<Scalar<C>> + for<'r> From<&'r Scalar<C>>,
Scalar<C>: PrimeField<Repr = FieldBytes<C>> + Invert,
[src]
C: Curve + ProjectiveArithmetic,
FieldBytes<C>: From<Scalar<C>> + for<'r> From<&'r Scalar<C>>,
Scalar<C>: PrimeField<Repr = FieldBytes<C>> + Invert,
type Output = Scalar<C>
pub fn invert(&self) -> CtOption<Self::Output>
[src]
Perform a scalar inversion