Home
last modified time | relevance | path

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

12

/linux/drivers/crypto/ccree/
A 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()
A Dcc_sram_mgr.h50 struct cc_hw_desc *seq, unsigned int *seq_len);
A 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()
A 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 …]
A Dcc_request_mgr.c186 unsigned int seq_len) in enqueue_seq() argument
197 for (i = 0; i < seq_len; i++) { in enqueue_seq()
/linux/drivers/net/wireless/intersil/orinoco/
A 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/drivers/net/wireless/mediatek/mt76/
A 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()
A Dmt76x02_dfs.h106 u32 seq_len; member
A Dmt76x02_debugfs.c57 dfs_pd->seq_stats.seq_len); in mt76x02_dfs_stat_show()
/linux/drivers/net/wireless/microchip/wilc1000/
A Dcfg80211.c528 if (params->seq_len > 0) { in wilc_wfi_cfg_copy_wpa_info()
529 key_info->seq = kmemdup(params->seq, params->seq_len, in wilc_wfi_cfg_copy_wpa_info()
537 key_info->seq_len = params->seq_len; in wilc_wfi_cfg_copy_wpa_info()
634 key_index, params->seq_len, in add_key()
702 key_params.seq_len = priv->wilc_gtk[key_index]->seq_len; in get_key()
708 key_params.seq_len = priv->wilc_ptk[key_index]->seq_len; in get_key()
A Dnetdev.h44 int seq_len; member
/linux/net/mac80211/
A Dkey.h143 size_t seq_len, const u8 *seq,
A Dkey.c534 size_t seq_len, const u8 *seq, in ieee80211_key_alloc() argument
680 if (seq_len && seq_len != cs->pn_len) { in ieee80211_key_alloc()
688 for (j = 0; j < seq_len; j++) in ieee80211_key_alloc()
690 seq[seq_len - j - 1]; in ieee80211_key_alloc()
A Dcfg.c474 params->key, params->seq_len, params->seq, in ieee80211_add_key()
654 params.seq_len = 6; in ieee80211_get_key()
687 params.seq_len = 6; in ieee80211_get_key()
696 params.seq_len = kseq.hw.seq_len; in ieee80211_get_key()
/linux/drivers/net/wireless/ath/ath6kl/
A 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 …]
A Dcore.h385 u8 seq_len; member
/linux/drivers/net/wireless/marvell/mwifiex/
A Dsta_ioctl.c1129 if (kp && kp->seq && kp->seq_len) { in mwifiex_set_encode()
1130 memcpy(encrypt_key.pn, kp->seq, kp->seq_len); in mwifiex_set_encode()
1131 encrypt_key.pn_len = kp->seq_len; in mwifiex_set_encode()
/linux/drivers/net/wireless/marvell/libertas/
A Dcfg.c1479 lbs_deb_assoc("add_key: seq len %d\n", params->seq_len); in lbs_cfg_add_key()
1480 if (params->seq_len) in lbs_cfg_add_key()
1482 params->seq, params->seq_len); in lbs_cfg_add_key()
/linux/drivers/net/wireless/ath/wil6210/
A Dcfg80211.c1644 params->seq_len, params->seq); in wil_cfg80211_add_key()
1653 params->seq_len, params->seq); in wil_cfg80211_add_key()
1661 if (params->seq && params->seq_len != IEEE80211_GCMP_PN_LEN) { in wil_cfg80211_add_key()
1664 params->seq_len, mac_addr, in wil_cfg80211_add_key()
1666 params->seq_len, params->seq); in wil_cfg80211_add_key()
2075 key_params.seq_len = IEEE80211_GCMP_PN_LEN; in wil_cfg80211_ap_recovery()
/linux/drivers/net/wireless/
A Drndis_wlan.c1380 int seq_len, u32 cipher, __le32 flags) in add_wpa_key() argument
1398 if (!rx_seq || seq_len <= 0) { in add_wpa_key()
1403 if (rx_seq && seq_len > sizeof(ndis_key.rsc)) { in add_wpa_key()
1440 memcpy(ndis_key.rsc, rx_seq, seq_len); in add_wpa_key()
2399 if (params->seq && params->seq_len > 0) in rndis_add_key()
2407 params->seq_len, params->cipher, flags); in rndis_add_key()
/linux/drivers/net/ethernet/asix/
A Dax88796c_main.h546 u16 seq_len; member
A Dax88796c_main.c210 info->eop.seq_len = ((info->seq_num << 11) & in ax88796c_proc_tx_hdr()
215 cpu_to_be16s(&info->eop.seq_len); in ax88796c_proc_tx_hdr()
/linux/drivers/staging/wlan-ng/
A Dcfg80211.c197 params.seq_len = 0; in prism2_get_key()
/linux/net/ipv4/
A Dtcp_input.c992 u32 seq_len, dup_segs = 1; in tcp_dsack_seen() local
997 seq_len = end_seq - start_seq; in tcp_dsack_seen()
999 if (seq_len > tp->max_window) in tcp_dsack_seen()
1001 if (seq_len > tp->mss_cache) in tcp_dsack_seen()
1002 dup_segs = DIV_ROUND_UP(seq_len, tp->mss_cache); in tcp_dsack_seen()
/linux/drivers/staging/rtl8723bs/os_dep/
A Dioctl_cfg80211.c994 if (params->seq_len && params->seq) in cfg80211_rtw_add_key()
996 memcpy(param->u.crypt.seq, (u8 *)params->seq, params->seq_len); in cfg80211_rtw_add_key()

Completed in 149 milliseconds

12