#include "components/trusted_vault/trusted_vault_crypto.h"
#include <memory>
#include "base/strings/string_number_conversions.h"
#include "components/trusted_vault/securebox.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace trusted_vault {
namespace {
Eq;
Ne;
const char kEncodedPrivateKey[] = …;
std::unique_ptr<SecureBoxKeyPair> MakeTestKeyPair() { … }
TEST(TrustedVaultCrypto, ShouldHandleDecryptionFailure) { … }
TEST(TrustedVaultCrypto, ShouldEncryptAndDecryptWrappedKey) { … }
TEST(TrustedVaultCrypto, ShouldComputeAndVerifyMemberProof) { … }
TEST(TrustedVaultCrypto, ShouldDetectIncorrectMemberProof) { … }
TEST(TrustedVaultCrypto, ShouldComputeAndVerifyRotationProof) { … }
TEST(TrustedVaultCrypto, ShouldDetectIncorrectRotationProof) { … }
}
}