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

Go to the source code of this file.

Data Structures

struct  TPM2_SET_ALGORITHM_SET_COMMAND
 
struct  TPM2_SET_ALGORITHM_SET_RESPONSE
 

Functions

EFI_STATUS EFIAPI Tpm2SetAlgorithmSet (IN TPMI_RH_PLATFORM AuthHandle, IN TPMS_AUTH_COMMAND *AuthSession, IN UINT32 AlgorithmSet)
 

Detailed Description

Implement TPM2 Miscellaneous related command.

Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Tpm2Miscellaneous.c.

Function Documentation

◆ Tpm2SetAlgorithmSet()

EFI_STATUS EFIAPI Tpm2SetAlgorithmSet ( IN TPMI_RH_PLATFORM  AuthHandle,
IN TPMS_AUTH_COMMAND AuthSession,
IN UINT32  AlgorithmSet 
)

This command allows the platform to change the set of algorithms that are used by the TPM. The algorithmSet setting is a vendor-dependent value.

Parameters
[in]AuthHandleTPM_RH_PLATFORM
[in]AuthSessionAuth Session context
[in]AlgorithmSetA TPM vendor-dependent value indicating the algorithm set selection
Return values
EFI_SUCCESSOperation completed successfully.
EFI_DEVICE_ERRORUnexpected device behavior.

Definition at line 48 of file Tpm2Miscellaneous.c.