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

Multiply a BN254 G2 point by a scalar. More...

#include <bbapi_ecc.hpp>

Classes

struct  Response
 

Public Member Functions

Response execute (BBApiRequest &request) &&
 
 MSGPACK_FIELDS (point, scalar)
 
bool operator== (const Bn254G2Mul &) const =default
 

Public Attributes

bb::g2::affine_element point
 
bb::fr scalar
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "Bn254G2Mul"
 

Detailed Description

Multiply a BN254 G2 point by a scalar.

Definition at line 255 of file bbapi_ecc.hpp.

Member Function Documentation

◆ execute()

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

Definition at line 97 of file bbapi_ecc.cpp.

◆ MSGPACK_FIELDS()

bb::bbapi::Bn254G2Mul::MSGPACK_FIELDS ( point  ,
scalar   
)

◆ operator==()

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

Member Data Documentation

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 256 of file bbapi_ecc.hpp.

◆ point

bb::g2::affine_element bb::bbapi::Bn254G2Mul::point

Definition at line 265 of file bbapi_ecc.hpp.

◆ scalar

bb::fr bb::bbapi::Bn254G2Mul::scalar

Definition at line 266 of file bbapi_ecc.hpp.


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