rev164: Rename GetHeriarchy to GetHierarchy

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2021-02-22 15:22:09 -05:00 committed by Stefan Berger
parent a6765d4dfb
commit c7d9f0d837
3 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@
/* Manage the object store of the TPM. */
/* Written by Ken Goldman */
/* IBM Thomas J. Watson Research Center */
/* $Id: Object.c 1529 2019-11-21 23:29:01Z kgoldman $ */
/* $Id: Object.c 1658 2021-01-22 23:14:01Z kgoldman $ */
/* */
/* Licenses and Notices */
/* */
@ -55,7 +55,7 @@
/* arising in any way out of use or reliance upon this specification or any */
/* information herein. */
/* */
/* (c) Copyright IBM Corp. and others, 2016 - 2019 */
/* (c) Copyright IBM Corp. and others, 2016 - 2021 */
/* */
/********************************************************************************/
@ -241,13 +241,13 @@ ObjectGetHierarchy(
return TPM_RH_NULL;
}
}
/* 8.6.3.11 GetHeriarchy() */
/* 8.6.3.11 GetHierarchy() */
/* This function returns the handle of the hierarchy to which a handle belongs. This function is
similar to ObjectGetHierarchy() but this routine takes a handle while ObjectGetHierarchy() takes
an pointer to an object. */
a pointer to an object. */
/* This function requires that handle references a loaded object. */
TPMI_RH_HIERARCHY
GetHeriarchy(
GetHieriarchy(
TPMI_DH_OBJECT handle // IN :object handle
)
{

View File

@ -3,7 +3,7 @@
/* Functions That Manage the Object Store of the TPM */
/* Written by Ken Goldman */
/* IBM Thomas J. Watson Research Center */
/* $Id: Object_fp.h 1490 2019-07-26 21:13:22Z kgoldman $ */
/* $Id: Object_fp.h 1658 2021-01-22 23:14:01Z kgoldman $ */
/* */
/* Licenses and Notices */
/* */
@ -55,7 +55,7 @@
/* arising in any way out of use or reliance upon this specification or any */
/* information herein. */
/* */
/* (c) Copyright IBM Corp. and others, 2016 - 2019 */
/* (c) Copyright IBM Corp. and others, 2016 - 2021 */
/* */
/********************************************************************************/
@ -105,7 +105,7 @@ ObjectGetHierarchy(
OBJECT *object // IN :object
);
TPMI_RH_HIERARCHY
GetHeriarchy(
GetHieriarchy(
TPMI_DH_OBJECT handle // IN :object handle
);
OBJECT *

View File

@ -81,7 +81,7 @@ TPM2_VerifySignature(
if(result != TPM_RC_SUCCESS)
return RcSafeAddToResult(result, RC_VerifySignature_signature);
// Command Output
hierarchy = GetHeriarchy(in->keyHandle);
hierarchy = GetHieriarchy(in->keyHandle);
if(hierarchy == TPM_RH_NULL
|| signObject->publicArea.nameAlg == TPM_ALG_NULL)
{