Documentation ¶ Index ¶ func ProofVerify(vk *VerificationKey, proof *Proof, inputs []*big.Int) (bool, error) type Proof func GetProofFromCompressed(proof []byte) (*Proof, error) type VerificationKey func GetVerificationKeyFromCompressed(vk []byte) (*VerificationKey, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ProofVerify ¶ func ProofVerify(vk *VerificationKey, proof *Proof, inputs []*big.Int) (bool, error) Types ¶ type Proof ¶ type Proof struct { A *bls.PointG1 B *bls.PointG2 C *bls.PointG1 } func GetProofFromCompressed ¶ func GetProofFromCompressed(proof []byte) (*Proof, error) type VerificationKey ¶ type VerificationKey struct { AlphaG1 *bls.PointG1 BetaG2 *bls.PointG2 GammaG2 *bls.PointG2 DeltaG2 *bls.PointG2 Ic []*bls.PointG1 } func GetVerificationKeyFromCompressed ¶ func GetVerificationKeyFromCompressed(vk []byte) (*VerificationKey, error) Source Files ¶ View all Source files proof.go verificationKey.go verifier.go Click to show internal directories. Click to hide internal directories.