blob: f4d0f79d3ca687f64263884bae90618561b28908 (
plain)
1
2
3
4
5
6
7
8
9
|
use crate::Uint;
pub(crate) const fn add_montgomery_form<const LIMBS: usize>(
a: &Uint<LIMBS>,
b: &Uint<LIMBS>,
modulus: &Uint<LIMBS>,
) -> Uint<LIMBS> {
a.add_mod(b, modulus)
}
|