|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Full Honk proof layout (used by UltraVerifier). More...
#include <proof_length.hpp>
Static Public Member Functions | |
| static constexpr size_t | LENGTH_WITHOUT_PUB_INPUTS (size_t log_n) |
| static constexpr size_t | derive_num_public_inputs (size_t proof_size, size_t log_n) |
| Derive num_public_inputs from proof size. | |
| template<typename IO > | |
| static constexpr size_t | expected_proof_size (size_t log_n) |
| Expected proof size for API-level validation (excludes user public inputs). | |
Full Honk proof layout (used by UltraVerifier).
Honk proof = Oink + Sumcheck + Shplemini. Note: IPA proof is handled separately for rollup flavors (appended by prover, split by verifier).
Definition at line 100 of file proof_length.hpp.
|
inlinestaticconstexpr |
Derive num_public_inputs from proof size.
| proof_size | Total proof size in field elements |
| log_n | Log of circuit size (VIRTUAL_LOG_N for padded, vk->log_circuit_size for non-padded) |
Definition at line 112 of file proof_length.hpp.
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
Definition at line 101 of file proof_length.hpp.