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 __SOURCE_ENTITY_FP_H 8 #define __SOURCE_ENTITY_FP_H 9 10 TPMI_ALG_HASH EntityGetAuthPolicy( 11 TPMI_DH_ENTITY handle, // IN: handle of entity 12 TPM2B_DIGEST *authPolicy // OUT: authPolicy of the entity 13 ); 14 UINT16 EntityGetAuthValue(TPMI_DH_ENTITY handle, // IN: handle of entity 15 AUTH_VALUE *auth // OUT: authValue of the entity 16 ); 17 TPMI_RH_HIERARCHY EntityGetHierarchy( 18 TPMI_DH_ENTITY handle // IN :handle of entity 19 ); 20 TPM_RC EntityGetLoadStatus(TPM_HANDLE *handle, // IN/OUT: handle of the entity 21 TPM_CC commandCode // IN: the commmandCode 22 ); 23 UINT16 EntityGetName(TPMI_DH_ENTITY handle, // IN: handle of entity 24 NAME *name // OUT: name of entity 25 ); 26 27 #endif // __SOURCE_ENTITY_FP_H 28