// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "quiche/quic/core/crypto/crypto_secret_boxer.h" #include <string> #include "absl/strings/string_view.h" #include "quiche/quic/core/crypto/quic_random.h" #include "quiche/quic/platform/api/quic_test.h" namespace quic { namespace test { class CryptoSecretBoxerTest : public QuicTest { … }; TEST_F(CryptoSecretBoxerTest, BoxAndUnbox) { … } // Helper function to test whether one boxer can decode the output of another. static bool CanDecode(const CryptoSecretBoxer& decoder, const CryptoSecretBoxer& encoder) { … } TEST_F(CryptoSecretBoxerTest, MultipleKeys) { … } } // namespace test } // namespace quic