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) &&
 
 SERIALIZATION_FIELDS (message_field, public_key, s, e)
 
bool operator== (const SchnorrVerifySignature &) const =default
 

Public Attributes

grumpkin::fq message_field
 
grumpkin::g1::affine_element public_key
 
grumpkin::fr s
 
grumpkin::fr e
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "SchnorrVerifySignature"
 

Detailed Description

Verify a Schnorr signature.

Definition at line 63 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.

◆ operator==()

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

◆ SERIALIZATION_FIELDS()

bb::bbapi::SchnorrVerifySignature::SERIALIZATION_FIELDS ( message_field  ,
public_key  ,
s  ,
e   
)

Member Data Documentation

◆ e

grumpkin::fr bb::bbapi::SchnorrVerifySignature::e

Definition at line 76 of file bbapi_schnorr.hpp.

◆ message_field

grumpkin::fq bb::bbapi::SchnorrVerifySignature::message_field

Definition at line 73 of file bbapi_schnorr.hpp.

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 64 of file bbapi_schnorr.hpp.

◆ public_key

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

Definition at line 74 of file bbapi_schnorr.hpp.

◆ s

grumpkin::fr bb::bbapi::SchnorrVerifySignature::s

Definition at line 75 of file bbapi_schnorr.hpp.


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