aboutsummaryrefslogtreecommitdiffstats
path: root/sample/bls_smpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sample/bls_smpl.cpp')
-rw-r--r--sample/bls_smpl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sample/bls_smpl.cpp b/sample/bls_smpl.cpp
index 5e0c70c..e812cd5 100644
--- a/sample/bls_smpl.cpp
+++ b/sample/bls_smpl.cpp
@@ -1,3 +1,4 @@
+#define MCLBN_FP_UNIT_SIZE 4
#include <bls/bls.hpp>
#include <cybozu/option.hpp>
#include <cybozu/itoa.hpp>
@@ -118,7 +119,7 @@ int recover(const bls::IdVec& ids)
int main(int argc, char *argv[])
try
{
- bls::init();
+ bls::init(); // use BN254
std::string mode;
std::string m;