From acf1c832c65429be7f07d8bae5ce91978f78e75f Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Sun, 4 Jun 2017 09:34:43 +0900 Subject: use MBN_.. instead of BLS_ --- test/bls_c384_test.cpp | 4 ++-- test/bls_test.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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 -- cgit v1.2.3