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_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) |
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.
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.
[in] | AuthHandle | TPM_RH_PLATFORM |
[in] | AuthSession | Auth Session context |
[in] | AlgorithmSet | A TPM vendor-dependent value indicating the algorithm set selection |
EFI_SUCCESS | Operation completed successfully. |
EFI_DEVICE_ERROR | Unexpected device behavior. |
Definition at line 48 of file Tpm2Miscellaneous.c.