chromium/components/gcm_driver/crypto/message_payload_parser.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 "components/gcm_driver/crypto/message_payload_parser.h"

#include <string_view>

#include "base/containers/span.h"
#include "base/numerics/byte_conversions.h"
#include "components/gcm_driver/crypto/gcm_decryption_result.h"

namespace gcm {

namespace {

// Size, in bytes, of the salt included in the message header.
constexpr size_t kSaltSize =;

// Size, in bytes, of the uncompressed point included in the message header.
constexpr size_t kUncompressedPointSize =;

// Size, in bytes, of the smallest allowable record_size value.
constexpr size_t kMinimumRecordSize =;

// Size, in bytes, of an empty message with the minimum amount of padding.
constexpr size_t kMinimumMessageSize =;

}  // namespace

MessagePayloadParser::MessagePayloadParser(std::string_view message) {}

MessagePayloadParser::~MessagePayloadParser() = default;

}  // namespace gcm