referrerpolicy=no-referrer-when-downgrade

Module host_calls

Source
Expand description

Interfaces for working with Arkworks BW6-761 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§

bw6_761_final_exponentiation
Pairing final exponentiation for BW6-761.
bw6_761_msm_g1
Multi scalar multiplication on G1 for BW6-761.
bw6_761_msm_g2
Multi scalar multiplication on G2 for BW6-761.
bw6_761_mul_projective_g1
Projective multiplication on G1 for BW6-761.
bw6_761_mul_projective_g2
Projective multiplication on G2 for BW6-761.
bw6_761_multi_miller_loop
Pairing multi Miller loop for BW6-761.