Lines Matching refs:aad_len
98 size_t aad_len; in ccmp_init_iv_and_aad() local
104 aad_len = 22; in ccmp_init_iv_and_aad()
106 aad_len += 6; in ccmp_init_iv_and_aad()
112 aad_len += 2; in ccmp_init_iv_and_aad()
150 return aad_len; in ccmp_init_iv_and_aad()
198 int len, data_len, aad_len; in lib80211_ccmp_encrypt() local
214 aad_len = ccmp_init_iv_and_aad(hdr, key->tx_pn, iv, aad); in lib80211_ccmp_encrypt()
219 sg_set_buf(&sg[0], aad, aad_len); in lib80211_ccmp_encrypt()
224 aead_request_set_ad(req, aad_len); in lib80211_ccmp_encrypt()
264 int aad_len, ret; in lib80211_ccmp_decrypt() local
317 aad_len = ccmp_init_iv_and_aad(hdr, pn, iv, aad); in lib80211_ccmp_decrypt()
320 sg_set_buf(&sg[0], aad, aad_len); in lib80211_ccmp_decrypt()
324 aead_request_set_ad(req, aad_len); in lib80211_ccmp_decrypt()