Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
small_subgroup_ipa.hpp File Reference

Go to the source code of this file.

Classes

class  bb::SmallSubgroupIPAProver< Flavor >
 A Curve-agnostic ZK protocol to prove inner products of small vectors. More...
 
class  bb::SmallSubgroupIPAVerifier< Curve >
 Verifies the consistency of polynomial evaluations provided by the the prover. More...
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 

Functions

template<typename Curve >
std::vector< typename Curve::ScalarFieldbb::compute_eccvm_challenge_coeffs (const typename Curve::ScalarField &evaluation_challenge_x, const typename Curve::ScalarField &batching_challenge_v, size_t num_polys, size_t num_coeffs_per_poly)
 Given num_polys polynomials each contributing num_coeffs_per_poly masking coefficients, an evaluation challenge \( x \) and a batching challenge \( v \), compute the challenge polynomial whose coefficients (in the Lagrange basis over the Small Subgroup) are \( (1, x, \ldots, x^{M-1},\; v, vx, \ldots, vx^{M-1},\; \ldots,\; v^{N-1}x^{M-1},\; 0, \ldots, 0) \) where \( M = \text{num\_coeffs\_per\_poly} \) and \( N = \text{num\_polys} \).