|
purify
C++ Purify implementation with native circuit and BPP support
|
Cacheable message-bound nonce-proof template. More...
#include <legacy.hpp>
Static Public Member Functions | |
| static Result< MessageProofCache > | build (std::span< const unsigned char > message) |
| Builds a reusable verifier template for one exact message. | |
Data Fields | |
| Bytes | message |
| Bytes | eval_input |
| NativeBulletproofCircuitTemplate | circuit_template |
| Bytes | template_digest |
| ExperimentalBulletproofBackendCache | backend_cache |
This bundles the exact message together with the public-key-agnostic circuit template needed for message-bound proof(R) creation and verification. Reuse the same instance across multiple users for the same message.
Definition at line 247 of file legacy.hpp.
|
static |
| message | The message that all later prepared nonces or proofs must bind to. |
Definition at line 771 of file legacy.cpp.
Referenced by main().
|
mutable |
Definition at line 252 of file legacy.hpp.
Referenced by purify::puresign::api_impl::prepare_message_nonce_with_proof(), and purify::puresign::api_impl::verify_message_nonce_proof().
| NativeBulletproofCircuitTemplate purify::puresign::MessageProofCache::circuit_template |
Definition at line 250 of file legacy.hpp.
Referenced by purify::puresign::api_impl::prepare_message_nonce_with_proof(), and purify::puresign::api_impl::verify_message_nonce_proof().
| Bytes purify::puresign::MessageProofCache::eval_input |
Definition at line 249 of file legacy.hpp.
| Bytes purify::puresign::MessageProofCache::message |
Definition at line 248 of file legacy.hpp.
Referenced by purify::puresign::api_impl::build_message_proof_cache(), purify::puresign::api_impl::prepare_message_nonce_with_proof(), purify::puresign::KeyPair::sign_message_with_proof(), purify::puresign::api_impl::sign_message_with_proof(), and purify::puresign::api_impl::verify_message_signature_with_proof().
| Bytes purify::puresign::MessageProofCache::template_digest |
Definition at line 251 of file legacy.hpp.