Module sp_crypto_ec_utils::bls12_377::host_calls
source · Expand description
Interfaces for working with Arkworks 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§
- Provides implementations for the extern host functions.
Functions§
- Pairing final exponentiation for BLS12-377.
- Multi scalar multiplication on G1 for BLS12-377.
- Multi scalar multiplication on G2 for BLS12-377.
- Projective multiplication on G1 for BLS12-377.
- Projective multiplication on G2 for BLS12-377.
- Pairing multi Miller loop for BLS12-377.