go-ethereum: github.com/axiomzen/go-ethereum/crypto/bn256 Index | Files | Directories

package bn256

import "github.com/axiomzen/go-ethereum/crypto/bn256"

Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.

Index

Package Files

bn256_fast.go

func PairingCheck Uses

func PairingCheck(a []*G1, b []*G2) bool

PairingCheck calculates the Optimal Ate pairing for a set of points.

type G1 Uses

type G1 = bn256.G1

G1 is an abstract cyclic group. The zero value is suitable for use as the output of an operation, but cannot be used as an input.

type G2 Uses

type G2 = bn256.G2

G2 is an abstract cyclic group. The zero value is suitable for use as the output of an operation, but cannot be used as an input.

Directories

PathSynopsis
googlePackage bn256 implements a particular bilinear group.

Package bn256 imports 1 packages (graph). Updated 2019-07-06. Refresh now. Tools for package owners.