Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[wpa] Add CCMP backend (new AES-based cryptosystem)
Signed-off-by: Marty Connor <mdc@etherboot.org>
  • Loading branch information
rwcr authored and Marty Connor committed Jan 5, 2010
1 parent 8106cb1 commit 5240fee
Show file tree
Hide file tree
Showing 4 changed files with 535 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/config/config_net80211.c
Expand Up @@ -39,6 +39,11 @@ REQUIRE_OBJECT ( wireless_errors );
REQUIRE_OBJECT ( wep );
#endif

#ifdef CRYPTO_80211_WPA2
#define CRYPTO_80211_WPA
REQUIRE_OBJECT ( wpa_ccmp );
#endif

#ifdef CRYPTO_80211_WPA
REQUIRE_OBJECT ( wpa_psk );
REQUIRE_OBJECT ( wpa_tkip );
Expand Down
1 change: 1 addition & 0 deletions src/config/general.h
Expand Up @@ -70,6 +70,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
#define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
#define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
#undef CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */

/*
* Name resolution modules
Expand Down
1 change: 1 addition & 0 deletions src/include/gpxe/errfile.h
Expand Up @@ -164,6 +164,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define ERRFILE_wpa ( ERRFILE_NET | 0x00260000 )
#define ERRFILE_wpa_psk ( ERRFILE_NET | 0x00270000 )
#define ERRFILE_wpa_tkip ( ERRFILE_NET | 0x00280000 )
#define ERRFILE_wpa_ccmp ( ERRFILE_NET | 0x00290000 )

#define ERRFILE_image ( ERRFILE_IMAGE | 0x00000000 )
#define ERRFILE_elf ( ERRFILE_IMAGE | 0x00010000 )
Expand Down

0 comments on commit 5240fee

Please sign in to comment.