aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-06-10 13:28:53 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-06-10 13:28:57 +0800
commit5564e669c008ab5984079ad209fbc559c72bdfff (patch)
tree607a459433fdaedb974e36a43dec15948c5bcd57 /src
parent2713e69d8873dc6ff01757818d99012e0533a3cf (diff)
downloadtangerine-mcl-5564e669c008ab5984079ad209fbc559c72bdfff.tar.gz
tangerine-mcl-5564e669c008ab5984079ad209fbc559c72bdfff.tar.zst
tangerine-mcl-5564e669c008ab5984079ad209fbc559c72bdfff.zip
add millerLoop2mixed for C
Diffstat (limited to 'src')
-rw-r--r--src/bn_c_impl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bn_c_impl.hpp b/src/bn_c_impl.hpp
index 292fec5..f88d219 100644
--- a/src/bn_c_impl.hpp
+++ b/src/bn_c_impl.hpp
@@ -451,6 +451,11 @@ void mclBn_precomputedMillerLoop2(mclBnGT *f, const mclBnG1 *P1, const uint64_t
precomputedMillerLoop2(*cast(f), *cast(P1), cast(Q1buf), *cast(P2), cast(Q2buf));
}
+void mclBn_precomputedMillerLoop2mixed(mclBnGT *f, const mclBnG1 *P1, const mclBnG2 *Q1, const mclBnG1 *P2, const uint64_t *Q2buf)
+{
+ precomputedMillerLoop2mixed(*cast(f), *cast(P1), *cast(Q1), *cast(P2), cast(Q2buf));
+}
+
int mclBn_FrLagrangeInterpolation(mclBnFr *out, const mclBnFr *xVec, const mclBnFr *yVec, mclSize k)
{
bool b;