Searched refs:MICHAEL_MIC_LEN (Results 1 – 2 of 2) sorted by relevance
13 #define MICHAEL_MIC_LEN 8 macro
65 tail = MICHAEL_MIC_LEN; in ieee80211_tx_h_michael_mic_add()76 mic = skb_put(skb, MICHAEL_MIC_LEN); in ieee80211_tx_h_michael_mic_add()80 memset(mic, 0, MICHAEL_MIC_LEN); in ieee80211_tx_h_michael_mic_add()99 u8 mic[MICHAEL_MIC_LEN]; in ieee80211_rx_h_michael_mic_verify()151 if (skb->len < hdrlen + MICHAEL_MIC_LEN) in ieee80211_rx_h_michael_mic_verify()159 data_len = skb->len - hdrlen - MICHAEL_MIC_LEN; in ieee80211_rx_h_michael_mic_verify()162 if (crypto_memneq(mic, data + data_len, MICHAEL_MIC_LEN)) in ieee80211_rx_h_michael_mic_verify()166 skb_trim(skb, skb->len - MICHAEL_MIC_LEN); in ieee80211_rx_h_michael_mic_verify()