purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
purify::puresign_plusplus::TopicProofCache Struct Reference

Cacheable topic-bound nonce-proof template for the BPPP-backed PureSign++ proof(R) flow. More...

#include <bppp.hpp>

Static Public Member Functions

static Result< TopicProofCachebuild (std::span< const unsigned char > topic)
 Builds a reusable verifier template for one exact topic.
 

Data Fields

Bytes topic
 
Bytes eval_input
 
NativeBulletproofCircuitTemplate circuit_template
 
Bytes template_digest
 
bppp::ExperimentalCircuitCache backend_cache
 

Detailed Description

This bundles the exact topic together with the public-key-agnostic circuit template needed for topic-bound proof creation and verification. The mutable BPPP circuit cache can be reused across multiple signers for the same topic.

Definition at line 240 of file bppp.hpp.

Member Function Documentation

◆ build()

Result< TopicProofCache > purify::puresign_plusplus::TopicProofCache::build ( std::span< const unsigned char >  topic)
static

Field Documentation

◆ backend_cache

bppp::ExperimentalCircuitCache purify::puresign_plusplus::TopicProofCache::backend_cache
mutable

◆ circuit_template

◆ eval_input

Bytes purify::puresign_plusplus::TopicProofCache::eval_input

◆ template_digest

Bytes purify::puresign_plusplus::TopicProofCache::template_digest

Definition at line 244 of file bppp.hpp.

Referenced by build().

◆ topic

Bytes purify::puresign_plusplus::TopicProofCache::topic

The documentation for this struct was generated from the following files: