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

Multiply a Secp256k1 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 Secp256k1Mul &) const =default
 

Public Attributes

secp256k1::g1::affine_element point
 
secp256k1::fr scalar
 

Static Public Attributes

static constexpr const char MSGPACK_SCHEMA_NAME [] = "Secp256k1Mul"
 

Detailed Description

Multiply a Secp256k1 point by a scalar.

Definition at line 130 of file bbapi_ecc.hpp.

Member Function Documentation

◆ execute()

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

Definition at line 52 of file bbapi_ecc.cpp.

◆ MSGPACK_FIELDS()

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

◆ operator==()

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

Member Data Documentation

◆ MSGPACK_SCHEMA_NAME

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

Definition at line 131 of file bbapi_ecc.hpp.

◆ point

secp256k1::g1::affine_element bb::bbapi::Secp256k1Mul::point

Definition at line 140 of file bbapi_ecc.hpp.

◆ scalar

secp256k1::fr bb::bbapi::Secp256k1Mul::scalar

Definition at line 141 of file bbapi_ecc.hpp.


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