Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::bbapi::SchnorrVerifySignature Struct Reference

Verify a Schnorr signature. More...

#include <bbapi_schnorr.hpp>

Classes

struct  Response
 

Public Member Functions

Response execute (BBApiRequest &request) &&
 
 MSGPACK_FIELDS (message, public_key, s, e)
 
bool operator== (const SchnorrVerifySignature &) const =default
 

Public Attributes

std::vector< uint8_t > message
 
grumpkin::g1::affine_element public_key
 
std::array< uint8_t, 32 > s
 
std::array< uint8_t, 32 > e
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "SchnorrVerifySignature"
 

Detailed Description

Verify a Schnorr signature.

Definition at line 66 of file bbapi_schnorr.hpp.

Member Function Documentation

◆ execute()

SchnorrVerifySignature::Response bb::bbapi::SchnorrVerifySignature::execute ( BBApiRequest request) &&

Definition at line 25 of file bbapi_schnorr.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::SchnorrVerifySignature::MSGPACK_FIELDS ( message  ,
public_key  ,
s  ,
e   
)

◆ operator==()

bool bb::bbapi::SchnorrVerifySignature::operator== ( const SchnorrVerifySignature ) const
default

Member Data Documentation

◆ e

std::array<uint8_t, 32> bb::bbapi::SchnorrVerifySignature::e

Definition at line 79 of file bbapi_schnorr.hpp.

◆ message

std::vector<uint8_t> bb::bbapi::SchnorrVerifySignature::message

Definition at line 76 of file bbapi_schnorr.hpp.

◆ MSGPACK_SCHEMA_NAME

constexpr const char bb::bbapi::SchnorrVerifySignature::MSGPACK_SCHEMA_NAME[] = "SchnorrVerifySignature"
staticconstexpr

Definition at line 67 of file bbapi_schnorr.hpp.

◆ public_key

grumpkin::g1::affine_element bb::bbapi::SchnorrVerifySignature::public_key

Definition at line 77 of file bbapi_schnorr.hpp.

◆ s

std::array<uint8_t, 32> bb::bbapi::SchnorrVerifySignature::s

Definition at line 78 of file bbapi_schnorr.hpp.


The documentation for this struct was generated from the following files: