Skip to main content

scalar_add

Function scalar_add 

Source
pub fn scalar_add<const LIMBS: usize>(
    a: &FieldElement<LIMBS>,
    b: &FieldElement<LIMBS>,
    n: &[u64; LIMBS],
) -> FieldElement<LIMBS>
Expand description

Add two scalars mod n.