Trait crypto_bigint::SubMod[][src]

pub trait SubMod<Rhs = Self> {
    type Output;
    fn sub_mod(&self, rhs: &Rhs, p: &Self) -> Self::Output;
}
Expand description

Compute self - rhs mod p.

Associated Types

Output type.

Required methods

Compute self - rhs mod p.

Assumes self and rhs are < p.

Implementors