XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Variables
EapManagement2.h File Reference
#include <Protocol/EapManagement.h>
Include dependency graph for EapManagement2.h:

Go to the source code of this file.

Classes

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(EFIAPIEFI_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.
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.

Revision Reference:
This Protocol is introduced in UEFI Specification 2.5

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.

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.

◆ EFI_EAP_MANAGEMENT2_PROTOCOL

Variable Documentation

◆ gEfiEapManagement2ProtocolGuid

EFI_GUID gEfiEapManagement2ProtocolGuid
extern