From ad1399700e08be3f8fd8f522252ccd17df289e27 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sat, 24 Jun 2017 07:21:02 +0900 Subject: customize MCL_MAX_BIT_SIZE --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 32b3936..c0378f4 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,9 @@ ifeq ($(UNIT),6) CFLAGS+=-D"MCLBN_FP_UNIT_SIZE=6" GO_TAG=bn384 endif +ifneq ($(MCL_MAX_BIT_SIZE),) + CFLAGS+=-DMCL_MAX_BIT_SIZE=$(MCL_MAX_BIT_SIZE) +endif sample_test: $(EXE_DIR)/bls_smpl.exe python bls_smpl.py -- cgit v1.2.3