Home | History | Annotate | Download | only in tpm2
      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 
     10 TPMI_YES_NO CommandAuditCapGetCCList(
     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                      );
     24 
     25 #endif                                      // __TPM2_COMMANDAUDIT_FP_H
     26 void CommandAuditStartup(STARTUP_TYPE type  // IN: start up type
     27                          );
     28