EFI EAP(Extended Authenticaton Protocol) Protocol Definition The EFI EAP Protocol is used to abstract the ability to configure and extend the EAP framework. The definitions in this file are defined in UEFI Specification 2.3.1B, which have not been verified by one implementation yet.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
- Revision Reference:
- This Protocol is introduced in UEFI Specification 2.2
Register an EAP authentication method.
The RegisterAuthMethod() function registers the user provided EAP authentication method, the type of which is EapAuthType and the handler of which is Handler.
If EapAuthType is an invalid EAP authentication type, then EFI_INVALID_PARAMETER is returned. If there is not enough system memory to perform the registration, then EFI_OUT_OF_RESOURCES is returned.
- Parameters
-
[in] | This | A pointer to the EFI_EAP_PROTOCOL instance that indicates the calling context. |
[in] | EapAuthType | The type of the EAP authentication method to register. It should be the type value defined by RFC. See RFC 2284 for details. |
[in] | Handler | The handler of the EAP authentication method to register. |
- Return values
-
EFI_SUCCESS | The EAP authentication method of EapAuthType is registered successfully. |
EFI_INVALID_PARAMETER | EapAuthType is an invalid EAP authentication type. |
EFI_OUT_OF_RESOURCES | There is not enough system memory to perform the registration. |
Set the desired EAP authentication method for the Port.
The SetDesiredAuthMethod() function sets the desired EAP authentication method indicated by EapAuthType for the Port.
If EapAuthType is an invalid EAP authentication type, then EFI_INVALID_PARAMETER is returned. If the EAP authentication method of EapAuthType is unsupported by the Ports, then it will return EFI_UNSUPPORTED. The cryptographic strength of EFI_EAP_TYPE_TLS shall be at least of hash strength SHA-256 and RSA key length of at least 2048 bits.
- Parameters
-
[in] | This | A pointer to the EFI_EAP_PROTOCOL instance that indicates the calling context. |
[in] | EapAuthType | The type of the EAP authentication method to register. It should be the type value defined by RFC. See RFC 2284 for details. |
[in] | Handler | The handler of the EAP authentication method to register. |
- Return values
-
EFI_SUCCESS | The EAP authentication method of EapAuthType is registered successfully. |
EFI_INVALID_PARAMETER | EapAuthType is an invalid EAP authentication type. |
EFI_UNSUPPORTED | The EAP authentication method of EapAuthType is unsupported by the Port. |