diff --git a/montgomery_test.cc b/montgomery_test.cc index 97444fc6c15c2..d5078fdcc86df 100644 --- a/montgomery_test.cc +++ b/montgomery_test.cc @@ -59,12 +59,6 @@ absl::uint128 GenerateRandom(unsigned int* seed) { Uint64 lo = GenerateRandom(seed); return absl::MakeUint128(hi, lo); } -template <> -uint256 GenerateRandom(unsigned int* seed) { - absl::uint128 hi = GenerateRandom(seed); - absl::uint128 lo = GenerateRandom(seed); - return uint256(hi, lo); -} template class EXPORT_TEMPLATE_DECLARE(SHELL_ENCRYPTION_EXPORT) MontgomeryTest : public ::testing::Test {}; @@ -728,7 +722,6 @@ TYPED_TEST(MontgomeryTest, ImportRandomWithPrngWithDifferentKeys) { // Verifies that Barrett reductions functions properly. TYPED_TEST(MontgomeryTest, VerifyBarrett) { using Int = typename TypeParam::Int; - using BigInt = typename internal::BigInt::value_type; for (const auto& params : rlwe::testing::ContextParameters::Value()) {