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

#include <accountable_responses.hpp>

Public Member Functions

const ScalarSignature & response () const

Friends

Result< VerifiedScalarResponse > 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 > 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 > recover_verified_same_slot_key (const VerifiedScalarResponse &first, const VerifiedScalarResponse &second, purify_secp_context *secp_context)

Detailed Description

Accepted scalar response bound to one exact proof-attested raw nonce.

Definition at line 105 of file accountable_responses.hpp.

Member Function Documentation

◆ response()

const ScalarSignature & purify::accountable::VerifiedScalarResponse::response ( ) const
inlinenodiscard

Definition at line 107 of file accountable_responses.hpp.

◆ aggregate_responses

Result< VerifiedScalarResponse > 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 )
friend

Definition at line 332 of file accountable_responses.cpp.

◆ recover_verified_same_slot_key

Result< ExposedCoalitionKey > recover_verified_same_slot_key ( const VerifiedScalarResponse & first,
const VerifiedScalarResponse & second,
purify_secp_context * secp_context )
friend

◆ verify_scalar_response

Result< VerifiedScalarResponse > 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 )
friend

Definition at line 306 of file accountable_responses.cpp.


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