blob: a180461e1766a23b69bd540e537665b322b3d3b9 [file] [log] [blame]
Vadim Bendeburyb86371b2015-05-27 18:16:19 -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 __SOURCE_ENTITY_FP_H
8#define __SOURCE_ENTITY_FP_H
9
Vadim Bendebury3d5312a2015-06-01 18:19:06 -070010TPMI_ALG_HASH EntityGetAuthPolicy(
11 TPMI_DH_ENTITY handle, // IN: handle of entity
12 TPM2B_DIGEST *authPolicy // OUT: authPolicy of the entity
13 );
Vadim Bendebury1bb3d5f2015-06-01 18:07:11 -070014UINT16 EntityGetAuthValue(
15 TPMI_DH_ENTITY handle, // IN: handle of entity
16 AUTH_VALUE *auth // OUT: authValue of the entity
17 );
Vadim Bendeburyb86371b2015-05-27 18:16:19 -070018TPMI_RH_HIERARCHY EntityGetHierarchy(
19 TPMI_DH_ENTITY handle // IN :handle of entity
20);
Vadim Bendeburyda725062015-05-31 14:41:18 -070021TPM_RC EntityGetLoadStatus(
22 TPM_HANDLE *handle, // IN/OUT: handle of the entity
23 TPM_CC commandCode // IN: the commmandCode
24 );
Vadim Bendebury54a3d362015-06-01 15:26:03 -070025UINT16 EntityGetName(
26 TPMI_DH_ENTITY handle, // IN: handle of entity
27 NAME *name // OUT: name of entity
28 );
29
30#endif // __SOURCE_ENTITY_FP_H