keys

package
v1.0.0-ceremony Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExportSol

func ExportSol(session string) error

func ExtractKeys

func ExtractKeys(phase2Path string) error

func ExtractSplitKeys

func ExtractSplitKeys(phase2Path, session string) error

Types

type VerifyingKey

type VerifyingKey struct {
	G1 struct {
		Alpha       bn254.G1Affine
		Beta, Delta bn254.G1Affine   // unused, here for compatibility purposes
		K           []bn254.G1Affine // The indexes correspond to the public wires
	}

	G2 struct {
		Beta, Delta, Gamma bn254.G2Affine
	}

	CommitmentKey  pedersen.Key
	CommitmentInfo constraint.Commitment // since the verifier doesn't input a constraint system, this needs to be provided here
}

Jump to

Keyboard shortcuts

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