TianoCore EDK2 master
|
#include <IndustryStandard/UefiTcgPlatform.h>
#include <Library/Tpm2CommandLib.h>
#include <Library/Tpm2DeviceLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
Go to the source code of this file.
Data Structures | |
struct | TPM2_READ_PUBLIC_COMMAND |
struct | TPM2_READ_PUBLIC_RESPONSE |
Functions | |
EFI_STATUS EFIAPI | Tpm2ReadPublic (IN TPMI_DH_OBJECT ObjectHandle, OUT TPM2B_PUBLIC *OutPublic, OUT TPM2B_NAME *Name, OUT TPM2B_NAME *QualifiedName) |
Implement TPM2 Object related command.
Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Tpm2Object.c.
EFI_STATUS EFIAPI Tpm2ReadPublic | ( | IN TPMI_DH_OBJECT | ObjectHandle, |
OUT TPM2B_PUBLIC * | OutPublic, | ||
OUT TPM2B_NAME * | Name, | ||
OUT TPM2B_NAME * | QualifiedName | ||
) |
This command allows access to the public area of a loaded object.
[in] | ObjectHandle | TPM handle of an object |
[out] | OutPublic | Structure containing the public area of an object |
[out] | Name | Name of the object |
[out] | QualifiedName | The Qualified Name of the object |
EFI_SUCCESS | Operation completed successfully. |
EFI_DEVICE_ERROR | Unexpected device behavior. |
Definition at line 45 of file Tpm2Object.c.