aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-02-13 05:22:45 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-02-13 05:22:45 +0800
commit737794a4889057e3c0027b0cbb12335a35734584 (patch)
tree13d0782e116a96818a893383cd975114ed511b22
parente3531be9841d981cf43996eea8f4bac71c8e7aec (diff)
downloaddexon-mcl-737794a4889057e3c0027b0cbb12335a35734584.tar.gz
dexon-mcl-737794a4889057e3c0027b0cbb12335a35734584.tar.zst
dexon-mcl-737794a4889057e3c0027b0cbb12335a35734584.zip
fix typo
-rw-r--r--sample/pairing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/pairing.cpp b/sample/pairing.cpp
index 51d3ca8..9db375c 100644
--- a/sample/pairing.cpp
+++ b/sample/pairing.cpp
@@ -17,7 +17,7 @@ void minimum_sample(const G1& P, const G2& Q)
G1 bP;
G2::mul(aQ, Q, a);
G1::mul(bP, P, b);
- BN::pairing(e2, aP, aQ);
+ BN::pairing(e2, bP, aQ);
Fp12::pow(e1, e1, a * b);
printf("%s\n", e1 == e2 ? "ok" : "ng");
}