#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 {
const unsigned char kSerializedEncryptedMessage[] = …;
static const char kHkdfLabel[] = …;
TEST(MessageEncrypterTest, EncryptedMessageCanBeDecrypted) { … }
TEST(MessageEncrypterTest, DecrypterWorksWithProperKey) { … }
TEST(MessageEncrypterTest, DecrypterFailsWithWrongKey) { … }
}
}