Searched refs:CCMP_MIC_LEN (Results 1 – 11 of 11) sorted by relevance
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 37 #define CCMP_MIC_LEN 8 macro 207 skb_tailroom(skb) < CCMP_MIC_LEN || in ieee80211_ccmp_encrypt() 236 mic = skb_put(skb, CCMP_MIC_LEN); in ieee80211_ccmp_encrypt() 256 for (i = 0; i < CCMP_MIC_LEN; i++) in ieee80211_ccmp_encrypt() 269 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN - CCMP_MIC_LEN; in ieee80211_ccmp_decrypt() 270 u8 *mic = skb->data + skb->len - CCMP_MIC_LEN; in ieee80211_ccmp_decrypt() 276 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in ieee80211_ccmp_decrypt() 326 xor_block(mic, b, CCMP_MIC_LEN); in ieee80211_ccmp_decrypt() 344 if (memcmp(mic, a, CCMP_MIC_LEN) != 0) { in ieee80211_ccmp_decrypt() 358 skb_trim(skb, skb->len - CCMP_MIC_LEN); in ieee80211_ccmp_decrypt() [all …]
|
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 36 #define CCMP_MIC_LEN 8 macro 205 skb_tailroom(skb) < CCMP_MIC_LEN || in ieee80211_ccmp_encrypt() 244 mic = skb_put(skb, CCMP_MIC_LEN); in ieee80211_ccmp_encrypt() 264 for (i = 0; i < CCMP_MIC_LEN; i++) in ieee80211_ccmp_encrypt() 279 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in ieee80211_ccmp_decrypt() 329 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN - CCMP_MIC_LEN; in ieee80211_ccmp_decrypt() 330 u8 *mic = skb->data + skb->len - CCMP_MIC_LEN; in ieee80211_ccmp_decrypt() 338 xor_block(mic, b, CCMP_MIC_LEN); in ieee80211_ccmp_decrypt() 356 if (memcmp(mic, a, CCMP_MIC_LEN) != 0) { in ieee80211_ccmp_decrypt() 370 skb_trim(skb, skb->len - CCMP_MIC_LEN); in ieee80211_ccmp_decrypt() [all …]
|
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 41 #define CCMP_MIC_LEN 8 macro 208 skb_tailroom(skb) < CCMP_MIC_LEN || in ieee80211_ccmp_encrypt() 247 mic = skb_put(skb, CCMP_MIC_LEN); in ieee80211_ccmp_encrypt() 267 for (i = 0; i < CCMP_MIC_LEN; i++) in ieee80211_ccmp_encrypt() 282 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in ieee80211_ccmp_decrypt() 327 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN - CCMP_MIC_LEN; in ieee80211_ccmp_decrypt() 328 u8 *mic = skb->data + skb->len - CCMP_MIC_LEN; in ieee80211_ccmp_decrypt() 336 xor_block(mic, b, CCMP_MIC_LEN); in ieee80211_ccmp_decrypt() 354 if (memcmp(mic, a, CCMP_MIC_LEN) != 0) { in ieee80211_ccmp_decrypt() 368 skb_trim(skb, skb->len - CCMP_MIC_LEN); in ieee80211_ccmp_decrypt() [all …]
|
/linux-2.6.39/net/wireless/ |
D | lib80211_crypt_ccmp.c | 38 #define CCMP_MIC_LEN 8 macro 231 if (skb_tailroom(skb) < CCMP_MIC_LEN || skb->len < hdr_len) in lib80211_ccmp_encrypt() 259 mic = skb_put(skb, CCMP_MIC_LEN); in lib80211_ccmp_encrypt() 260 for (i = 0; i < CCMP_MIC_LEN; i++) in lib80211_ccmp_encrypt() 297 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN - CCMP_MIC_LEN; in lib80211_ccmp_decrypt() 298 u8 *mic = skb->data + skb->len - CCMP_MIC_LEN; in lib80211_ccmp_decrypt() 300 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in lib80211_ccmp_decrypt() 356 xor_block(mic, b, CCMP_MIC_LEN); in lib80211_ccmp_decrypt() 374 if (memcmp(mic, a, CCMP_MIC_LEN) != 0) { in lib80211_ccmp_decrypt() 388 skb_trim(skb, skb->len - CCMP_MIC_LEN); in lib80211_ccmp_decrypt() [all …]
|
/linux-2.6.39/net/mac80211/ |
D | wpa.c | 278 data_len -= CCMP_MIC_LEN; in ccmp_special_blocks() 360 tail = CCMP_MIC_LEN; in ccmp_encrypt_skb() 389 pos, skb_put(skb, CCMP_MIC_LEN)); in ccmp_encrypt_skb() 429 data_len = skb->len - hdrlen - CCMP_HDR_LEN - CCMP_MIC_LEN; in ieee80211_crypto_ccmp_decrypt() 450 skb->data + skb->len - CCMP_MIC_LEN, in ieee80211_crypto_ccmp_decrypt() 458 skb_trim(skb, skb->len - CCMP_MIC_LEN); in ieee80211_crypto_ccmp_decrypt()
|
D | aes_ccm.c | 88 for (i = 0; i < CCMP_MIC_LEN; i++) in ieee80211_aes_ccm_encrypt() 127 for (i = 0; i < CCMP_MIC_LEN; i++) { in ieee80211_aes_ccm_decrypt()
|
D | key.h | 26 #define CCMP_MIC_LEN 8 macro
|
D | key.c | 330 key->conf.icv_len = CCMP_MIC_LEN; in ieee80211_key_alloc()
|
/linux-2.6.39/drivers/net/wireless/iwlegacy/ |
D | iwl-commands.h | 1368 #define CCMP_MIC_LEN 8 macro
|
/linux-2.6.39/drivers/net/wireless/iwlwifi/ |
D | iwl-agn-tx.c | 121 len += CCMP_MIC_LEN; in iwlagn_txq_update_byte_cnt_tbl()
|
D | iwl-commands.h | 1572 #define CCMP_MIC_LEN 8 macro
|