|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Verify an ECDSA signature for secp256k1. More...
#include <bbapi_ecdsa.hpp>
Classes | |
| struct | Response |
Public Member Functions | |
| Response | execute (BBApiRequest &request) && |
| MSGPACK_FIELDS (message, public_key, r, s, v) | |
| bool | operator== (const EcdsaSecp256k1VerifySignature &) const =default |
Public Attributes | |
| std::vector< uint8_t > | message |
| secp256k1::g1::affine_element | public_key |
| std::array< uint8_t, 32 > | r |
| std::array< uint8_t, 32 > | s |
| uint8_t | v |
Static Public Attributes | |
| static constexpr const char | MSGPACK_SCHEMA_NAME [] = "EcdsaSecp256k1VerifySignature" |
Verify an ECDSA signature for secp256k1.
Definition at line 158 of file bbapi_ecdsa.hpp.
| EcdsaSecp256k1VerifySignature::Response bb::bbapi::EcdsaSecp256k1VerifySignature::execute | ( | BBApiRequest & | request | ) | && |
Definition at line 36 of file bbapi_ecdsa.cpp.
| bb::bbapi::EcdsaSecp256k1VerifySignature::MSGPACK_FIELDS | ( | message | , |
| public_key | , | ||
| r | , | ||
| s | , | ||
| v | |||
| ) |
|
default |
| std::vector<uint8_t> bb::bbapi::EcdsaSecp256k1VerifySignature::message |
Definition at line 168 of file bbapi_ecdsa.hpp.
|
staticconstexpr |
Definition at line 159 of file bbapi_ecdsa.hpp.
| secp256k1::g1::affine_element bb::bbapi::EcdsaSecp256k1VerifySignature::public_key |
Definition at line 169 of file bbapi_ecdsa.hpp.
| std::array<uint8_t, 32> bb::bbapi::EcdsaSecp256k1VerifySignature::r |
Definition at line 170 of file bbapi_ecdsa.hpp.
| std::array<uint8_t, 32> bb::bbapi::EcdsaSecp256k1VerifySignature::s |
Definition at line 171 of file bbapi_ecdsa.hpp.
| uint8_t bb::bbapi::EcdsaSecp256k1VerifySignature::v |
Definition at line 172 of file bbapi_ecdsa.hpp.