ieee80211: add definition for SMS4 key len
authorAvinash Patil <patila@marvell.com>
Fri, 10 Jan 2014 19:08:55 +0000 (11:08 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 10 Jan 2014 19:12:13 +0000 (20:12 +0100)
Add SMS4 key length definition to ieee80211_key_len enum.
It's used by WAPI.

Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h

index b382c7c49d84a5785bfeb5c5cdbf15f114e994e0..e526a8cecb70a90533843bc26c90eaa2a7e23e55 100644 (file)
@@ -1857,6 +1857,7 @@ enum ieee80211_key_len {
        WLAN_KEY_LEN_CCMP = 16,
        WLAN_KEY_LEN_TKIP = 32,
        WLAN_KEY_LEN_AES_CMAC = 16,
+       WLAN_KEY_LEN_SMS4 = 32,
 };
 
 #define IEEE80211_WEP_IV_LEN           4