mac80211: use AES_BLOCK_SIZE

mac80211 has a defnition of AES_BLOCK_SIZE and
multiple definitions of AES_BLOCK_LEN. Remove
them all and use crypto/aes.h.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2011-07-06 22:02:14 +02:00
committed by John W. Linville
parent 544e5d8bcd
commit 0cd20a278e
5 changed files with 25 additions and 29 deletions

View File

@@ -92,9 +92,6 @@ struct ieee80211_key {
u8 rx_pn[NUM_RX_DATA_QUEUES + 1][6];
struct crypto_cipher *tfm;
u32 replays; /* dot11RSNAStatsCCMPReplays */
#ifndef AES_BLOCK_LEN
#define AES_BLOCK_LEN 16
#endif
} ccmp;
struct {
atomic64_t tx_pn;