aboutsummaryrefslogtreecommitdiffstats
path: root/test/bls_c_test.hpp
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-10-23 09:09:46 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-10-23 09:09:46 +0800
commit8ec3e3025785998b38dc7d3516471951ab558550 (patch)
tree6bd3fb5a82823e52cb9a3af60e2f26082fd72de2 /test/bls_c_test.hpp
parentc4ba9961024a76f7357b9ab19344c5e776245d84 (diff)
downloaddexon-bls-8ec3e3025785998b38dc7d3516471951ab558550.tar
dexon-bls-8ec3e3025785998b38dc7d3516471951ab558550.tar.gz
dexon-bls-8ec3e3025785998b38dc7d3516471951ab558550.tar.bz2
dexon-bls-8ec3e3025785998b38dc7d3516471951ab558550.tar.lz
dexon-bls-8ec3e3025785998b38dc7d3516471951ab558550.tar.xz
dexon-bls-8ec3e3025785998b38dc7d3516471951ab558550.tar.zst
dexon-bls-8ec3e3025785998b38dc7d3516471951ab558550.zip
add bls384_256 and test it
Diffstat (limited to 'test/bls_c_test.hpp')
-rw-r--r--test/bls_c_test.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/bls_c_test.hpp b/test/bls_c_test.hpp
index 4991d36..1e11b88 100644
--- a/test/bls_c_test.hpp
+++ b/test/bls_c_test.hpp
@@ -309,8 +309,10 @@ CYBOZU_TEST_AUTO(all)
{
const int tbl[] = {
MCL_BN254,
-#if MCLBN_FP_UNIT_SIZE == 6
+#if MCLBN_FP_UNIT_SIZE == 6 && MCLBN_FR_UNIT_SIZE == 6
MCL_BN381_1,
+#endif
+#if MCLBN_FR_UNIT_SIZE == 6 && MCLBN_FP_UNIT_SIZE == 4
MCL_BLS12_381,
#endif
};