blob: 6e81d4a912cf36f193a56da6e0dc35c48237231c [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIBHWSEC_FOUNDATION_TPM_ERROR_AUTH_FAILURE_ANALYSIS_H_
#define LIBHWSEC_FOUNDATION_TPM_ERROR_AUTH_FAILURE_ANALYSIS_H_
#include "libhwsec-foundation/hwsec-foundation_export.h"
#include "libhwsec-foundation/tpm_error/tpm_error_data.h"
namespace libhwsec_foundation {
// Tells if the DA counter increases according to `data`; for TPM2.0, it is not
// implemented and always return `false`.
HWSEC_FOUNDATION_EXPORT bool DoesCauseDAIncrease(const TpmErrorData& data);
} // namespace libhwsec_foundation
#endif // LIBHWSEC_FOUNDATION_TPM_ERROR_AUTH_FAILURE_ANALYSIS_H_