|
purify
C++ Purify implementation with native circuit and BPP support
|
Public BIP340 nonce point in x-only form. More...
#include <legacy.hpp>
Public Member Functions | |
| Bytes | serialize () const |
Static Public Member Functions | |
| static Result< Nonce > | deserialize (std::span< const unsigned char > serialized, purify_secp_context *secp_context) |
Data Fields | |
| XOnly32 | xonly {} |
Static Public Attributes | |
| static constexpr std::size_t | kSerializedSize = 32 |
Definition at line 190 of file legacy.hpp.
|
static |
Definition at line 71 of file legacy.cpp.
References purify::BackendRejectedInput, purify::InvalidFixedSize, kSerializedSize, purify_bip340_validate_xonly_pubkey(), PURIFY_RETURN_IF_ERROR, purify::require_secp_context(), and purify::unexpected_error().
| Bytes purify::puresign::Nonce::serialize | ( | ) | const |
Definition at line 67 of file legacy.cpp.
References xonly.
|
staticconstexpr |
Definition at line 191 of file legacy.hpp.
Referenced by deserialize().
| XOnly32 purify::puresign::Nonce::xonly {} |
Definition at line 193 of file legacy.hpp.
Referenced by serialize(), purify::puresign::NonceProof::serialize(), purify::puresign::PreparedNonceWithProof::sign_message(), purify::puresign::PreparedNonceWithProof::sign_topic_message(), purify::puresign::api_impl::verify_message_signature_with_proof(), purify::puresign::api_impl::verify_message_signature_with_proof(), purify::puresign::api_impl::verify_topic_signature_with_proof(), and purify::puresign::api_impl::verify_topic_signature_with_proof().