blob: 7c72424e0174120c5abe49e8c8b2843a1b30b1a3 [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_COMMANDCODEATTRIBUTES_FP_H
8#define __TPM2_COMMANDCODEATTRIBUTES_FP_H
9
Vadim Bendeburybbd79002015-05-31 14:44:07 -070010TPMI_YES_NO CommandCapGetCCList(
11 TPM_CC commandCode, // IN: start command code
12 UINT32 count, // IN: maximum count for number of entries in
13 // 'commandList'
14 TPML_CCA *commandList // OUT: list of TPMA_CC
15);
Vadim Bendebury258ca732015-05-28 16:35:41 -070016BOOL CommandIsImplemented(
17 TPM_CC commandCode // IN: command code
18 );
Vadim Bendebury6c73a9e2015-05-31 16:06:18 -070019BOOL IsReadOperation(
20 TPM_CC command // IN: Command to check
21 );
22BOOL IsWriteOperation(
23 TPM_CC command // IN: Command to check
24 );
Vadim Bendebury258ca732015-05-28 16:35:41 -070025
26#endif // __TPM2_COMMANDCODEATTRIBUTES_FP_H