referrerpolicy=no-referrer-when-downgrade

Module host_calls

Source
Expand description

Interfaces for working with Arkworks Ed-on-BLS12-377 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§

ed_on_bls12_377_te_msm
Twisted Edwards multi scalar multiplication for Ed-on-BLS12-377.
ed_on_bls12_377_te_mul_projective
Twisted Edwards projective multiplication for Ed-on-BLS12-377.