diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/bls_c384_test.cpp | 4 | ||||
-rw-r--r-- | test/bls_test.cpp | 2 |
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 |