From afbcbeaaf3b5f9962af382d668ae5bcad337f661 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sun, 2 Dec 2018 22:30:17 +0900 Subject: add bls384_256_test --- Makefile | 2 +- test/bls384_256_test.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 test/bls384_256_test.cpp diff --git a/Makefile b/Makefile index d71aa05..f53f7b5 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ CFLAGS += -std=c++11 LDFLAGS += -lpthread SRC_SRC=bls_c256.cpp bls_c384.cpp bls_c384_256.cpp -TEST_SRC=bls256_test.cpp bls384_test.cpp bls_c256_test.cpp bls_c384_test.cpp bls_c384_256_test.cpp +TEST_SRC=bls256_test.cpp bls384_test.cpp bls384_256_test.cpp bls_c256_test.cpp bls_c384_test.cpp bls_c384_256_test.cpp SAMPLE_SRC=bls256_smpl.cpp bls384_smpl.cpp CFLAGS+=-I$(MCL_DIR)/include -I./ diff --git a/test/bls384_256_test.cpp b/test/bls384_256_test.cpp new file mode 100644 index 0000000..ea81265 --- /dev/null +++ b/test/bls384_256_test.cpp @@ -0,0 +1,4 @@ +#define MCLBN_FP_UNIT_SIZE 6 +#define MCLBN_FR_UNIT_SIZE 4 +#include "bls_test.hpp" + -- cgit v1.2.3