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 68 of file wep.c.


Field Documentation

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 76 of file wep.c.

Referenced by trivial_change_key(), trivial_init(), wep_decrypt(), wep_encrypt(), and wep_init().

Length of WEP key (not including IV bytes).

Definition at line 79 of file wep.c.

Referenced by wep_decrypt(), wep_encrypt(), and wep_init().

struct arc4_ctx wep_ctx::arc4 [read]

ARC4 context.

Definition at line 82 of file wep.c.

Referenced by wep_decrypt(), and wep_encrypt().


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

Generated on Tue Apr 6 20:02:11 2010 for gPXE by  doxygen 1.5.7.1