Expand description
WPA2/WPA3 Authentication Implementation
Provides EAPOL frame handling, PBKDF2-SHA256 key derivation, PRF-SHA256 for PTK expansion, 4-way handshake state machine, CCMP stub, and WPA3-SAE stubs for WiFi security.
Structs§
- Ccmp
Encrypt - CCMP encryption parameters
- Eapol
Frame - EAPOL (IEEE 802.1X) frame header
- Eapol
KeyFrame - EAPOL-Key frame body (within EAPOL frame)
- Four
WayHandshake - WPA2 4-way handshake state machine (supplicant side)
- KeyInfo
- Key information flags (16-bit field in EAPOL-Key frame)
- SaeAuth
- WPA3-SAE authentication handler (stub)
- Temporal
Key - Temporal key material derived from the 4-way handshake
Enums§
Constants§
- EAPOL_
KEY - EAPOL packet type: Key (used in 4-way handshake)
Functions§
- derive_
pmk - Derive PMK (Pairwise Master Key) from passphrase and SSID.
- derive_
ptk - Derive PTK (Pairwise Transient Key) from PMK, nonces, and addresses.
- pbkdf2_
sha256 - PBKDF2-SHA256 key derivation (RFC 8018)
- prf_
sha256 - PRF-SHA256: Pseudo-Random Function for key expansion (IEEE 802.11-2012)