#include <mnt4_pairing.hpp>
Definition at line 98 of file mnt4_pairing.hpp.
◆ operator==()
Definition at line 99 of file mnt4_pairing.cpp.
102 this->
QX == other.QX && this->QY == other.QY &&
103 this->QY2 == other.QY2 && this->QX_over_twist == other.QX_over_twist &&
104 this->QY_over_twist == other.QY_over_twist &&
105 this->dbl_coeffs == other.dbl_coeffs &&
106 this->add_coeffs == other.add_coeffs);
◆ operator<<
Definition at line 109 of file mnt4_pairing.cpp.
114 out << prec_Q.dbl_coeffs.size() <<
"\n";
115 for (
const mnt4_ate_dbl_coeffs &dc : prec_Q.dbl_coeffs) {
118 out << prec_Q.add_coeffs.size() <<
"\n";
119 for (
const mnt4_ate_add_coeffs &ac : prec_Q.add_coeffs) {
◆ operator>>
Definition at line 126 of file mnt4_pairing.cpp.
134 in >> prec_Q.QX_over_twist;
136 in >> prec_Q.QY_over_twist;
139 prec_Q.dbl_coeffs.clear();
144 prec_Q.dbl_coeffs.reserve(dbl_s);
146 for (
size_t i = 0; i < dbl_s; ++i) {
147 mnt4_ate_dbl_coeffs dc;
150 prec_Q.dbl_coeffs.emplace_back(dc);
153 prec_Q.add_coeffs.clear();
158 prec_Q.add_coeffs.reserve(add_s);
160 for (
size_t i = 0; i < add_s; ++i) {
161 mnt4_ate_add_coeffs ac;
164 prec_Q.add_coeffs.emplace_back(ac);
◆ add_coeffs
◆ dbl_coeffs
◆ QX
◆ QX_over_twist
mnt4_Fq2 libff::mnt4_ate_G2_precomp::QX_over_twist |
◆ QY
◆ QY2
mnt4_Fq2 libff::mnt4_ate_G2_precomp::QY2 |
◆ QY_over_twist
mnt4_Fq2 libff::mnt4_ate_G2_precomp::QY_over_twist |
The documentation for this struct was generated from the following files: