purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
purify::puresign::NonceProof Struct Reference

Public nonce together with its experimental Purify statement proof. More...

#include <legacy.hpp>

Public Member Functions

Result< Bytesserialize (purify_secp_context *secp_context) const
 

Static Public Member Functions

static Result< NonceProofdeserialize (std::span< const unsigned char > serialized, purify_secp_context *secp_context)
 

Data Fields

Nonce nonce
 
ExperimentalBulletproofProof proof
 

Detailed Description

The proved statement binds nonce to the unique Purify evaluation for the supplied (secret, scope, input). There is intentionally no public retry selector in this format: if the derived scalar is zero, preparation fails instead of allowing multiple valid public nonces for the same input. That failure occurs with negligible probability, about 2^-256.

Definition at line 221 of file legacy.hpp.

Member Function Documentation

◆ deserialize()

Result< NonceProof > purify::puresign::NonceProof::deserialize ( std::span< const unsigned char >  serialized,
purify_secp_context secp_context 
)
static

◆ serialize()

Field Documentation

◆ nonce

◆ proof

ExperimentalBulletproofProof purify::puresign::NonceProof::proof

Definition at line 223 of file legacy.hpp.

Referenced by serialize().


The documentation for this struct was generated from the following files: