aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-12-02 21:30:17 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-12-02 21:30:17 +0800
commitafbcbeaaf3b5f9962af382d668ae5bcad337f661 (patch)
treede1665f1839d51776112ab5ca1d569b290ea224d
parent25467fdfd9950a6a239e7893f262e75ed7584e0f (diff)
downloaddexon-bls-afbcbeaaf3b5f9962af382d668ae5bcad337f661.tar
dexon-bls-afbcbeaaf3b5f9962af382d668ae5bcad337f661.tar.gz
dexon-bls-afbcbeaaf3b5f9962af382d668ae5bcad337f661.tar.bz2
dexon-bls-afbcbeaaf3b5f9962af382d668ae5bcad337f661.tar.lz
dexon-bls-afbcbeaaf3b5f9962af382d668ae5bcad337f661.tar.xz
dexon-bls-afbcbeaaf3b5f9962af382d668ae5bcad337f661.tar.zst
dexon-bls-afbcbeaaf3b5f9962af382d668ae5bcad337f661.zip
add bls384_256_test
-rw-r--r--Makefile2
-rw-r--r--test/bls384_256_test.cpp4
2 files changed, 5 insertions, 1 deletions
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"
+