referrerpolicy=no-referrer-when-downgrade

Module host_calls

Source
Expand description

Interfaces for working with Arkworks BLS12-381 elliptic curve related types from within the runtime.

All types are (de-)serialized through the wrapper types from the ark-scale trait, with ark_scale::{ArkScale, ArkScaleProjective}.

ArkScale’s Usage generic parameter is expected to be set to “not-validated” and “not-compressed”.

Structs§

HostFunctions
Provides implementations for the extern host functions.

Functions§

bls12_381_final_exponentiation
Pairing final exponentiation for BLS12-381.
bls12_381_msm_g1
Multi scalar multiplication on G1 for BLS12-381
bls12_381_msm_g2
Multi scalar multiplication on G2 for BLS12-381
bls12_381_mul_projective_g1
Projective multiplication on G1 for BLS12-381.
bls12_381_mul_projective_g2
Projective multiplication on G2 for BLS12-381
bls12_381_multi_miller_loop
Pairing multi Miller loop for BLS12-381.