blob: 76856eab10882a1538ffb6910995a184b3d59bf9 [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(
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070011 TPMI_DH_ENTITY handle, // IN: handle of entity
12 TPM2B_DIGEST *authPolicy // OUT: authPolicy of the entity
13 );
14UINT16 EntityGetAuthValue(TPMI_DH_ENTITY handle, // IN: handle of entity
15 AUTH_VALUE *auth // OUT: authValue of the entity
16 );
Vadim Bendeburyb86371b2015-05-27 18:16:19 -070017TPMI_RH_HIERARCHY EntityGetHierarchy(
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070018 TPMI_DH_ENTITY handle // IN :handle of entity
19 );
20TPM_RC EntityGetLoadStatus(TPM_HANDLE *handle, // IN/OUT: handle of the entity
21 TPM_CC commandCode // IN: the commmandCode
22 );
23UINT16 EntityGetName(TPMI_DH_ENTITY handle, // IN: handle of entity
24 NAME *name // OUT: name of entity
25 );
Vadim Bendebury54a3d362015-06-01 15:26:03 -070026
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070027#endif // __SOURCE_ENTITY_FP_H