purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
recovery_root.hpp File Reference
#include <array>
#include <cstddef>
#include <span>
#include <utility>
#include "purify/api.hpp"
#include "purify/bppp.hpp"
#include "purify/puresign/accountable_roster.hpp"

Go to the source code of this file.

Data Structures

class  purify::accountable::RecoveryRootShare
class  purify::accountable::RecoveryRootShareAggregate
class  purify::accountable::RecoveryRootContribution
class  purify::accountable::VerifiedDistributedRecoverySetup
class  purify::accountable::RecoveryRootSetupProof

Namespaces

namespace  purify
namespace  purify::accountable

Functions

Result< RecoveryRootShare > purify::accountable::derive_recovery_root_share (const SigningRoster &roster, std::size_t member_index, const FieldElement &member_secret, purify_secp_context *secp_context)
Result< RecoveryRootShareAggregate > purify::accountable::aggregate_recovery_root_shares (std::span< const RecoveryRootShare > ordered_shares)
Result< GeneratedKey > purify::accountable::recover_aggregated_recovery_root (const NonceHostBoundSigningRoster &roster, const RecoveryRootShareAggregate &aggregate, const FieldElement &exposed_signing_scalar, purify_secp_context *secp_context)
Result< RecoveryRootContribution > purify::accountable::prove_recovery_root_contribution (const NonceHostBoundSigningRoster &roster, const CoalitionFormation &formation, std::size_t member_index, const FieldElement &member_secret, purify_secp_context *secp_context, bppp::ExperimentalCircuitBackend *cache=nullptr)
Result< bool > purify::accountable::verify_recovery_root_contribution (const NonceHostBoundSigningRoster &roster, const CoalitionFormation &formation, std::size_t member_index, const RecoveryRootContribution &contribution, purify_secp_context *secp_context, bppp::ExperimentalCircuitBackend *cache=nullptr)
Result< VerifiedDistributedRecoverySetup > purify::accountable::verify_distributed_recovery_setup (NonceHostBoundSigningRoster roster, const CoalitionFormation &formation, std::span< const RecoveryRootContribution > ordered_contributions, purify_secp_context *secp_context, bppp::ExperimentalCircuitBackend *cache=nullptr)
Result< GeneratedKey > purify::accountable::derive_recovery_root (const FieldElement &signing_scalar)
Result< RecoveryRootSetupProof > purify::accountable::prove_recovery_root_setup (const NonceHostBoundSigningRoster &roster, const UInt512 &recovery_root, const FieldElement &signing_scalar, purify_secp_context *secp_context, bppp::ExperimentalCircuitBackend *cache=nullptr)
Result< GeneratedKey > purify::accountable::recover_registered_root (const RecoveryBoundSigningRoster &roster, const FieldElement &exposed_signing_scalar, purify_secp_context *secp_context)