chromium/net/third_party/quiche/src/quiche/quic/core/crypto/aead_base_decrypter.cc

// 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/aead_base_decrypter.h"

#include <cstdint>
#include <string>

#include "absl/base/macros.h"
#include "absl/strings/string_view.h"
#include "openssl/crypto.h"
#include "openssl/err.h"
#include "openssl/evp.h"
#include "quiche/quic/core/quic_utils.h"
#include "quiche/quic/platform/api/quic_bug_tracker.h"
#include "quiche/quic/platform/api/quic_logging.h"
#include "quiche/common/quiche_crypto_logging.h"

namespace quic {
ClearOpenSslErrors;
DLogOpenSslErrors;
namespace {

const EVP_AEAD* InitAndCall(const EVP_AEAD* (*aead_getter)()) {}

}  // namespace

AeadBaseDecrypter::AeadBaseDecrypter(const EVP_AEAD* (*aead_getter)(),
                                     size_t key_size, size_t auth_tag_size,
                                     size_t nonce_size,
                                     bool use_ietf_nonce_construction)
    :{}

AeadBaseDecrypter::~AeadBaseDecrypter() {}

bool AeadBaseDecrypter::SetKey(absl::string_view key) {}

bool AeadBaseDecrypter::SetNoncePrefix(absl::string_view nonce_prefix) {}

bool AeadBaseDecrypter::SetIV(absl::string_view iv) {}

bool AeadBaseDecrypter::SetPreliminaryKey(absl::string_view key) {}

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

bool AeadBaseDecrypter::DecryptPacket(uint64_t packet_number,
                                      absl::string_view associated_data,
                                      absl::string_view ciphertext,
                                      char* output, size_t* output_length,
                                      size_t max_output_length) {}

size_t AeadBaseDecrypter::GetKeySize() const {}

size_t AeadBaseDecrypter::GetNoncePrefixSize() const {}

size_t AeadBaseDecrypter::GetIVSize() const {}

absl::string_view AeadBaseDecrypter::GetKey() const {}

absl::string_view AeadBaseDecrypter::GetNoncePrefix() const {}

}  // namespace quic