|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <field6.hpp>
Public Member Functions | |
| constexpr | field6 (const base_field &a=base_field::zero(), const base_field &b=base_field::zero(), const base_field &c=base_field::zero()) |
| constexpr | field6 (const field6 &other) |
| constexpr | field6 (field6 &&other) noexcept |
| constexpr field6 & | operator= (const field6 &other) noexcept |
| constexpr field6 & | operator= (field6 &&other) noexcept |
| constexpr | ~field6 () noexcept=default |
| constexpr field6 | operator+ (const field6 &other) const |
| constexpr field6 | operator- (const field6 &other) const |
| constexpr field6 | operator- () const |
| constexpr field6 | operator* (const field6 &other) const |
| constexpr field6 | operator/ (const field6 &other) const |
| constexpr field6 | sqr () const |
| constexpr field6 | operator+= (const field6 &other) |
| constexpr field6 | operator-= (const field6 &other) |
| constexpr field6 | operator*= (const field6 &other) |
| constexpr field6 | operator/= (const field6 &other) |
| constexpr void | self_neg () |
| constexpr void | self_sqr () |
| constexpr field6 | invert () const |
| constexpr field6 | mul_by_fq2 (const base_field &other) const |
| constexpr field6 | frobenius_map_three () const |
| constexpr field6 | frobenius_map_two () const |
| constexpr field6 | frobenius_map_one () const |
| constexpr field6 | to_montgomery_form () const |
| constexpr field6 | from_montgomery_form () const |
| constexpr bool | is_zero () const |
| constexpr bool | operator== (const field6 &other) const |
| constexpr field6 | sparse_mul (const base_field &a0, const base_field &a1) const |
| Multiply a field6 element by a0 + a1 * v. | |
Static Public Member Functions | |
| static constexpr field6 | zero () |
| static constexpr field6 | one () |
| static constexpr base_field | mul_by_non_residue (const base_field &a) |
| static constexpr field6 | random_element (numeric::RNG *engine=nullptr) |
Public Attributes | |
| base_field | c0 |
| base_field | c1 |
| base_field | c2 |
Definition at line 11 of file field6.hpp.
|
inlineconstexpr |
Definition at line 13 of file field6.hpp.
|
inlineconstexpr |
Definition at line 21 of file field6.hpp.
|
inlineconstexprnoexcept |
Definition at line 27 of file field6.hpp.
|
constexprdefaultnoexcept |
|
inlineconstexpr |
Definition at line 199 of file field6.hpp.
|
inlineconstexpr |
Definition at line 185 of file field6.hpp.
|
inlineconstexpr |
Definition at line 194 of file field6.hpp.
|
inlineconstexpr |
Definition at line 227 of file field6.hpp.
|
inlineconstexpr |
Definition at line 167 of file field6.hpp.
|
inlineconstexpr |
Definition at line 236 of file field6.hpp.
|
inlineconstexpr |
Definition at line 183 of file field6.hpp.
|
inlinestaticconstexpr |
Definition at line 61 of file field6.hpp.
|
inlinestaticconstexpr |
Definition at line 59 of file field6.hpp.
|
inlineconstexpr |
Definition at line 90 of file field6.hpp.
|
inlineconstexpr |
Definition at line 146 of file field6.hpp.
|
inlineconstexpr |
Definition at line 63 of file field6.hpp.
|
inlineconstexpr |
Definition at line 130 of file field6.hpp.
|
inlineconstexpr |
Definition at line 81 of file field6.hpp.
|
inlineconstexpr |
Definition at line 72 of file field6.hpp.
|
inlineconstexpr |
Definition at line 138 of file field6.hpp.
|
inlineconstexpr |
Definition at line 110 of file field6.hpp.
|
inlineconstexpr |
Definition at line 152 of file field6.hpp.
|
inlineconstexprnoexcept |
Definition at line 33 of file field6.hpp.
|
inlineconstexprnoexcept |
Definition at line 44 of file field6.hpp.
|
inlineconstexpr |
Definition at line 238 of file field6.hpp.
|
inlinestaticconstexpr |
Definition at line 208 of file field6.hpp.
|
inlineconstexpr |
Definition at line 158 of file field6.hpp.
|
inlineconstexpr |
Definition at line 165 of file field6.hpp.
|
inlineconstexpr |
Multiply a field6 element by a0 + a1 * v.
Algorithm 6 from https://cacr.uwaterloo.ca/techreports/2012/cacr2012-17.pdf
| a0 | |
| a1 |
Definition at line 249 of file field6.hpp.
|
inlineconstexpr |
Definition at line 112 of file field6.hpp.
|
inlineconstexpr |
Definition at line 218 of file field6.hpp.
|
inlinestaticconstexpr |
Definition at line 58 of file field6.hpp.
| base_field bb::field6< base_field, Fq6Params >::c0 |
Definition at line 54 of file field6.hpp.
| base_field bb::field6< base_field, Fq6Params >::c1 |
Definition at line 55 of file field6.hpp.
| base_field bb::field6< base_field, Fq6Params >::c2 |
Definition at line 56 of file field6.hpp.