bn254

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func X_g1Add

func X_g1Add(input []byte) []byte

X_g1Add mirrors EIP-196's ECADD precompile. Per EIP-196, short inputs are right-padded with zeros to 128 bytes; excess bytes are ignored.

func X_g1Mul

func X_g1Mul(input []byte) []byte

X_g1Mul mirrors EIP-196's ECMUL precompile.

func X_pairingCheck

func X_pairingCheck(input []byte) []byte

X_pairingCheck mirrors EIP-197's ECPAIRING precompile. An empty input reports "1" (product of zero pairings), matching the spec.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL