Module bls12_381

Module bls12_381 

Source
Expand description

Common utilities for gear protocol BLS12-381 built-in.

Re-exports§

pub use gbuiltin_bls381::ark_bls12_381;
pub use gbuiltin_bls381::ark_ec;
pub use gbuiltin_bls381::ark_ff;
pub use gbuiltin_bls381::ark_scale;
pub use gbuiltin_bls381::ark_serialize;

Structs§

Bls12_381OpsLowLevel
Implementation of the bls12-381 operations, intended to be used directly.

Enums§

Request
Type that should be used to create a message to the bls12_381 builtin actor. Use the following crates to construct a request:
Response
The enumeration contains result to a request.

Traits§

Bls12_381Ops
Bls12-381 operations trait.
BlsOpsGasCost
BLS12-381 operations gas cost trait.

Functions§

aggregate_g1
High-level BLS12-381 G1 aggregation op hiding under Bls12_381Ops trait parameter actual implementation details. For more info about the abstraction requirement see the Bls12_381Ops trait documentation.
execute_bls12_381_builtins
Executes BLS12-381 built-in functions.
final_exponentiation
High-level BLS12-381 Final exponentiation op hiding under Bls12_381Ops trait parameter actual implementation details. For more info about the abstraction requirement see the Bls12_381Ops trait documentation.
map_to_g2affine
High-level BLS12-381 Map to G2Affine op hiding under Bls12_381Ops trait parameter actual implementation details. For more info about the abstraction requirement see the Bls12_381Ops trait documentation.
msm
High-level BLS12-381 Multi-scalar multiplication ops hiding under Bls12_381Ops trait parameter actual implementation details. For more info about the abstraction requirement see the Bls12_381Ops trait documentation.
multi_miller_loop
High-level BLS12-381 Multi-miller loop op hiding under Bls12_381Ops trait parameter actual implementation details. For more info about the abstraction requirement see the Bls12_381Ops trait documentation.
projective_multiplication
High-level BLS12-381 Projective multiplication ops hiding under Bls12_381Ops trait parameter actual implementation details. For more info about the abstraction requirement see the Bls12_381Ops trait documentation.