Trait elliptic_curve::ops::ReduceNonZero[][src]

pub trait ReduceNonZero<UInt: Integer + ArrayEncoding>: Sized {
    fn from_uint_reduced_nonzero(n: UInt) -> Self;
}
Expand description

Modular reduction to a non-zero output.

This trait is primarily intended for use by curve implementations.

End users can use the Reduce impl on NonZeroScalar instead.

Required methods

Perform a modular reduction, returning a field element.

Implementors