purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
purify::accountable::RecoveryRootSetupAccumulator Class Reference

#include <recovery_root_accumulation.hpp>

Public Member Functions

 RecoveryRootSetupAccumulator (const RecoveryRootSetupAccumulator &)=delete
RecoveryRootSetupAccumulator & operator= (const RecoveryRootSetupAccumulator &)=delete
 RecoveryRootSetupAccumulator (RecoveryRootSetupAccumulator &&) noexcept=default
RecoveryRootSetupAccumulator & operator= (RecoveryRootSetupAccumulator &&) noexcept=default
const bppp::accumulation::Basis & basis () const noexcept
Result< bppp::accumulation::AlgebraicPreparedNorm > prepare (const NonceHostBoundSigningRoster &roster, const UInt512 &recovery_root, const RecoveryRootSetupProof &proof, purify_secp_context *secp_context, bppp::ExperimentalCircuitBackend *cache=nullptr) const

Static Public Member Functions

static Result< RecoveryRootSetupAccumulator > create (purify_secp_context *secp_context)

Static Public Attributes

static constexpr std::size_t kNormVectorLength = 4096

Detailed Description

Fixed-basis adapter for the selected recovery-root setup proof.

prepare() reconstructs the exact setup circuit, public signing-key output, and transcript binding. The result remains a pending norm obligation until its reduction and every later transition are verified and decided.

Definition at line 22 of file recovery_root_accumulation.hpp.

Constructor & Destructor Documentation

◆ RecoveryRootSetupAccumulator() [1/2]

purify::accountable::RecoveryRootSetupAccumulator::RecoveryRootSetupAccumulator ( const RecoveryRootSetupAccumulator & )
delete

◆ RecoveryRootSetupAccumulator() [2/2]

purify::accountable::RecoveryRootSetupAccumulator::RecoveryRootSetupAccumulator ( RecoveryRootSetupAccumulator && )
defaultnoexcept

Member Function Documentation

◆ basis()

const bppp::accumulation::Basis & purify::accountable::RecoveryRootSetupAccumulator::basis ( ) const
inlinenodiscardnoexcept

Definition at line 38 of file recovery_root_accumulation.hpp.

References basis().

Referenced by basis(), and create().

◆ create()

◆ operator=() [1/2]

RecoveryRootSetupAccumulator & purify::accountable::RecoveryRootSetupAccumulator::operator= ( const RecoveryRootSetupAccumulator & )
delete

◆ operator=() [2/2]

RecoveryRootSetupAccumulator & purify::accountable::RecoveryRootSetupAccumulator::operator= ( RecoveryRootSetupAccumulator && )
defaultnoexcept

◆ prepare()

Field Documentation

◆ kNormVectorLength

std::size_t purify::accountable::RecoveryRootSetupAccumulator::kNormVectorLength = 4096
staticconstexpr

Definition at line 24 of file recovery_root_accumulation.hpp.

Referenced by create().


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