Trait crypto_bigint::prelude::AddMod[][src]

pub trait AddMod<Rhs = Self> {
    type Output;
    fn add_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