Functions | |
EFI_STATUS EFIAPI | Tpm2DictionaryAttackLockReset (IN TPMI_RH_LOCKOUT LockHandle, IN TPMS_AUTH_COMMAND *AuthSession) |
EFI_STATUS EFIAPI | Tpm2DictionaryAttackParameters (IN TPMI_RH_LOCKOUT LockHandle, IN TPMS_AUTH_COMMAND *AuthSession, IN UINT32 NewMaxTries, IN UINT32 NewRecoveryTime, IN UINT32 LockoutRecovery) |
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 Tpm2DictionaryAttackLockReset | ( | IN TPMI_RH_LOCKOUT | LockHandle, | |
IN TPMS_AUTH_COMMAND * | AuthSession | |||
) |
This command cancels the effect of a TPM lockout due to a number of successive authorization failures. If this command is properly authorized, the lockout counter is set to zero.
[in] | LockHandle | TPM_RH_LOCKOUT |
[in] | AuthSession | Auth Session context |
EFI_SUCCESS | Operation completed successfully. | |
EFI_DEVICE_ERROR | Unexpected device behavior. |
References CopyAuthSessionCommand(), EFI_STATUS(), Tpm2SubmitCommand(), and UINTN().
EFI_STATUS EFIAPI Tpm2DictionaryAttackParameters | ( | IN TPMI_RH_LOCKOUT | LockHandle, | |
IN TPMS_AUTH_COMMAND * | AuthSession, | |||
IN UINT32 | NewMaxTries, | |||
IN UINT32 | NewRecoveryTime, | |||
IN UINT32 | LockoutRecovery | |||
) |
This command cancels the effect of a TPM lockout due to a number of successive authorization failures. If this command is properly authorized, the lockout counter is set to zero.
[in] | LockHandle | TPM_RH_LOCKOUT |
[in] | AuthSession | Auth Session context |
[in] | NewMaxTries | Count of authorization failures before the lockout is imposed |
[in] | NewRecoveryTime | Time in seconds before the authorization failure count is automatically decremented |
[in] | LockoutRecovery | Time in seconds after a lockoutAuth failure before use of lockoutAuth is allowed |
EFI_SUCCESS | Operation completed successfully. | |
EFI_DEVICE_ERROR | Unexpected device behavior. |
References CopyAuthSessionCommand(), EFI_STATUS(), Tpm2SubmitCommand(), and UINTN().