openvm_ecc_guest

Function msm

Source
pub fn msm<EcPoint: Group, Scalar: IntMod>(
    coeffs: &[Scalar],
    bases: &[EcPoint],
) -> EcPoint
where for<'a> &'a EcPoint: Add<&'a EcPoint, Output = EcPoint>,
Expand description

Multi-scalar multiplication via Pippenger’s algorithm