Vadim Bendebury | 258ca73 | 2015-05-28 16:35:41 -0700 | [diff] [blame] | 1 | /* |
| 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 Bendebury | bbd7900 | 2015-05-31 14:44:07 -0700 | [diff] [blame] | 10 | TPMI_YES_NO CommandAuditCapGetCCList( |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 11 | 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 | ); |
| 15 | BOOL CommandAuditClear(TPM_CC commandCode // IN: command code |
| 16 | ); |
| 17 | void CommandAuditGetDigest(TPM2B_DIGEST *digest // OUT: command digest |
| 18 | ); |
| 19 | BOOL CommandAuditIsRequired(TPM_CC commandCode // IN: command code |
| 20 | ); |
| 21 | void CommandAuditPreInstall_Init(void); |
| 22 | BOOL CommandAuditSet(TPM_CC commandCode // IN: command code |
| 23 | ); |
Vadim Bendebury | 258ca73 | 2015-05-28 16:35:41 -0700 | [diff] [blame] | 24 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 25 | #endif // __TPM2_COMMANDAUDIT_FP_H |
| 26 | void CommandAuditStartup(STARTUP_TYPE type // IN: start up type |
| 27 | ); |