purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
accountable_responses.hpp File Reference

Go to the source code of this file.

Data Structures

struct  purify::accountable::PartialResponse
 Public session contribution; the raw full nonce is not normalized. More...

Namespaces

namespace  purify
namespace  purify::accountable

Functions

Status purify::accountable::verify_partial_response (const SigningRoster &roster, std::size_t member_index, const ConflictContext &context, std::span< const unsigned char > canonical_body, const PartialResponse &partial, purify_secp_context *secp_context)
 Check sigma_i*G = R_i + e*b_i*P_i for one ordered roster member.
Result< ScalarSignature > purify::accountable::aggregate_responses (const SigningRoster &roster, const ConflictContext &context, std::span< const unsigned char > canonical_body, std::span< const PartialResponse > partials, purify_secp_context *secp_context)
 Check all ordered partial equations and sum their scalar responses.