diff options
Diffstat (limited to 'test/fp_tower_test.cpp')
-rw-r--r-- | test/fp_tower_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fp_tower_test.cpp b/test/fp_tower_test.cpp index 165f635..4b5ed2d 100644 --- a/test/fp_tower_test.cpp +++ b/test/fp_tower_test.cpp @@ -7,7 +7,7 @@ #include <mcl/fp.hpp> #include <mcl/fp_tower.hpp> -#if MCL_MAX_OP_BIT_SIZE == 768 +#if MCL_MAX_BIT_SIZE == 768 typedef mcl::FpT<mcl::FpTag, 768> Fp; #else typedef mcl::FpT<mcl::FpTag, 256> Fp; @@ -23,7 +23,7 @@ void testFp2() { using namespace mcl; puts(__FUNCTION__); -#if MCL_MAX_OP_BIT_SIZE != 768 +#if MCL_MAX_BIT_SIZE != 768 CYBOZU_TEST_EQUAL(sizeof(Fp), 32); CYBOZU_TEST_EQUAL(sizeof(Fp2), 32 * 2); CYBOZU_TEST_EQUAL(sizeof(Fp6), 32 * 6); @@ -412,7 +412,7 @@ void testAll() "0x7523648240000001ba344d80000000086121000000000013a700000000000017", "0x800000000000000000000000000000000000000000000000000000000000005f", "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff43", // max prime -#if MCL_MAX_OP_BIT_SIZE == 768 +#if MCL_MAX_BIT_SIZE == 768 "776259046150354467574489744231251277628443008558348305569526019013025476343188443165439204414323238975243865348565536603085790022057407195722143637520590569602227488010424952775132642815799222412631499596858234375446423426908029627", #endif }; |