Trait crypto_bigint::MulMod

source ·
pub trait MulMod<Rhs = Self> {
    type Output;

    // Required method
    fn mul_mod(&self, rhs: &Rhs, p: &Self) -> Self::Output;
}
Expand description

Compute self * rhs mod p.

Required Associated Types§

source

type Output

Output type.

Required Methods§

source

fn mul_mod(&self, rhs: &Rhs, p: &Self) -> Self::Output

Compute self * rhs mod p.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl MulMod for BoxedUint

Available on crate feature alloc only.
source§

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

§

type Output = Uint<LIMBS>