chromium/components/encrypted_messages/message_encrypter_unittest.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/encrypted_messages/message_encrypter.h"

#include <string_view>

#include "components/encrypted_messages/encrypted_message.pb.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/boringssl/src/include/openssl/curve25519.h"

namespace encrypted_messages {

namespace {
// This data should not be changed without also changing the
// corresponding server-side test.
const unsigned char kSerializedEncryptedMessage[] =;

static const char kHkdfLabel[] =;

// This test checks that after encrypting and decrypting, a message matches the
// original.
TEST(MessageEncrypterTest, EncryptedMessageCanBeDecrypted) {}

TEST(MessageEncrypterTest, DecrypterWorksWithProperKey) {}

TEST(MessageEncrypterTest, DecrypterFailsWithWrongKey) {}

}  // namespace
}  // namespace encrypted_messages