diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2017-06-26 10:18:09 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2017-06-26 10:18:09 +0800 |
commit | 68e2220eeda4b793466b17f666a1bf4ee8173fe1 (patch) | |
tree | 7392abca2eb3a3d0baca39b96775f9ba20044222 /include/mcl/bn.hpp | |
parent | 9532de91a0035bb0a904089ea41378c668a5bd77 (diff) | |
download | dexon-mcl-68e2220eeda4b793466b17f666a1bf4ee8173fe1.tar.gz dexon-mcl-68e2220eeda4b793466b17f666a1bf4ee8173fe1.tar.zst dexon-mcl-68e2220eeda4b793466b17f666a1bf4ee8173fe1.zip |
remove unused variables
Diffstat (limited to 'include/mcl/bn.hpp')
-rw-r--r-- | include/mcl/bn.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/mcl/bn.hpp b/include/mcl/bn.hpp index 4eabd62..ff45922 100644 --- a/include/mcl/bn.hpp +++ b/include/mcl/bn.hpp @@ -436,7 +436,6 @@ struct ParamT { bool isNegative; mpz_class p; mpz_class r; - Fp Z; static const size_t gN = 5; /* g = xi^((p - 1) / 6) @@ -522,11 +521,6 @@ struct ParamT { Fp2::mul(g2[i], t, g[i]); g3[i] = g[i] * g2[i]; } - Fp2 tmp; - Fp2::pow(tmp, xi, (p * p - 1) / 6); - assert(tmp.b.isZero()); - Fp::sqr(Z, tmp.a); - const mpz_class largest_c = abs(6 * z + 2); useNAF = gmp::getNAF(siTbl, largest_c); precomputedQcoeffSize = getPrecomputeQcoeffSize(siTbl); |