diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/bls_c384_test.cpp | 6 | ||||
-rw-r--r-- | test/bls_test.cpp | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/test/bls_c384_test.cpp b/test/bls_c384_test.cpp index 8405926..8c3761f 100644 --- a/test/bls_c384_test.cpp +++ b/test/bls_c384_test.cpp @@ -65,10 +65,10 @@ void blsOrderTest(const char *curveOrder, const char *fieldOrder) CYBOZU_TEST_AUTO(all) { const int tbl[] = { - blsCurveFp254BNb, + mclBn_CurveFp254BNb, #if MCLBN_FP_UNIT_SIZE == 6 - blsCurveFp382_1, - blsCurveFp382_2 + mclBn_CurveFp382_1, + mclBn_CurveFp382_2 #endif }; const char *curveOrderTbl[] = { diff --git a/test/bls_test.cpp b/test/bls_test.cpp index 7c587d6..ebd3d6c 100644 --- a/test/bls_test.cpp +++ b/test/bls_test.cpp @@ -66,7 +66,7 @@ void SecretKeyTestBN256() CYBOZU_TEST_AUTO(bn256) { - bls::init(bls::CurveFp254BNb); + bls::init(mclBn_CurveFp254BNb); IdTestBN256(); SecretKeyTestBN256(); CYBOZU_TEST_EQUAL(bls::getOpUnitSize(), 4); @@ -402,10 +402,10 @@ CYBOZU_TEST_AUTO(all) int type; const char *name; } tbl[] = { - { bls::CurveFp254BNb, "Fp254" }, + { mclBn_CurveFp254BNb, "Fp254" }, #if MCLBN_FP_UNIT_SIZE == 6 - { bls::CurveFp382_1, "Fp382_1" }, - { bls::CurveFp382_2, "Fp382_2" }, + { mclBn_CurveFp382_1, "Fp382_1" }, + { mclBn_CurveFp382_2, "Fp382_2" }, #endif }; for (size_t i = 0; i < CYBOZU_NUM_OF_ARRAY(tbl); i++) { |