#include "quiche/oblivious_http/oblivious_http_gateway.h"
#include <stdint.h>
#include <string>
#include <utility>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/escaping.h"
#include "absl/strings/string_view.h"
#include "quiche/common/platform/api/quiche_test.h"
#include "quiche/common/platform/api/quiche_thread.h"
#include "quiche/common/quiche_random.h"
#include "quiche/oblivious_http/buffers/oblivious_http_request.h"
namespace quiche {
namespace {
std::string GetHpkePrivateKey() { … }
std::string GetHpkePublicKey() { … }
const ObliviousHttpHeaderKeyConfig GetOhttpKeyConfig(uint8_t key_id,
uint16_t kem_id,
uint16_t kdf_id,
uint16_t aead_id) { … }
TEST(ObliviousHttpGateway, TestProvisioningKeyAndDecapsulate) { … }
TEST(ObliviousHttpGateway, TestDecryptingMultipleRequestsWithSingleInstance) { … }
TEST(ObliviousHttpGateway, TestInvalidHPKEKey) { … }
TEST(ObliviousHttpGateway, TestObliviousResponseHandling) { … }
TEST(ObliviousHttpGateway,
TestHandlingMultipleResponsesForMultipleRequestsWithSingleInstance) { … }
TEST(ObliviousHttpGateway, TestWithMultipleThreads) { … }
}
}