Function ec_gpu_gen::multiexp_cpu::multiexp_cpu
source ยท pub fn multiexp_cpu<'b, Q, D, G, S>(
pool: &Worker,
bases: S,
density_map: D,
exponents: Arc<Vec<<G::Scalar as PrimeField>::Repr>>,
) -> Waiter<Result<<G as PrimeCurveAffine>::Curve, EcError>>where
for<'a> &'a Q: QueryDensity,
D: Send + Sync + 'static + Clone + AsRef<Q>,
G: PrimeCurveAffine,
S: SourceBuilder<G>,
Expand description
Perform multi-exponentiation. The caller is responsible for ensuring the query size is the same as the number of exponents.