|
purify
C++ Purify implementation with native circuit and BPP support
|
#include <recovery_root.hpp>
Public Member Functions | |
| std::size_t | member_count () const noexcept |
| const AffinePoint & | first_sum () const noexcept |
| const AffinePoint & | second_sum () const noexcept |
| const UInt512 & | recovery_root () const noexcept |
Static Public Attributes | |
| static constexpr std::size_t | kMaxMembers = SigningRoster::kMaxMembers |
Friends | |
| Result< RecoveryRootShareAggregate > | aggregate_recovery_root_shares (std::span< const RecoveryRootShare > ordered_shares) |
Validated full-point sum of one ordered roster's recovery shares.
Definition at line 71 of file recovery_root.hpp.
|
inlinenodiscardnoexcept |
Definition at line 79 of file recovery_root.hpp.
Referenced by aggregate_recovery_root_shares, and purify::accountable::recover_aggregated_recovery_root().
|
inlinenodiscardnoexcept |
Definition at line 75 of file recovery_root.hpp.
Referenced by purify::accountable::recover_aggregated_recovery_root().
|
inlinenodiscardnoexcept |
Definition at line 87 of file recovery_root.hpp.
Referenced by purify::accountable::recover_aggregated_recovery_root(), and purify::accountable::serialize_accepted_construction_parent_witness().
|
inlinenodiscardnoexcept |
Definition at line 83 of file recovery_root.hpp.
Referenced by aggregate_recovery_root_shares, and purify::accountable::recover_aggregated_recovery_root().
|
friend |
Sum exact signed shares after their proofs were checked in roster order.
Point addition cannot detect a duplicate, omission, or reordering. The accepting parent must verify every contribution at its exact roster index before using this nonauthorizing aggregate.
Definition at line 555 of file recovery_root.cpp.
References purify::EllipticCurve::add_mixed(), purify::EllipticCurve::affine(), purify::curve1(), purify::curve2(), purify::EquationMismatch, first_sum(), purify::JacobianPoint::infinity_point(), purify::pack_public(), PURIFY_RETURN_IF_ERROR, second_sum(), and purify::unexpected_error().
|
staticconstexpr |
Definition at line 73 of file recovery_root.hpp.