Trait crypto_bigint::MulMod [−][src]
pub trait MulMod<Rhs = Self> {
type Output;
fn mul_mod(&self, rhs: &Rhs, p: &Self, p_inv: Limb) -> Self::Output;
}
Expand description
Compute self * rhs mod p
.
Requires p_inv = -(p^{-1} mod 2^{BITS}) mod 2^{BITS}
to be provided for efficiency.