Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
schnorr.hpp File Reference

Go to the source code of this file.

Classes

struct  bb::crypto::schnorr_key_pair< Fr, G1 >
 
struct  bb::crypto::schnorr_signature
 

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::crypto
 

Functions

template<typename Fr , typename G1 >
bool bb::crypto::schnorr_verify_signature (const typename G1::Fq &message_field, const typename G1::affine_element &public_key, const schnorr_signature &sig)
 
template<typename Fr , typename G1 >
schnorr_signature bb::crypto::schnorr_construct_signature (const typename G1::Fq &message_field, const schnorr_key_pair< Fr, G1 > &account)
 
bool bb::crypto::operator== (schnorr_signature const &lhs, schnorr_signature const &rhs)
 
std::ostream & bb::crypto::operator<< (std::ostream &os, schnorr_signature const &sig)
 
template<typename B >
void bb::crypto::read (B &it, schnorr_key_pair< grumpkin::fr, grumpkin::g1 > &keypair)
 
template<typename B >
void bb::crypto::write (B &buf, schnorr_key_pair< grumpkin::fr, grumpkin::g1 > const &keypair)