UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
recovery.hpp File Reference
#include <array>
#include <cstdint>
#include <utility>
#include "secp256k1/ecdsa.hpp"
#include "secp256k1/point.hpp"
#include "secp256k1/scalar.hpp"

Go to the source code of this file.

Classes

struct  secp256k1::RecoverableSignature
 

Namespaces

namespace  secp256k1
 

Functions

RecoverableSignature secp256k1::ecdsa_sign_recoverable (const std::array< std::uint8_t, 32 > &msg_hash, const Scalar &private_key)
 
std::pair< Point, bool > secp256k1::ecdsa_recover (const std::array< std::uint8_t, 32 > &msg_hash, const ECDSASignature &sig, int recid)
 
std::array< std::uint8_t, 65 > secp256k1::recoverable_to_compact (const RecoverableSignature &rsig, bool compressed=true)
 
std::pair< RecoverableSignature, bool > secp256k1::recoverable_from_compact (const std::array< std::uint8_t, 65 > &data)