blob: 469d0d7f0276f8d785dc33f2b3debdc44fff61d0 [file] [log] [blame]
Vadim Bendebury3743ac12015-05-29 22:44:14 -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_HIERARCHY_FP_H
8#define __TPM2_HIERARCHY_FP_H
9
10TPM2B_SEED *HierarchyGetPrimarySeed(
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070011 TPMI_RH_HIERARCHY hierarchy // IN: hierarchy
12 );
Vadim Bendebury3743ac12015-05-29 22:44:14 -070013TPM2B_AUTH *HierarchyGetProof(
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070014 TPMI_RH_HIERARCHY hierarchy // IN: hierarchy constant
15 );
16BOOL HierarchyIsEnabled(TPMI_RH_HIERARCHY hierarchy // IN: hierarchy
Vadim Bendebury3743ac12015-05-29 22:44:14 -070017 );
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070018void HierarchyPreInstall_Init(void);
19void HierarchyStartup(STARTUP_TYPE type // IN: start up type
20 );
Vadim Bendebury523b0eb2015-06-01 18:53:59 -070021
Vadim Bendeburyf788ffb2015-06-05 12:57:27 -070022#endif // __TPM2_HIERARCHY_FP_H