purify
C++ Purify implementation with native circuit and BPP support
Loading...
Searching...
No Matches
legacy.hpp File Reference

Legacy Bulletproof-backed Purify-derived BIP340 signing helpers with prepared nonces. More...

#include <array>
#include <cstdint>
#include <span>
#include <utility>
#include "purify/api.hpp"

Go to the source code of this file.

Data Structures

struct  purify::puresign::PublicKey
 Public key bundle pairing a Purify packed public key with its derived BIP340 x-only key. More...
 
struct  purify::puresign::Nonce
 Public BIP340 nonce point in x-only form. More...
 
struct  purify::puresign::Signature
 Standard 64-byte BIP340 signature. More...
 
struct  purify::puresign::NonceProof
 Public nonce together with its experimental Purify statement proof. More...
 
struct  purify::puresign::ProvenSignature
 Standard signature bundled with the public nonce proof it relied on. More...
 
struct  purify::puresign::MessageProofCache
 Cacheable message-bound nonce-proof template. More...
 
struct  purify::puresign::TopicProofCache
 Cacheable topic-bound nonce-proof template. More...
 
class  purify::puresign::PreparedNonce
 Move-only prepared nonce bound to either a message or a topic. More...
 
class  purify::puresign::PreparedNonceWithProof
 Move-only prepared nonce bundled with its public statement proof. More...
 
class  purify::puresign::KeyPair
 

Namespaces

namespace  purify
 
namespace  purify::puresign
 

Typedefs

using purify::puresign::Scalar32 = std::array< unsigned char, 32 >
 
using purify::puresign::XOnly32 = std::array< unsigned char, 32 >
 
using purify::puresign::Signature64 = std::array< unsigned char, 64 >
 

Detailed Description

This layer exposes deterministic nonces, signatures, and experimental proof(R) artifacts derived from a packed Purify secret and intended to be ready for transport or direct secp256k1 use. This is the legacy Bulletproof-backed proof(R) surface.

Definition in file legacy.hpp.