Functions | |
EFI_STATUS EFIAPI | Tpm2SetAlgorithmSet (IN TPMI_RH_PLATFORM AuthHandle, IN TPMS_AUTH_COMMAND *AuthSession, IN UINT32 AlgorithmSet) |
Copyright (c) 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
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. |
References CopyAuthSessionCommand(), EFI_STATUS(), Tpm2SubmitCommand(), and UINTN().