Lines Matching refs:b_0
316 * need that in CCMP also for b_0.
372 static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad)
379 * from this vector b_0. We only set L := 1 here to indicate that the
384 b_0[0] = 0x1;
389 b_0[1] = qos_tid | (ieee80211_is_mgmt(hdr->frame_control) << 4);
390 memcpy(&b_0[2], hdr->addr2, ETH_ALEN);
391 memcpy(&b_0[8], pn, IEEE80211_CCMP_PN_LEN);
429 u8 b_0[AES_BLOCK_SIZE];
482 ccmp_special_blocks(skb, pn, b_0, aad);
483 return ieee80211_aes_ccm_encrypt(key->u.ccmp.tfm, b_0, aad, pos, len,
558 u8 b_0[AES_BLOCK_SIZE];
560 ccmp_special_blocks(skb, pn, b_0, aad);
563 key->u.ccmp.tfm, b_0, aad,