aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2016-08-30 05:18:31 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2016-08-30 05:18:31 +0800
commit85ccb843bd20ca11c8bb0f3582e420698acc04ee (patch)
tree115791ddd44a65a4947ae485d74fbf0a3bf74a53
parentbde5246422c01f5ecc231555909dc9c16ef00fe2 (diff)
downloaddexon-bls-85ccb843bd20ca11c8bb0f3582e420698acc04ee.tar
dexon-bls-85ccb843bd20ca11c8bb0f3582e420698acc04ee.tar.gz
dexon-bls-85ccb843bd20ca11c8bb0f3582e420698acc04ee.tar.bz2
dexon-bls-85ccb843bd20ca11c8bb0f3582e420698acc04ee.tar.lz
dexon-bls-85ccb843bd20ca11c8bb0f3582e420698acc04ee.tar.xz
dexon-bls-85ccb843bd20ca11c8bb0f3582e420698acc04ee.tar.zst
dexon-bls-85ccb843bd20ca11c8bb0f3582e420698acc04ee.zip
use heximal string for io
-rw-r--r--src/bls.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bls.cpp b/src/bls.cpp
index 1d0a791..30241e8 100644
--- a/src/bls.cpp
+++ b/src/bls.cpp
@@ -40,6 +40,7 @@ void init()
G1::setCompressedExpression();
G2::setCompressedExpression();
Fr::init(BN::param.r);
+ mcl::setIoMode(mcl::IoHeximal);
}
static const G2& getQ()