|
purify
C++ Purify implementation with native circuit and BPP support
|
Canonical 32-byte scalar response; carries no nonce or proof. More...
#include <accountable.hpp>
Public Member Functions | |
| std::array< unsigned char, 32 > | serialize () const |
| Return the complete scalar-only wire representation. | |
Static Public Member Functions | |
| static Result< ScalarSignature > | deserialize (std::span< const unsigned char > bytes) |
| Parse exactly 32 big-endian bytes below the group order, including zero. | |
Definition at line 34 of file accountable.hpp.
|
staticnodiscard |
Definition at line 41 of file accountable.cpp.
References purify::InvalidFixedSize, PURIFY_ASSIGN_OR_RETURN, purify::FieldElement::try_from_bytes32(), and purify::unexpected_error().
Referenced by purify::accountable::aggregate_responses().
|
inlinenodiscard |
Definition at line 40 of file accountable.hpp.
Referenced by purify::accountable::reconstruct_nonce(), and purify::accountable::recover_same_slot_key().