Skip to main content

Module zk_config

Module zk_config 

Source
Expand description

Zero-knowledge verification configuration for Binius64 constraint systems.

This module provides ZKVerifier, which wraps the Binius64 IOP verifier with a Spartan-based zero-knowledge wrapper. The wrapper transforms the non-ZK Binius64 verification into a ZK proof by:

  1. Symbolically executing the inner verifier to build an outer Spartan constraint system
  2. Combining inner and outer oracles into a single BaseFold ZK compiler, which commits each round’s oracles as one
  3. At verification time, running the inner verifier through a ZKWrappedVerifierChannel that records all values as outer public inputs, then finishing with outer Spartan verification

Structs§

ZKVerifier
Zero-knowledge verifier for Binius64 constraint systems.

Enums§

Error
Error type for ZK verification.