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

Go to the source code of this file.

Classes

struct  bb::crypto::ecdsa_key_pair< Fr, G1 >
 
struct  bb::crypto::ecdsa_signature
 

Namespaces

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

Functions

template<typename Hash , typename Fq , typename Fr , typename G1 >
ecdsa_signature bb::crypto::ecdsa_construct_signature (const std::string &message, const ecdsa_key_pair< Fr, G1 > &account)
 
template<typename Hash , typename Fq , typename Fr , typename G1 >
G1::affine_element bb::crypto::ecdsa_recover_public_key (const std::string &message, const ecdsa_signature &sig)
 
template<typename Hash , typename Fq , typename Fr , typename G1 >
bool bb::crypto::ecdsa_verify_signature (const std::string &message, const typename G1::affine_element &public_key, const ecdsa_signature &signature)
 
bool bb::crypto::operator== (ecdsa_signature const &lhs, ecdsa_signature const &rhs)
 
std::ostream & bb::crypto::operator<< (std::ostream &os, ecdsa_signature const &sig)