mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-10 06:55:49 +00:00
rev164: Rename GetHeriarchy to GetHierarchy
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
a6765d4dfb
commit
c7d9f0d837
@ -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
|
||||
)
|
||||
{
|
||||
|
||||
@ -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 *
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user