TianoCore EDK2 master
Loading...
Searching...
No Matches
Tpm2Object.c File Reference

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)
 

Detailed Description

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.

Function Documentation

◆ Tpm2ReadPublic()

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.

Parameters
[in]ObjectHandleTPM handle of an object
[out]OutPublicStructure containing the public area of an object
[out]NameName of the object
[out]QualifiedNameThe Qualified Name of the object
Return values
EFI_SUCCESSOperation completed successfully.
EFI_DEVICE_ERRORUnexpected device behavior.

Definition at line 45 of file Tpm2Object.c.