TianoCore EDK2 master
|
#include <Protocol/EapManagement.h>
Go to the source code of this file.
Data Structures | |
struct | _EFI_EAP_MANAGEMENT2_PROTOCOL |
Macros | |
#define | EFI_EAP_MANAGEMENT2_PROTOCOL_GUID |
Typedefs | |
typedef struct _EFI_EAP_MANAGEMENT2_PROTOCOL | EFI_EAP_MANAGEMENT2_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EFI_EAP_GET_KEY) (IN EFI_EAP_MANAGEMENT2_PROTOCOL *This, IN OUT UINT8 *Msk, IN OUT UINTN *MskSize, IN OUT UINT8 *Emsk, IN OUT UINT8 *EmskSize) |
Variables | |
EFI_GUID | gEfiEapManagement2ProtocolGuid |
This file defines the EFI EAP Management2 protocol.
Copyright (c) 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file EapManagement2.h.
#define EFI_EAP_MANAGEMENT2_PROTOCOL_GUID |
This EFI EAP Management2 protocol provides the ability to configure and control EAPOL state machine, and retrieve the information, status and the statistics information of EAPOL state machine.
Definition at line 22 of file EapManagement2.h.
typedef EFI_STATUS(EFIAPI * EFI_EAP_GET_KEY) (IN EFI_EAP_MANAGEMENT2_PROTOCOL *This, IN OUT UINT8 *Msk, IN OUT UINTN *MskSize, IN OUT UINT8 *Emsk, IN OUT UINT8 *EmskSize) |
Return key generated through EAP process.
The GetKey() function return the key generated through EAP process, so that the 802.11 MAC layer driver can use MSK to derive more keys, e.g. PMK (Pairwise Master Key).
[in] | This | Pointer to the EFI_EAP_MANAGEMENT2_PROTOCOL instance. |
[in,out] | Msk | Pointer to MSK (Master Session Key) buffer. |
[in,out] | MskSize | MSK buffer size. |
[in,out] | Emsk | Pointer to EMSK (Extended Master Session Key) buffer. |
[in,out] | EmskSize | EMSK buffer size. |
EFI_SUCCESS | The operation completed successfully. |
EFI_INVALID_PARAMETER | One or more of the following conditions is TRUE: Msk is NULL. MskSize is NULL. Emsk is NULL. EmskSize is NULL. |
EFI_NOT_READY | MSK and EMSK are not generated in current session yet. |
Definition at line 51 of file EapManagement2.h.
typedef struct _EFI_EAP_MANAGEMENT2_PROTOCOL EFI_EAP_MANAGEMENT2_PROTOCOL |
Definition at line 27 of file EapManagement2.h.