chromium/net/quic/mock_decrypter.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/quic/mock_decrypter.h"

#include <limits>

#include "net/third_party/quiche/src/quiche/quic/core/quic_utils.h"
#include "net/third_party/quiche/src/quiche/quic/platform/api/quic_bug_tracker.h"

DiversificationNonce;
Perspective;
QuicPacketNumber;

namespace net {

namespace {

const size_t kPaddingSize =;

}  // namespace

MockDecrypter::MockDecrypter(Perspective perspective) {}

bool MockDecrypter::SetKey(std::string_view key) {}

bool MockDecrypter::SetNoncePrefix(std::string_view nonce_prefix) {}

bool MockDecrypter::SetIV(std::string_view iv) {}

bool MockDecrypter::SetHeaderProtectionKey(std::string_view key) {}

size_t MockDecrypter::GetKeySize() const {}

size_t MockDecrypter::GetIVSize() const {}

size_t MockDecrypter::GetNoncePrefixSize() const {}

bool MockDecrypter::SetPreliminaryKey(std::string_view key) {}

bool MockDecrypter::SetDiversificationNonce(const DiversificationNonce& nonce) {}

bool MockDecrypter::DecryptPacket(uint64_t /*packet_number*/,
                                  std::string_view associated_data,
                                  std::string_view ciphertext,
                                  char* output,
                                  size_t* output_length,
                                  size_t max_output_length) {}

std::string MockDecrypter::GenerateHeaderProtectionMask(
    quic::QuicDataReader* sample_reader) {}

uint32_t MockDecrypter::cipher_id() const {}

quic::QuicPacketCount MockDecrypter::GetIntegrityLimit() const {}

std::string_view MockDecrypter::GetKey() const {}

std::string_view MockDecrypter::GetNoncePrefix() const {}

}  // namespace net