Vadim Bendebury | b86371b | 2015-05-27 18:16:19 -0700 | [diff] [blame] | 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 | |
Vadim Bendebury | 3d5312a | 2015-06-01 18:19:06 -0700 | [diff] [blame] | 10 | TPMI_ALG_HASH EntityGetAuthPolicy( |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 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 | ); |
Vadim Bendebury | b86371b | 2015-05-27 18:16:19 -0700 | [diff] [blame] | 17 | TPMI_RH_HIERARCHY EntityGetHierarchy( |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 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 | ); |
Vadim Bendebury | 54a3d36 | 2015-06-01 15:26:03 -0700 | [diff] [blame] | 26 | |
Vadim Bendebury | f788ffb | 2015-06-05 12:57:27 -0700 | [diff] [blame] | 27 | #endif // __SOURCE_ENTITY_FP_H |