iPXE
wep_ctx Struct Reference

Context for WEP encryption and decryption. More...

Data Fields

u8 key [WEP_IV_LEN+WEP_MAX_KEY]
 Encoded WEP key.
int keylen
 Length of WEP key (not including IV bytes)
struct arc4_ctx arc4
 ARC4 context.

Detailed Description

Context for WEP encryption and decryption.

Definition at line 70 of file wep.c.

Field Documentation

◆ key

u8 wep_ctx::key[WEP_IV_LEN+WEP_MAX_KEY]

Encoded WEP key.

The actual key bytes are stored beginning at offset 3, to leave room for easily inserting the IV before a particular operation.

Definition at line 78 of file wep.c.

◆ keylen

int wep_ctx::keylen

Length of WEP key (not including IV bytes)

Definition at line 81 of file wep.c.

Referenced by wep_init().

◆ arc4

struct arc4_ctx wep_ctx::arc4

ARC4 context.

Definition at line 84 of file wep.c.


The documentation for this struct was generated from the following file: