#include <mnt6_pairing.hpp>
Definition at line 98 of file mnt6_pairing.hpp.
◆ operator==()
Definition at line 100 of file mnt6_pairing.cpp.
103 this->
QX == other.QX && this->QY == other.QY &&
104 this->QY2 == other.QY2 && this->QX_over_twist == other.QX_over_twist &&
105 this->QY_over_twist == other.QY_over_twist &&
106 this->dbl_coeffs == other.dbl_coeffs &&
107 this->add_coeffs == other.add_coeffs);
◆ operator<<
Definition at line 110 of file mnt6_pairing.cpp.
115 out << prec_Q.dbl_coeffs.size() <<
"\n";
116 for (
const mnt6_ate_dbl_coeffs &dc : prec_Q.dbl_coeffs) {
119 out << prec_Q.add_coeffs.size() <<
"\n";
120 for (
const mnt6_ate_add_coeffs &ac : prec_Q.add_coeffs) {
◆ operator>>
Definition at line 127 of file mnt6_pairing.cpp.
135 in >> prec_Q.QX_over_twist;
137 in >> prec_Q.QY_over_twist;
140 prec_Q.dbl_coeffs.clear();
145 prec_Q.dbl_coeffs.reserve(dbl_s);
147 for (
size_t i = 0; i < dbl_s; ++i) {
148 mnt6_ate_dbl_coeffs dc;
151 prec_Q.dbl_coeffs.emplace_back(dc);
154 prec_Q.add_coeffs.clear();
159 prec_Q.add_coeffs.reserve(add_s);
161 for (
size_t i = 0; i < add_s; ++i) {
162 mnt6_ate_add_coeffs ac;
165 prec_Q.add_coeffs.emplace_back(ac);
◆ add_coeffs
◆ dbl_coeffs
◆ QX
◆ QX_over_twist
mnt6_Fq3 libff::mnt6_ate_G2_precomp::QX_over_twist |
◆ QY
◆ QY2
mnt6_Fq3 libff::mnt6_ate_G2_precomp::QY2 |
◆ QY_over_twist
mnt6_Fq3 libff::mnt6_ate_G2_precomp::QY_over_twist |
The documentation for this struct was generated from the following files: