Function sp_crypto_ec_utils::bls12_381::host_calls::bls12_381_msm_g1
source · pub fn bls12_381_msm_g1(bases: Vec<u8>, scalars: Vec<u8>) -> Result<Vec<u8>, ()>
Expand description
Multi scalar multiplication on G1 for BLS12-381
- Receives encoded:
bases
:ArkScale<Vec<G1Affine>>
.scalars
:ArkScale<Vec<G1Config::ScalarField>>
.
- Returns encoded:
ArkScaleProjective<ark_bls12_381::G1Projective>
.