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

Cacheable topic-bound nonce-proof template. More...

#include <legacy.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
 
ExperimentalBulletproofBackendCache backend_cache
 

Detailed Description

This bundles the exact topic together with the public-key-agnostic circuit template needed for topic-bound proof(R) creation and verification. Reuse the same instance across multiple users for the same topic.

Definition at line 269 of file legacy.hpp.

Member Function Documentation

◆ build()

Result< TopicProofCache > purify::puresign::TopicProofCache::build ( std::span< const unsigned char >  topic)
static
Parameters
topicThe topic that all later prepared nonces or proofs must bind to.
Returns
The reusable cache for that topic.

Definition at line 775 of file legacy.cpp.

Field Documentation

◆ backend_cache

ExperimentalBulletproofBackendCache purify::puresign::TopicProofCache::backend_cache
mutable

◆ circuit_template

NativeBulletproofCircuitTemplate purify::puresign::TopicProofCache::circuit_template

◆ eval_input

Bytes purify::puresign::TopicProofCache::eval_input

Definition at line 271 of file legacy.hpp.

◆ template_digest

Bytes purify::puresign::TopicProofCache::template_digest

Definition at line 273 of file legacy.hpp.

◆ topic

Bytes purify::puresign::TopicProofCache::topic

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