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

Go to the source code of this file.

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)