diff --git a/crypto3/libs/multiprecision/test/big_mod_randomized.cpp b/crypto3/libs/multiprecision/test/big_mod_randomized.cpp index e8dc6fcb9..5edac3700 100644 --- a/crypto3/libs/multiprecision/test/big_mod_randomized.cpp +++ b/crypto3/libs/multiprecision/test/big_mod_randomized.cpp @@ -143,14 +143,15 @@ BOOST_DATA_TEST_CASE( // This one tests 64-bit numbers used in Goldilock fields. BOOST_DATA_TEST_CASE( - goldilock_montgomery, - (test_dataset>>("goldilock"))) { + goldilocks_montgomery, + (test_dataset>>("goldilocks"))) { base_operations_test(sample); } BOOST_DATA_TEST_CASE( - goldilock, (test_dataset>( - "goldilock"))) { + goldilocks, + (test_dataset>( + "goldilocks"))) { base_operations_test(sample); } diff --git a/crypto3/libs/multiprecision/test/data/big_mod_randomized.json b/crypto3/libs/multiprecision/test/data/big_mod_randomized.json index acbf386d3..bb0061084 100644 --- a/crypto3/libs/multiprecision/test/data/big_mod_randomized.json +++ b/crypto3/libs/multiprecision/test/data/big_mod_randomized.json @@ -4003,7 +4003,7 @@ "a_m_pow_b": "0x212803e8406c4c24a3acfea6165154ecf" } ], - "goldilock": [ + "goldilocks": [ { "a": "0x112d6", "b": "0x2200d2870b", diff --git a/crypto3/libs/multiprecision/test/data/generate_test_data.py b/crypto3/libs/multiprecision/test/data/generate_test_data.py index 4f8a15b84..07b80f0aa 100644 --- a/crypto3/libs/multiprecision/test/data/generate_test_data.py +++ b/crypto3/libs/multiprecision/test/data/generate_test_data.py @@ -119,7 +119,7 @@ def gen_arg(bits, m, rnd): params = [ ["prime_mod_montgomery_130", 0x314107B9EF725F87FA08F9FDADD4F48BB, 130], ["even_mod_130", 0x314107B9EF725F87FA08F9FDADD4F48BA, 130], - ["goldilock", 0xFFFFFFFF00000001, 64], + ["goldilocks", 0xFFFFFFFF00000001, 64], ["even_mod_17", 0x1E240, 17], ["montgomery_17", 0x1E241, 17], ]