Expand description
Interfaces for working with Arkworks Ed-on-BLS12-381-Bandersnatch elliptic curve related types from within the runtime.
All types are (de-)serialized through the wrapper types from ark-scale.
ArkScale’s Usage generic parameter is expected to be set to “not-validated”
and “not-compressed”.
When the projective result of a host call lands at z = 0 (only reachable
via non-subgroup inputs), the host returns utils::Error::DegeneratePoint
instead of panicking, and the runtime-side HostHooks impl substitutes the
all-zero projective point (0, 0, 0, 0). See the module-level doc for the
full contract.
Structs§
- Host
Functions - Provides implementations for the extern host functions.
Functions§
- ed_
on_ bls12_ 381_ bandersnatch_ msm - Twisted Edwards multi scalar multiplication for Ed-on-BLS12-381-Bandersnatch.
- ed_
on_ bls12_ 381_ bandersnatch_ mul - Twisted Edwards affine multiplication for Ed-on-BLS12-381-Bandersnatch.