Trait elliptic_curve::ops::LinearCombinationExt
source · pub trait LinearCombinationExt<PointsAndScalars>: Curve{
// Provided method
fn lincomb_ext(points_and_scalars: &PointsAndScalars) -> Self { ... }
}
Expand description
Linear combination (extended version).
This trait enables providing an optimized implementation of linear combinations (e.g. Shamir’s Trick).
Provided Methods§
sourcefn lincomb_ext(points_and_scalars: &PointsAndScalars) -> Self
fn lincomb_ext(points_and_scalars: &PointsAndScalars) -> Self
Calculates x1 * k1 + ... + xn * kn
.
Object Safety§
This trait is not object safe.