bn256

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeFlagsInProofToGnarkType added in v0.10.5

func ChangeFlagsInProofToGnarkType(buf []byte) ([]byte, error)

func FromBytesToVerifyingKey added in v0.10.5

func FromBytesToVerifyingKey(vkBytes []byte) (gnark.VerifyingKey, error)

Types

type BellmanVerifyingKeyBn256 added in v0.10.5

type BellmanVerifyingKeyBn256 struct {
	G1 struct {
		Alpha curveBn254.G1Affine
		Ic    []curveBn254.G1Affine
	}
	G2 struct {
		Beta, Gamma, Delta curveBn254.G2Affine
	}
}

func (*BellmanVerifyingKeyBn256) ReadFrom added in v0.10.5

func (vk *BellmanVerifyingKeyBn256) ReadFrom(r io.Reader) (n int64, err error)

func (*BellmanVerifyingKeyBn256) WriteTo added in v0.10.5

func (vk *BellmanVerifyingKeyBn256) WriteTo(w io.Writer) (n int64, err error)

Jump to

Keyboard shortcuts

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