Home
last modified time | relevance | path

Searched full:ccmp (Results 1 – 25 of 71) 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 key\n", in libipw_ccmp_decrypt()
296 net_dbg_ratelimited("CCMP: replay detected: STA=%pM previous PN %02x%02x%02x%02x%02x%02x received PN %02x%02x%02x%02x%02x%02x\n", 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 in libipw_ccmp_print_stats()
[all...]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dwow.c38 RTW89_CIPHER_INFO_DEF(CCMP),
102 /* seq.ccmp.pn[] is BE order array */ in rtw89_rx_pn_to_iv()
103 pn = u64_encode_bits(seq.ccmp.pn[0], RTW89_KEY_PN_5) | in rtw89_rx_pn_to_iv()
104 u64_encode_bits(seq.ccmp.pn[1], RTW89_KEY_PN_4) | in rtw89_rx_pn_to_iv()
105 u64_encode_bits(seq.ccmp.pn[2], RTW89_KEY_PN_3) | in rtw89_rx_pn_to_iv()
106 u64_encode_bits(seq.ccmp.pn[3], RTW89_KEY_PN_2) | in rtw89_rx_pn_to_iv()
107 u64_encode_bits(seq.ccmp.pn[4], RTW89_KEY_PN_1) | in rtw89_rx_pn_to_iv()
108 u64_encode_bits(seq.ccmp.pn[5], RTW89_KEY_PN_0); in rtw89_rx_pn_to_iv()
180 /* seq.ccmp.pn[] is BE order array */ in rtw89_rx_iv_to_pn()
181 seq.ccmp 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/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 */
H A Dmemset.S178 ccmp tmp1, zva_len_x, #8, ge /* NZCV=0b1000 */
/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()
/linux/net/mac80211/
H A Dkey.c640 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc()
647 key->u.ccmp.tfm = ieee80211_aes_key_setup_encrypt( in ieee80211_key_alloc()
649 if (IS_ERR(key->u.ccmp.tfm)) { in ieee80211_key_alloc()
650 err = PTR_ERR(key->u.ccmp.tfm); in ieee80211_key_alloc()
660 key->u.ccmp.rx_pn[i][j] = in ieee80211_key_alloc()
665 key->u.ccmp.tfm = ieee80211_aes_key_setup_encrypt( in ieee80211_key_alloc()
667 if (IS_ERR(key->u.ccmp.tfm)) { in ieee80211_key_alloc()
668 err = PTR_ERR(key->u.ccmp.tfm); in ieee80211_key_alloc()
746 ieee80211_aes_key_free(key->u.ccmp.tfm); in ieee80211_key_free_common()
1268 pn = key->u.ccmp in ieee80211_get_key_rx_seq()
[all...]
H A Dwpa.c315 * Calculate AAD for CCMP/GCMP, returning qos_tid since we
316 * need that in CCMP also for b_0.
446 * hwaccel has no need for preallocated room for CCMP in ccmp_encrypt_skb()
485 /* hwaccel - with software CCMP header */ in ccmp_encrypt_skb()
492 return ieee80211_aes_ccm_encrypt(key->u.ccmp.tfm, b_0, aad, pos, len, in ccmp_encrypt_skb()
557 res = memcmp(pn, key->u.ccmp.rx_pn[queue], in ieee80211_crypto_ccmp_decrypt()
561 key->u.ccmp.replays++; in ieee80211_crypto_ccmp_decrypt()
573 key->u.ccmp.tfm, b_0, aad, in ieee80211_crypto_ccmp_decrypt()
580 memcpy(key->u.ccmp.rx_pn[queue], pn, IEEE80211_CCMP_PN_LEN); in ieee80211_crypto_ccmp_decrypt()
585 /* Remove CCMP heade in ieee80211_crypto_ccmp_decrypt()
[all...]
H A Dkey.h93 } ccmp; member
H A Ddebugfs_key.c178 rpn = key->u.ccmp.rx_pn[i]; in key_rx_spec_read()
232 len = scnprintf(buf, sizeof(buf), "%u\n", key->u.ccmp.replays); in key_replays_read()
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/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/wireless/intel/iwlwifi/mld/
H A Dd3.c240 seq->ccmp.pn[0] = pn >> 40; in iwl_mld_le64_to_aes_seq()
241 seq->ccmp.pn[1] = pn >> 32; in iwl_mld_le64_to_aes_seq()
242 seq->ccmp.pn[2] = pn >> 24; in iwl_mld_le64_to_aes_seq()
243 seq->ccmp.pn[3] = pn >> 16; in iwl_mld_le64_to_aes_seq()
244 seq->ccmp.pn[4] = pn >> 8; in iwl_mld_le64_to_aes_seq()
245 seq->ccmp.pn[5] = pn; in iwl_mld_le64_to_aes_seq()
674 wowlan_status->ptk.aes_seq[tid].ccmp.pn, in iwl_mld_update_ptk_rx_seq()
1313 u8 *pn = key->cipher == WLAN_CIPHER_SUITE_CCMP ? seq.ccmp.pn : in iwl_mld_aes_seq_to_le64_pn()
1344 u8 *max_pn = seq.ccmp.pn; in iwl_mld_suspend_set_ucast_pn()
/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/Documentation/devicetree/bindings/crypto/
H A Dfsl,sec2.0.yaml108 bit 3 = SEC supports descriptor type 802.11i AES ccmp
/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()
1611 seq->ccmp.pn[0] = pn >> 40; in iwl_mvm_le64_to_aes_seq()
1612 seq->ccmp.pn[1] = pn >> 32; in iwl_mvm_le64_to_aes_seq()
1613 seq->ccmp.pn[2] = pn >> 24; in iwl_mvm_le64_to_aes_seq()
1614 seq->ccmp.pn[3] = pn >> 16; in iwl_mvm_le64_to_aes_seq()
1615 seq->ccmp.pn[4] = pn >> 8; in iwl_mvm_le64_to_aes_seq()
1616 seq->ccmp.pn[5] = pn; in iwl_mvm_le64_to_aes_seq()
1676 status->ptk.aes.seq[tid].ccmp in iwl_mvm_set_aes_ptk_rx_seq()
[all...]
/linux/arch/arm64/kvm/hyp/
H A Dhyp-entry.S49 ccmp x0, #ESR_ELx_EC_HVC32, #4, ne
/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.

123