diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2018-06-10 14:03:09 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2018-06-10 14:03:09 +0800 |
commit | fbfad9f4f859685e9a40a8e1deeb6a54558a01b9 (patch) | |
tree | a0049d98d04af05252deac9be7c491f4974ebf2c | |
parent | cadc408f014eb85766c2b3b18c5641c5ae48bb8f (diff) | |
download | tangerine-mcl-fbfad9f4f859685e9a40a8e1deeb6a54558a01b9.tar.gz tangerine-mcl-fbfad9f4f859685e9a40a8e1deeb6a54558a01b9.tar.zst tangerine-mcl-fbfad9f4f859685e9a40a8e1deeb6a54558a01b9.zip |
remove some unused functions
-rw-r--r-- | include/mcl/bn.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/mcl/bn.hpp b/include/mcl/bn.hpp index 5aaca5f..e3758e5 100644 --- a/include/mcl/bn.hpp +++ b/include/mcl/bn.hpp @@ -1788,10 +1788,6 @@ inline void precomputedMillerLoop(Fp12& f, const G1& P, const std::vector<Fp6>& precomputedMillerLoop(f, P, Qcoeff.data()); } #endif -inline void precomputedMillerLoop(Fp12& f, const G1& P, const mcl::Array<Fp6>& Qcoeff) -{ - precomputedMillerLoop(f, P, Qcoeff.data()); -} /* f = MillerLoop(P1, Q1) x MillerLoop(P2, Q2) Q2coeff : precomputed Q2 @@ -1933,10 +1929,6 @@ inline void precomputedMillerLoop2mixed(Fp12& f, const G1& P1, const G2& Q1, con precomputedMillerLoop2mixed(f, P1, Q1, P2, Q2coeff.data()); } #endif -inline void precomputedMillerLoop2(Fp12& f, const G1& P1, const mcl::Array<Fp6>& Q1coeff, const G1& P2, const mcl::Array<Fp6>& Q2coeff) -{ - precomputedMillerLoop2(f, P1, Q1coeff.data(), P2, Q2coeff.data()); -} inline void mapToG1(bool *pb, G1& P, const Fp& x) { *pb = BN::param.mapTo.calcG1(P, x); } inline void mapToG2(bool *pb, G2& P, const Fp2& x) { *pb = BN::param.mapTo.calcG2(P, x); } #ifndef CYBOZU_DONT_USE_EXCEPTION |