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_
381Ops LowLevel - 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.
- BlsOps
GasCost - BLS12-381 operations gas cost trait.
Functions§
- aggregate_
g1 - High-level BLS12-381 G1 aggregation op hiding under
Bls12_381Opstrait parameter actual implementation details. For more info about the abstraction requirement see theBls12_381Opstrait documentation. - execute_
bls12_ 381_ builtins - Executes BLS12-381 built-in functions.
- final_
exponentiation - High-level BLS12-381 Final exponentiation op hiding under
Bls12_381Opstrait parameter actual implementation details. For more info about the abstraction requirement see theBls12_381Opstrait documentation. - map_
to_ g2affine - High-level BLS12-381 Map to G2Affine op hiding under
Bls12_381Opstrait parameter actual implementation details. For more info about the abstraction requirement see theBls12_381Opstrait documentation. - msm
- High-level BLS12-381 Multi-scalar multiplication ops hiding under
Bls12_381Opstrait parameter actual implementation details. For more info about the abstraction requirement see theBls12_381Opstrait documentation. - multi_
miller_ loop - High-level BLS12-381 Multi-miller loop op hiding under
Bls12_381Opstrait parameter actual implementation details. For more info about the abstraction requirement see theBls12_381Opstrait documentation. - projective_
multiplication - High-level BLS12-381 Projective multiplication ops hiding under
Bls12_381Opstrait parameter actual implementation details. For more info about the abstraction requirement see theBls12_381Opstrait documentation.