halo2curves::msm

Function msm_serial

Source
pub fn msm_serial<C: CurveAffine>(
    coeffs: &[C::Scalar],
    bases: &[C],
    acc: &mut C::Curve,
)
Expand description

Performs a multi-scalar multiplication operation.

This function will panic if coeffs and bases have a different length.