aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-05-16 13:48:43 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-05-16 13:48:43 +0800
commite280cc5443a8c9e404b10ca7dc1da51d5c251387 (patch)
tree660449748b5d1914b38abc7a5b811dab8680a073
parentabedc0b31fa76a8b4b94d721ff4c547adec26201 (diff)
downloadtangerine-mcl-e280cc5443a8c9e404b10ca7dc1da51d5c251387.tar.gz
tangerine-mcl-e280cc5443a8c9e404b10ca7dc1da51d5c251387.tar.zst
tangerine-mcl-e280cc5443a8c9e404b10ca7dc1da51d5c251387.zip
use mcl::bn
-rw-r--r--src/bn_c_impl.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bn_c_impl.hpp b/src/bn_c_impl.hpp
index 0dafaaa..10fa72a 100644
--- a/src/bn_c_impl.hpp
+++ b/src/bn_c_impl.hpp
@@ -3,15 +3,13 @@
#if MCLBN_FP_UNIT_SIZE == 4
#include <mcl/bn256.hpp>
-using namespace mcl::bn256;
#elif MCLBN_FP_UNIT_SIZE == 6
#include <mcl/bn384.hpp>
-using namespace mcl::bn384;
#elif MCLBN_FP_UNIT_SIZE == 8
#include <mcl/bn512.hpp>
-using namespace mcl::bn512;
#endif
#include <mcl/lagrange.hpp>
+using namespace mcl::bn;
static Fr *cast(mclBnFr *p) { return reinterpret_cast<Fr*>(p); }
static const Fr *cast(const mclBnFr *p) { return reinterpret_cast<const Fr*>(p); }