#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "crypto/p224_spake.h"
#include <stddef.h>
#include <stdint.h>
#include <string>
#include "base/strings/string_number_conversions.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace crypto {
namespace {
bool RunExchange(P224EncryptedKeyExchange* client,
P224EncryptedKeyExchange* server,
bool is_password_same) { … }
const char kPassword[] = …;
}
TEST(MutualAuth, CorrectAuth) { … }
TEST(MutualAuth, IncorrectPassword) { … }
TEST(MutualAuth, ExpectedValues) { … }
TEST(MutualAuth, Fuzz) { … }
}