crypto_bigint/uint/modular/
sub.rs

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