blob: ed5b38fcd762694cf50fe452c3c5c6d7cc2b5eec [file] [log] [blame]
Vadim Bendebury258ca732015-05-28 16:35:41 -07001/*
2 * Copyright 2015 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
5 */
6
7#ifndef __TPM2_COMMANDAUDIT_FP_H
8#define __TPM2_COMMANDAUDIT_FP_H
9
Vadim Bendeburybbd79002015-05-31 14:44:07 -070010TPMI_YES_NO CommandAuditCapGetCCList(
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070011 TPM_CC commandCode, // IN: start command code
12 UINT32 count, // IN: count of returned TPM_CC
13 TPML_CC *commandList // OUT: list of TPM_CC
14 );
15BOOL CommandAuditClear(TPM_CC commandCode // IN: command code
16 );
17void CommandAuditGetDigest(TPM2B_DIGEST *digest // OUT: command digest
18 );
19BOOL CommandAuditIsRequired(TPM_CC commandCode // IN: command code
20 );
21void CommandAuditPreInstall_Init(void);
22BOOL CommandAuditSet(TPM_CC commandCode // IN: command code
23 );
Vadim Bendebury258ca732015-05-28 16:35:41 -070024
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070025#endif // __TPM2_COMMANDAUDIT_FP_H
26void CommandAuditStartup(STARTUP_TYPE type // IN: start up type
27 );