TianoCore EDK2 master
Loading...
Searching...
No Matches
EapManagement2.h File Reference

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
 

Detailed Description

This file defines the EFI EAP Management2 protocol.

Copyright (c) 2015, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Revision Reference:
This Protocol is introduced in UEFI Specification 2.5

Definition in file EapManagement2.h.

Macro Definition Documentation

◆ EFI_EAP_MANAGEMENT2_PROTOCOL_GUID

#define EFI_EAP_MANAGEMENT2_PROTOCOL_GUID
Value:
{ \
0x5e93c847, 0x456d, 0x40b3, {0xa6, 0xb4, 0x78, 0xb0, 0xc9, 0xcf, 0x7f, 0x20 } \
}

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 Documentation

◆ EFI_EAP_GET_KEY

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).

Parameters
[in]ThisPointer to the EFI_EAP_MANAGEMENT2_PROTOCOL instance.
[in,out]MskPointer to MSK (Master Session Key) buffer.
[in,out]MskSizeMSK buffer size.
[in,out]EmskPointer to EMSK (Extended Master Session Key) buffer.
[in,out]EmskSizeEMSK buffer size.
Return values
EFI_SUCCESSThe operation completed successfully.
EFI_INVALID_PARAMETEROne or more of the following conditions is TRUE: Msk is NULL. MskSize is NULL. Emsk is NULL. EmskSize is NULL.
EFI_NOT_READYMSK and EMSK are not generated in current session yet.

Definition at line 51 of file EapManagement2.h.

◆ EFI_EAP_MANAGEMENT2_PROTOCOL