halo2kzg

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MaxConstraintSystemSize = 2 * 1024

MaxConstraintSystemSize 2KB

View Source
const MaxKzgParamsSize = 4 * 1024

MaxKzgParamsSize 4KB

View Source
const MaxParamsSize = 8 * 1024

MaxProofSize 4KB

View Source
const MaxProofSize = 8 * 1024

MaxProofSize 4KB

View Source
const MaxPublicInputSize = 4 * 1024

MaxPublicInputSize 4KB

View Source
const MaxVerifierKeySize = 1024

MaxVerificationKeySize 1KB

Variables

This section is empty.

Functions

func VerifyHalo2KzgProof

func VerifyHalo2KzgProof(
	proofBuffer [MaxProofSize]byte, proofLen_u32 uint32,
	csBuffer [MaxConstraintSystemSize]byte, csLen_u32 uint32,
	vkBuffer [MaxVerifierKeySize]byte, vkLen_u32 uint32,
	kzgParamBuffer [MaxKzgParamsSize]byte, kzgParamLen_u32 uint32,
	publicInputBuffer [MaxPublicInputSize]byte, publicInputLen_u32 uint32,
) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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