blob: f55fe677ed66890c69093acf29f5ff13a0284d08 [file] [edit]
// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef RMAD_SYSTEM_TPM_MANAGER_CLIENT_H_
#define RMAD_SYSTEM_TPM_MANAGER_CLIENT_H_
#include "rmad/proto_bindings/rmad.pb.h"
namespace rmad {
enum class GscVersion {
GSC_VERSION_NOT_GSC = 0,
GSC_VERSION_CR50 = 1,
GSC_VERSION_TI50 = 2,
};
class TpmManagerClient {
public:
TpmManagerClient() = default;
virtual ~TpmManagerClient() = default;
virtual bool GetRoVerificationStatus(
RoVerificationStatus* ro_verification_status) = 0;
virtual bool GetGscVersion(GscVersion* gsc_version) = 0;
};
} // namespace rmad
#endif // RMAD_SYSTEM_TPM_MANAGER_CLIENT_H_