Skip to main content
This is unreleased documentation for the main (development) branch of crypto-glue.

DivVartime

Trait DivVartime 

Source
pub trait DivVartime: Sized {
    // Required method
    fn div_vartime(&self, rhs: &NonZero<Self>) -> Self;
}
Expand description

Division in variable time.

Required Methods§

Source

fn div_vartime(&self, rhs: &NonZero<Self>) -> Self

Computes self / rhs in variable time.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl DivVartime for BoxedUint

Source§

impl<const LIMBS: usize> DivVartime for Int<LIMBS>

Source§

impl<const LIMBS: usize> DivVartime for Uint<LIMBS>