pub trait Invert {
type Output;
// Required method
fn invert(&self) -> Self::Output;
// Provided method
fn invert_vartime(&self) -> Self::Output { ... }
}Expand description
Constant-time inversion.
Required Associated Types§
Required Methods§
Provided Methods§
Sourcefn invert_vartime(&self) -> Self::Output
fn invert_vartime(&self) -> Self::Output
Computes the inverse in variable-time.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl Invert for BoxedMontyForm
Available on crate feature alloc only.
impl Invert for BoxedMontyForm
Available on crate feature
alloc only.