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

#include <ecc_ops_table.hpp>

Public Types

using Fr = curve::BN254::ScalarField
 
using Fq = curve::BN254::BaseField
 

Public Member Functions

std::array< Fq, 2 > get_base_point_standard_form () const
 Get the point in standard form i.e. as two coordinates x and y in the base field or as a point at infinity whose coordinates are set to (0,0).
 

Public Attributes

EccOpCode op_code
 
Fr x_lo
 
Fr x_hi
 
Fr y_lo
 
Fr y_hi
 
Fr z_1
 
Fr z_2
 
bool return_is_infinity
 

Detailed Description

Definition at line 65 of file ecc_ops_table.hpp.

Member Typedef Documentation

◆ Fq

Definition at line 67 of file ecc_ops_table.hpp.

◆ Fr

Definition at line 66 of file ecc_ops_table.hpp.

Member Function Documentation

◆ get_base_point_standard_form()

std::array< Fq, 2 > bb::UltraOp::get_base_point_standard_form ( ) const
inline

Get the point in standard form i.e. as two coordinates x and y in the base field or as a point at infinity whose coordinates are set to (0,0).

Definition at line 82 of file ecc_ops_table.hpp.

Member Data Documentation

◆ op_code

EccOpCode bb::UltraOp::op_code

Definition at line 68 of file ecc_ops_table.hpp.

◆ return_is_infinity

bool bb::UltraOp::return_is_infinity

Definition at line 75 of file ecc_ops_table.hpp.

◆ x_hi

Fr bb::UltraOp::x_hi

Definition at line 70 of file ecc_ops_table.hpp.

◆ x_lo

Fr bb::UltraOp::x_lo

Definition at line 69 of file ecc_ops_table.hpp.

◆ y_hi

Fr bb::UltraOp::y_hi

Definition at line 72 of file ecc_ops_table.hpp.

◆ y_lo

Fr bb::UltraOp::y_lo

Definition at line 71 of file ecc_ops_table.hpp.

◆ z_1

Fr bb::UltraOp::z_1

Definition at line 73 of file ecc_ops_table.hpp.

◆ z_2

Fr bb::UltraOp::z_2

Definition at line 74 of file ecc_ops_table.hpp.


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