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

Compute Pedersen commitment to field elements. More...

#include <bbapi_crypto.hpp>

Classes

struct  Response
 

Public Member Functions

Response execute (BBApiRequest &request) &&
 
 MSGPACK_FIELDS (inputs, hash_index)
 
bool operator== (const PedersenCommit &) const =default
 

Public Attributes

std::vector< grumpkin::fqinputs
 
uint32_t hash_index
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "PedersenCommit"
 

Detailed Description

Compute Pedersen commitment to field elements.

Definition at line 84 of file bbapi_crypto.hpp.

Member Function Documentation

◆ execute()

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

Definition at line 43 of file bbapi_crypto.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::PedersenCommit::MSGPACK_FIELDS ( inputs  ,
hash_index   
)

◆ operator==()

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

Member Data Documentation

◆ hash_index

uint32_t bb::bbapi::PedersenCommit::hash_index

Definition at line 95 of file bbapi_crypto.hpp.

◆ inputs

std::vector<grumpkin::fq> bb::bbapi::PedersenCommit::inputs

Definition at line 94 of file bbapi_crypto.hpp.

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 85 of file bbapi_crypto.hpp.


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