Home
last modified time | relevance | path

Searched full:ccmp (Results 1 – 25 of 54) sorted by relevance

123

/linux/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_crypto_ccmp.c3 * libipw crypt: host-based CCMP encryption implementation for libipw
269 net_dbg_ratelimited("CCMP: received packet without ExtIV flag from %pM\n", in libipw_ccmp_decrypt()
276 net_dbg_ratelimited("CCMP: RX tkey->key_idx=%d frame keyidx=%d\n", in libipw_ccmp_decrypt()
281 …net_dbg_ratelimited("CCMP: received packet from %pM with keyid=%d that does not have a configured … in libipw_ccmp_decrypt()
296 …net_dbg_ratelimited("CCMP: replay detected: STA=%pM previous PN %02x%02x%02x%02x%02x%02x received … in libipw_ccmp_decrypt()
324 net_dbg_ratelimited("CCMP: decrypt failed: STA=%pM (%d)\n", in libipw_ccmp_decrypt()
397 struct libipw_ccmp_data *ccmp = priv; in libipw_ccmp_print_stats() local
400 "key[%d] alg=CCMP key_set=%d " in libipw_ccmp_print_stats()
404 ccmp->key_idx, ccmp->key_set, in libipw_ccmp_print_stats()
405 ccmp->tx_pn[0], ccmp->tx_pn[1], ccmp->tx_pn[2], in libipw_ccmp_print_stats()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dwow.c38 RTW89_CIPHER_INFO_DEF(CCMP),
111 /* seq.ccmp.pn[] is BE order array */ in rtw89_rx_pn_to_iv()
112 pn = u64_encode_bits(seq.ccmp.pn[0], RTW89_KEY_PN_5) | in rtw89_rx_pn_to_iv()
113 u64_encode_bits(seq.ccmp.pn[1], RTW89_KEY_PN_4) | in rtw89_rx_pn_to_iv()
114 u64_encode_bits(seq.ccmp.pn[2], RTW89_KEY_PN_3) | in rtw89_rx_pn_to_iv()
115 u64_encode_bits(seq.ccmp.pn[3], RTW89_KEY_PN_2) | in rtw89_rx_pn_to_iv()
116 u64_encode_bits(seq.ccmp.pn[4], RTW89_KEY_PN_1) | in rtw89_rx_pn_to_iv()
117 u64_encode_bits(seq.ccmp.pn[5], RTW89_KEY_PN_0); in rtw89_rx_pn_to_iv()
202 /* seq.ccmp.pn[] is BE order array */ in rtw89_rx_iv_to_pn()
203 seq.ccmp.pn[0] = u64_get_bits(pn, RTW89_KEY_PN_5); in rtw89_rx_iv_to_pn()
[all …]
/linux/Documentation/networking/mac80211_hwsim/
H A Dwpa_supplicant.conf8 pairwise=CCMP
9 group=CCMP
H A Dhostapd.conf10 wpa_pairwise=CCMP
/linux/net/netfilter/ipset/
H A Dip_set_hash_netnet.c53 u16 ccmp; member
65 ip1->ccmp == ip2->ccmp; in hash_netnet4_data_equal()
155 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt()
288 u16 ccmp; member
301 ip1->ccmp == ip2->ccmp; in hash_netnet6_data_equal()
394 e.ccmp = (HOST_MASK << (sizeof(u8) * 8)) | HOST_MASK; in hash_netnet6_kadt()
H A Dip_set_hash_netportnet.c52 u16 ccmp; member
67 ip1->ccmp == ip2->ccmp && in hash_netportnet4_data_equal()
163 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt()
343 u16 ccmp; member
359 ip1->ccmp == ip2->ccmp && in hash_netportnet6_data_equal()
458 e.ccmp = (HOST_MASK << (sizeof(u8) * 8)) | HOST_MASK; in hash_netportnet6_kadt()
/linux/arch/arm64/lib/
H A Dmemcmp.S81 ccmp data1, data2, 0, hi
82 ccmp data1h, data2h, 0, eq
133 ccmp data1w, data2w, 0, ne /* NZCV = 0b0000. */
H A Dstrlen.S102 ccmp has_nul2, 0, 0, eq
142 ccmp has_nul2, 0, 0, eq
176 ccmp has_nul2, 0, 0, eq
185 ccmp has_nul2, 0, 0, eq
H A Dstrcmp.S79 ccmp data1, data2, 0, eq
129 ccmp data1w, data2w, 0, ne /* NZCV = 0b0000. */
162 ccmp data1, data2, 0, eq
H A Dstrncmp.S84 ccmp endloop, #0, #0, eq
189 ccmp data1w, #1, #0, hi /* NZCV = 0b0000. */
190 ccmp data1w, data2w, #0, cs /* NZCV = 0b0000. */
208 ccmp data1w, data2w, #0, cs /* NZCV = 0b0000. */
H A Dstrchr.S25 ccmp w2, wzr, #4, ne
H A Dstrnlen.S82 ccmp tmp1, #0, #0, pl /* NZCV = 0000 */
/linux/net/mac80211/
H A Dkey.c645 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc()
652 key->u.ccmp.tfm = ieee80211_aes_key_setup_encrypt( in ieee80211_key_alloc()
654 if (IS_ERR(key->u.ccmp.tfm)) { in ieee80211_key_alloc()
655 err = PTR_ERR(key->u.ccmp.tfm); in ieee80211_key_alloc()
665 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc()
670 key->u.ccmp.tfm = ieee80211_aes_key_setup_encrypt( in ieee80211_key_alloc()
672 if (IS_ERR(key->u.ccmp.tfm)) { in ieee80211_key_alloc()
673 err = PTR_ERR(key->u.ccmp.tfm); in ieee80211_key_alloc()
751 ieee80211_aes_key_free(key->u.ccmp.tfm); in ieee80211_key_free_common()
1274 pn = key->u.ccmp.rx_pn[IEEE80211_NUM_TIDS]; in ieee80211_get_key_rx_seq()
[all …]
H A Dkey.h93 } ccmp; member
H A Dsta_info.h317 * header length of 8 like for CCMP/GCMP) fits into a single 64-byte
458 u8 check_sequential_pn:1, /* needed for CCMP/GCMP */
460 u8 last_pn[6]; /* PN of the last fragment if CCMP was used */
/linux/drivers/net/wireless/silabs/wfx/
H A Dkey.c104 memcpy(msg->rx_sequence_counter, seq->ccmp.pn, sizeof(seq->ccmp.pn)); in fill_ccmp_group()
105 memreverse(msg->rx_sequence_counter, sizeof(seq->ccmp.pn)); in fill_ccmp_group()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dd3.c250 seq->ccmp.pn[0] = pn >> 40; in iwl_mld_le64_to_aes_seq()
251 seq->ccmp.pn[1] = pn >> 32; in iwl_mld_le64_to_aes_seq()
252 seq->ccmp.pn[2] = pn >> 24; in iwl_mld_le64_to_aes_seq()
253 seq->ccmp.pn[3] = pn >> 16; in iwl_mld_le64_to_aes_seq()
254 seq->ccmp.pn[4] = pn >> 8; in iwl_mld_le64_to_aes_seq()
255 seq->ccmp.pn[5] = pn; in iwl_mld_le64_to_aes_seq()
890 wowlan_status->ptk.aes_seq[tid].ccmp.pn, in iwl_mld_update_ptk_rx_seq()
1032 * (ccmp, gcmp, cmac, gmac), and they all have the same in iwl_mld_mlo_rekey()
1033 * pn field (of length 6) so just copy it to ccmp.pn. in iwl_mld_mlo_rekey()
1036 seq.ccmp.pn[5 - j] = mlo_key->pn[j]; in iwl_mld_mlo_rekey()
[all …]
/linux/arch/arm64/kernel/
H A Defi-header.S14 * This ccmp instruction has no meaningful effect except that
17 ccmp x18, #0, #0xd, pl
/linux/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.c400 int ccmp; in gelic_wl_synthesize_ie() local
417 ccmp = 0; in gelic_wl_synthesize_ie()
420 ccmp = 1; in gelic_wl_synthesize_ie()
424 ccmp = 1; in gelic_wl_synthesize_ie()
425 pr_info("%s: no cipher info. defaulted to CCMP\n", in gelic_wl_synthesize_ie()
428 ccmp = 0; in gelic_wl_synthesize_ie()
463 if (ccmp) in gelic_wl_synthesize_ie()
464 *buf++ = 0x04; /* CCMP */ in gelic_wl_synthesize_ie()
475 if (ccmp) in gelic_wl_synthesize_ie()
476 *buf++ = 0x04; /* CCMP */ in gelic_wl_synthesize_ie()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c87 const u8 *ret = seq->ccmp.pn; in iwl_mvm_find_max_pn()
314 u8 *pn = seq.ccmp.pn; in iwl_mvm_wowlan_get_rsc_tsc_data()
435 u8 *pn = seq.ccmp.pn; in iwl_mvm_wowlan_get_rsc_v5_data()
1587 seq->ccmp.pn[0] = pn >> 40; in iwl_mvm_le64_to_aes_seq()
1588 seq->ccmp.pn[1] = pn >> 32; in iwl_mvm_le64_to_aes_seq()
1589 seq->ccmp.pn[2] = pn >> 24; in iwl_mvm_le64_to_aes_seq()
1590 seq->ccmp.pn[3] = pn >> 16; in iwl_mvm_le64_to_aes_seq()
1591 seq->ccmp.pn[4] = pn >> 8; in iwl_mvm_le64_to_aes_seq()
1592 seq->ccmp.pn[5] = pn; in iwl_mvm_le64_to_aes_seq()
1652 status->ptk.aes.seq[tid].ccmp.pn, in iwl_mvm_set_aes_ptk_rx_seq()
/linux/arch/arm64/kvm/hyp/
H A Dhyp-entry.S49 ccmp x0, #ESR_ELx_EC_HVC32, #4, ne
/linux/drivers/net/wireless/st/cw1200/
H A Dsta.c780 wsm_key->aes_group.rx_seqnum[0] = seq.ccmp.pn[5]; in cw1200_set_key()
781 wsm_key->aes_group.rx_seqnum[1] = seq.ccmp.pn[4]; in cw1200_set_key()
782 wsm_key->aes_group.rx_seqnum[2] = seq.ccmp.pn[3]; in cw1200_set_key()
783 wsm_key->aes_group.rx_seqnum[3] = seq.ccmp.pn[2]; in cw1200_set_key()
784 wsm_key->aes_group.rx_seqnum[4] = seq.ccmp.pn[1]; in cw1200_set_key()
785 wsm_key->aes_group.rx_seqnum[5] = seq.ccmp.pn[0]; in cw1200_set_key()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dcore.h532 * 4 bytes immediately follow the IV for TKIP. For CCMP the
534 * CCMP header rather than IV+extended-IV.
/linux/drivers/net/wireless/marvell/libertas/
H A Ddefs.h365 /* KEY_INFO_WPA (applies to both TKIP and AES/CCMP) */
/linux/arch/arm64/include/asm/
H A Datomic_ll_sc.h316 " ccmp %[rh], %[oh], 0, eq\n" \

123