Home
last modified time | relevance | path

Searched refs:seq_len (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/drivers/crypto/ccree/
Dcc_sram_mgr.c78 struct cc_hw_desc *seq, unsigned int *seq_len) in cc_set_sram_desc() argument
81 unsigned int idx = *seq_len; in cc_set_sram_desc()
90 *seq_len = idx; in cc_set_sram_desc()
Dcc_sram_mgr.h50 struct cc_hw_desc *seq, unsigned int *seq_len);
Dcc_cipher.c893 unsigned int seq_len = 0; in cc_cipher_process() local
959 cc_setup_state_desc(tfm, req_ctx, ivsize, nbytes, desc, &seq_len); in cc_cipher_process()
961 cc_setup_mlli_desc(tfm, req_ctx, dst, src, nbytes, req, desc, &seq_len); in cc_cipher_process()
963 cc_setup_key_desc(tfm, req_ctx, nbytes, desc, &seq_len); in cc_cipher_process()
965 cc_setup_xex_state_desc(tfm, req_ctx, ivsize, nbytes, desc, &seq_len); in cc_cipher_process()
967 cc_setup_flow_desc(tfm, req_ctx, dst, src, nbytes, desc, &seq_len); in cc_cipher_process()
969 cc_setup_readiv_desc(tfm, req_ctx, ivsize, desc, &seq_len); in cc_cipher_process()
973 rc = cc_send_request(ctx_p->drvdata, &cc_req, desc, seq_len, in cc_cipher_process()
Dcc_aead.c547 unsigned int seq_len = 0; in cc_aead_setkey() local
612 seq_len = hmac_setkey(desc, ctx); in cc_aead_setkey()
615 seq_len = xcbc_setkey(desc, ctx); in cc_aead_setkey()
626 if (seq_len > 0) { /* For CCM there is no sequence to setup the key */ in cc_aead_setkey()
627 rc = cc_send_sync_request(ctx->drvdata, &cc_req, desc, seq_len); in cc_aead_setkey()
1895 int seq_len = 0; in cc_proc_aead() local
1984 cc_mlli_to_sram(req, desc, &seq_len); in cc_proc_aead()
1989 cc_hmac_authenc(req, desc, &seq_len); in cc_proc_aead()
1992 cc_xcbc_authenc(req, desc, &seq_len); in cc_proc_aead()
1996 cc_ccm(req, desc, &seq_len); in cc_proc_aead()
[all …]
Dcc_request_mgr.c185 unsigned int seq_len) in enqueue_seq() argument
196 for (i = 0; i < seq_len; i++) { in enqueue_seq()
/linux-6.6.21/drivers/net/wireless/intersil/orinoco/
Dwext.c32 const u8 *seq, int seq_len) in orinoco_set_key() argument
44 if (seq_len) { in orinoco_set_key()
45 priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC); in orinoco_set_key()
52 priv->keys[index].seq_len = seq_len; in orinoco_set_key()
56 if (seq_len) in orinoco_set_key()
57 memcpy((void *)priv->keys[index].seq, seq, seq_len); in orinoco_set_key()
83 priv->keys[index].seq_len = 0; in orinoco_set_key()
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c529 if (params->seq_len > 0) { in wilc_wfi_cfg_copy_wpa_info()
530 key_info->seq = kmemdup(params->seq, params->seq_len, in wilc_wfi_cfg_copy_wpa_info()
538 key_info->seq_len = params->seq_len; in wilc_wfi_cfg_copy_wpa_info()
610 key_index, params->seq_len, in add_key()
636 params->seq_len, mac_addr, op_mode, in add_key()
705 key_params.seq_len = priv->wilc_igtk[key_index]->seq_len; in get_key()
711 key_params.seq_len = priv->wilc_gtk[key_index]->seq_len; in get_key()
718 key_params.seq_len = priv->wilc_ptk[key_index]->seq_len; in get_key()
Dnetdev.h44 int seq_len; member
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76x02_dfs.c159 dfs_pd->seq_stats.seq_len--; in mt76x02_dfs_seq_pool_put()
178 dfs_pd->seq_stats.seq_len++; in mt76x02_dfs_seq_pool_get()
566 int i, seq_len; in mt76x02_dfs_add_events() local
581 seq_len = mt76x02_dfs_add_event_to_sequence(dev, &event); in mt76x02_dfs_add_events()
582 mt76x02_dfs_create_sequence(dev, &event, seq_len); in mt76x02_dfs_add_events()
Dmt76x02_dfs.h106 u32 seq_len; member
Dmt76x02_debugfs.c57 dfs_pd->seq_stats.seq_len); in mt76x02_dfs_stat_show()
/linux-6.6.21/net/mac80211/
Dkey.h142 size_t seq_len, const u8 *seq);
Dcfg.c501 params->key, params->seq_len, params->seq); in ieee80211_add_key()
716 params.seq_len = 6; in ieee80211_get_key()
749 params.seq_len = 6; in ieee80211_get_key()
758 params.seq_len = kseq.hw.seq_len; in ieee80211_get_key()
/linux-6.6.21/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1134 int seq_len; in ath6kl_cfg80211_add_key() local
1163 seq_len = params->seq_len; in ath6kl_cfg80211_add_key()
1165 seq_len > ATH6KL_KEY_SEQ_LEN) { in ath6kl_cfg80211_add_key()
1167 seq_len = ATH6KL_KEY_SEQ_LEN; in ath6kl_cfg80211_add_key()
1170 seq_len > sizeof(key->seq)) in ath6kl_cfg80211_add_key()
1175 key->seq_len = seq_len; in ath6kl_cfg80211_add_key()
1176 memcpy(key->seq, params->seq, key->seq_len); in ath6kl_cfg80211_add_key()
1208 key_usage, key->seq_len); in ath6kl_cfg80211_add_key()
1246 key->seq, key->seq_len, key->key, in ath6kl_cfg80211_add_key()
1307 params.seq_len = key->seq_len; in ath6kl_cfg80211_get_key()
[all …]
Dcore.h385 u8 seq_len; member
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_verifier.c1425 int seq_len, int subseq_len) in find_insn_subseq() argument
1429 if (subseq_len > seq_len) in find_insn_subseq()
1432 for (i = 0; i < seq_len - subseq_len + 1; ++i) { in find_insn_subseq()
1464 int seq_len, int max_subseqs_len) in find_all_insn_subseqs() argument
1472 seq_len, cur_subseq_len); in find_all_insn_subseqs()
1477 seq_len -= subseq_idx + cur_subseq_len; in find_all_insn_subseqs()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c1117 if (kp && kp->seq && kp->seq_len) { in mwifiex_set_encode()
1118 memcpy(encrypt_key.pn, kp->seq, kp->seq_len); in mwifiex_set_encode()
1119 encrypt_key.pn_len = kp->seq_len; in mwifiex_set_encode()
/linux-6.6.21/drivers/net/ethernet/asix/
Dax88796c_main.h546 u16 seq_len; member
Dax88796c_main.c212 info->eop.seq_len = ((info->seq_num << 11) & in ax88796c_proc_tx_hdr()
217 cpu_to_be16s(&info->eop.seq_len); in ax88796c_proc_tx_hdr()
/linux-6.6.21/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1644 params->seq_len, params->seq); in wil_cfg80211_add_key()
1653 params->seq_len, params->seq); in wil_cfg80211_add_key()
1660 if (params->seq && params->seq_len != IEEE80211_GCMP_PN_LEN) { in wil_cfg80211_add_key()
1663 params->seq_len, mac_addr, in wil_cfg80211_add_key()
1665 params->seq_len, params->seq); in wil_cfg80211_add_key()
2074 key_params.seq_len = IEEE80211_GCMP_PN_LEN; in wil_cfg80211_ap_recovery()
/linux-6.6.21/drivers/net/wireless/legacy/
Drndis_wlan.c1375 int seq_len, u32 cipher, __le32 flags) in add_wpa_key() argument
1393 if (!rx_seq || seq_len <= 0) { in add_wpa_key()
1398 if (rx_seq && seq_len > sizeof(ndis_key.rsc)) { in add_wpa_key()
1435 memcpy(ndis_key.rsc, rx_seq, seq_len); in add_wpa_key()
2395 if (params->seq && params->seq_len > 0) in rndis_add_key()
2403 params->seq_len, params->cipher, flags); in rndis_add_key()
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
Dcfg.c1526 lbs_deb_assoc("add_key: seq len %d\n", params->seq_len); in lbs_cfg_add_key()
1527 if (params->seq_len) in lbs_cfg_add_key()
1529 params->seq, params->seq_len); in lbs_cfg_add_key()
/linux-6.6.21/drivers/staging/wlan-ng/
Dcfg80211.c197 params.seq_len = 0; in prism2_get_key()
/linux-6.6.21/net/ipv4/
Dtcp_input.c1009 u32 seq_len, dup_segs = 1; in tcp_dsack_seen() local
1014 seq_len = end_seq - start_seq; in tcp_dsack_seen()
1016 if (seq_len > tp->max_window) in tcp_dsack_seen()
1018 if (seq_len > tp->mss_cache) in tcp_dsack_seen()
1019 dup_segs = DIV_ROUND_UP(seq_len, tp->mss_cache); in tcp_dsack_seen()
/linux-6.6.21/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c896 if (params->seq_len && params->seq) in cfg80211_rtw_add_key()
897 memcpy(param->u.crypt.seq, (u8 *)params->seq, params->seq_len); in cfg80211_rtw_add_key()

12