|
purify
C++ Purify implementation with native circuit and BPP support
|
#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 |
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.
|
delete |
References RecoveryRootSetupAccumulator().
Referenced by create(), operator=(), operator=(), RecoveryRootSetupAccumulator(), and RecoveryRootSetupAccumulator().
|
defaultnoexcept |
References RecoveryRootSetupAccumulator().
|
inlinenodiscardnoexcept |
Definition at line 38 of file recovery_root_accumulation.hpp.
References basis().
|
staticnodiscard |
Definition at line 1239 of file recovery_root.cpp.
References basis(), purify::bppp::accumulation::Basis::create(), purify::accountable::RecoveryRootSetupProof::kNormProofSize, kNormVectorLength, PURIFY_ASSIGN_OR_RETURN, and RecoveryRootSetupAccumulator().
Referenced by operator=().
|
delete |
References RecoveryRootSetupAccumulator().
|
defaultnoexcept |
References create(), and RecoveryRootSetupAccumulator().
|
nodiscard |
Definition at line 1253 of file recovery_root.cpp.
References purify::EquationMismatch, purify::bppp::accumulation::prepare_v4_circuit_norm_for_algebraic_reduction(), PURIFY_ASSIGN_OR_RETURN, PURIFY_RETURN_IF_ERROR, purify::require_secp_context(), and purify::unexpected_error().
|
staticconstexpr |
Definition at line 24 of file recovery_root_accumulation.hpp.
Referenced by create().