aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2017-06-04 08:34:43 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2017-06-04 08:34:43 +0800
commitacf1c832c65429be7f07d8bae5ce91978f78e75f (patch)
treebf47fed054a78659281a88fd603c9810550ae1a0 /test
parent5a38c2e8c9a27555229e9cd61455caf1aa3d8907 (diff)
downloaddexon-bls-acf1c832c65429be7f07d8bae5ce91978f78e75f.tar
dexon-bls-acf1c832c65429be7f07d8bae5ce91978f78e75f.tar.gz
dexon-bls-acf1c832c65429be7f07d8bae5ce91978f78e75f.tar.bz2
dexon-bls-acf1c832c65429be7f07d8bae5ce91978f78e75f.tar.lz
dexon-bls-acf1c832c65429be7f07d8bae5ce91978f78e75f.tar.xz
dexon-bls-acf1c832c65429be7f07d8bae5ce91978f78e75f.tar.zst
dexon-bls-acf1c832c65429be7f07d8bae5ce91978f78e75f.zip
use MBN_.. instead of BLS_
Diffstat (limited to 'test')
-rw-r--r--test/bls_c384_test.cpp4
-rw-r--r--test/bls_test.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/bls_c384_test.cpp b/test/bls_c384_test.cpp
index 0b30e69..40aa3a3 100644
--- a/test/bls_c384_test.cpp
+++ b/test/bls_c384_test.cpp
@@ -66,7 +66,7 @@ CYBOZU_TEST_AUTO(all)
{
const int tbl[] = {
blsCurveFp254BNb,
-#if BLS_FP_UNIT_SIZE == 6
+#if MBN_FP_UNIT_SIZE == 6
blsCurveFp382_1,
blsCurveFp382_2
#endif
@@ -83,7 +83,7 @@ CYBOZU_TEST_AUTO(all)
};
for (size_t i = 0; i < sizeof(tbl) / sizeof(tbl[0]); i++) {
printf("i=%d\n", (int)i);
- blsInit(tbl[i], BLS_FP_UNIT_SIZE);
+ blsInit(tbl[i], MBN_FP_UNIT_SIZE);
bls_use_stackTest();
blsDataTest();
blsOrderTest(curveOrderTbl[i], fieldOrderTbl[i]);
diff --git a/test/bls_test.cpp b/test/bls_test.cpp
index 2eedd3d..22d6bf0 100644
--- a/test/bls_test.cpp
+++ b/test/bls_test.cpp
@@ -403,7 +403,7 @@ CYBOZU_TEST_AUTO(all)
const char *name;
} tbl[] = {
{ bls::CurveFp254BNb, "Fp254" },
-#if BLS_FP_UNIT_SIZE == 6
+#if MBN_FP_UNIT_SIZE == 6
{ bls::CurveFp382_1, "Fp382_1" },
{ bls::CurveFp382_2, "Fp382_2" },
#endif