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

Go to the source code of this file.

Data Structures

struct  purify::accountable::PartialResponse
class  purify::accountable::VerifiedCoalitionNonceSet
class  purify::accountable::VerifiedScalarResponse
class  purify::accountable::ExposedCoalitionKey

Namespaces

namespace  purify
namespace  purify::accountable

Functions

Result< NonceHostCommitment > purify::accountable::nonce_host_commitment (const SigningRoster &roster, std::span< const puresign_plusplus::PublicKey > ordered_hosts, purify_secp_context *secp_context)
Result< NonceHostCommitment > purify::accountable::nonce_host_commitment (const NonceHostBoundSigningRoster &roster, std::span< const puresign_plusplus::PublicKey > ordered_hosts, purify_secp_context *secp_context)
Result< VerifiedCoalitionNonceSet > purify::accountable::verify_coalition_nonce_set (const NonceHostBoundSigningRoster &roster, const ConflictContext &context, std::span< const puresign_plusplus::PublicKey > ordered_hosts, std::span< const puresign_plusplus::NonceProof > ordered_proofs, purify_secp_context *secp_context, bppp::ExperimentalCircuitBackend *cache=nullptr)
Status purify::accountable::verify_partial_response (const NonceHostBoundSigningRoster &roster, const VerifiedCoalitionNonceSet &nonce_set, std::size_t member_index, const ConflictContext &context, std::span< const unsigned char > canonical_body, const PartialResponse &partial, purify_secp_context *secp_context)
Result< VerifiedScalarResponse > purify::accountable::aggregate_responses (const NonceHostBoundSigningRoster &roster, const VerifiedCoalitionNonceSet &nonce_set, const ConflictContext &context, std::span< const unsigned char > canonical_body, std::span< const PartialResponse > partials, purify_secp_context *secp_context)
Result< VerifiedScalarResponse > purify::accountable::verify_scalar_response (const NonceHostBoundSigningRoster &roster, const VerifiedCoalitionNonceSet &nonce_set, const ConflictContext &context, std::span< const unsigned char > canonical_body, const ScalarSignature &response, purify_secp_context *secp_context)
Result< ExposedCoalitionKey > purify::accountable::recover_verified_same_slot_key (const VerifiedScalarResponse &first, const VerifiedScalarResponse &second, purify_secp_context *secp_context)