halo2curves_axiom::msm

Function small_multiexp

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

Performs a small multi-exponentiation operation. Uses the double-and-add algorithm with doublings shared across points.