Home
last modified time | relevance | path

Searched refs:key_buf (Results 1 – 21 of 21) sorted by relevance

/drivers/staging/rtl8192e/rtl8192e/
Drtl_cam.c76 memcpy(ieee->swcamtable[EntryNo].key_buf, (u8 *)KeyContent, 16); in rtl92e_set_swcam()
179 [EntryId].key_buf[0])); in rtl92e_cam_restore()
188 (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
193 (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
201 (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
205 0, (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
216 (u32 *)(&priv->rtllib->swcamtable[EntryId].key_buf[0])); in rtl92e_cam_restore()
224 (u32 *)(&priv->rtllib->swcamtable[0].key_buf[0])); in rtl92e_cam_restore()
239 (u32 *)(&priv->rtllib->swcamtable[EntryId].key_buf[0])); in rtl92e_cam_restore()
248 (u32 *)(&priv->rtllib->swcamtable[0].key_buf[0])); in rtl92e_cam_restore()
/drivers/net/wireless/microchip/wilc1000/
Dhif.c1139 struct wilc_ap_wpa_ptk *key_buf; in wilc_add_ptk() local
1146 key_buf = kzalloc(sizeof(*key_buf) + t_key_len, GFP_KERNEL); in wilc_add_ptk()
1147 if (!key_buf) in wilc_add_ptk()
1150 ether_addr_copy(key_buf->mac_addr, mac_addr); in wilc_add_ptk()
1151 key_buf->index = index; in wilc_add_ptk()
1152 key_buf->key_len = t_key_len; in wilc_add_ptk()
1153 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk()
1156 memcpy(&key_buf->key[ptk_key_len], rx_mic, in wilc_add_ptk()
1160 memcpy(&key_buf->key[ptk_key_len + WILC_RX_MIC_KEY_LEN], in wilc_add_ptk()
1165 wid_list[1].size = sizeof(*key_buf) + t_key_len; in wilc_add_ptk()
[all …]
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c550 void *key_buf; in dpaa2_eth_do_cls_rule() local
560 key_buf = kzalloc(rule_cfg.key_size * 2, GFP_KERNEL); in dpaa2_eth_do_cls_rule()
561 if (!key_buf) in dpaa2_eth_do_cls_rule()
565 err = dpaa2_eth_prep_cls_rule(fs, key_buf, key_buf + rule_cfg.key_size, &fields); in dpaa2_eth_do_cls_rule()
591 dpaa2_eth_cls_trim_rule(key_buf, fields); in dpaa2_eth_do_cls_rule()
595 key_iova = dma_map_single(dev, key_buf, rule_cfg.key_size * 2, in dpaa2_eth_do_cls_rule()
628 kfree(key_buf); in dpaa2_eth_do_cls_rule()
/drivers/crypto/bcm/
Dspu2.c1004 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request()
1011 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len); in spu2_create_request()
1038 memcpy(hash_parms->key_buf, cipher_parms->key_buf, in spu2_create_request()
1092 memcpy(ptr, hash_parms->key_buf, hash_parms->key_len); in spu2_create_request()
1097 memcpy(ptr, cipher_parms->key_buf, cipher_parms->key_len); in spu2_create_request()
1139 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spu2_cipher_req_init()
1160 if (cipher_parms->key_buf && cipher_parms->key_len) in spu2_cipher_req_init()
1161 memcpy(omd, cipher_parms->key_buf, cipher_parms->key_len); in spu2_cipher_req_init()
Dspu.c648 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spum_create_request()
655 flow_dump(" authkey: ", hash_parms->key_buf, hash_parms->key_len); in spum_create_request()
704 memcpy(ptr, hash_parms->key_buf, hash_parms->key_len); in spum_create_request()
738 memcpy(ptr, cipher_parms->key_buf, in spum_create_request()
846 flow_dump(" key: ", cipher_parms->key_buf, cipher_parms->key_len); in spum_cipher_req_init()
888 memcpy(spuh + 1, cipher_parms->key_buf, cipher_parms->key_len); in spum_cipher_req_init()
Dspu.h120 u8 *key_buf; member
132 u8 *key_buf; member
Dcipher.c329 cipher_parms.key_buf = ctx->enckey; in handle_skcipher_req()
707 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_ahash_req()
799 hash_parms.key_buf = rctx->incr_hash; in handle_ahash_req()
1304 cipher_parms.key_buf = ctx->enckey; in handle_aead_req()
1312 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_aead_req()
1872 cipher_parms.key_buf = ctx->enckey; in skcipher_setkey()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c222 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92c_set_key()
283 rtlpriv->sec.key_buf[0][0], in rtl92c_set_key()
284 rtlpriv->sec.key_buf[0][1]); in rtl92c_set_key()
300 key_buf[key_index]); in rtl92c_set_key()
311 rtlpriv->sec.key_buf in rtl92c_set_key()
317 rtlpriv->sec.key_buf[entry_id]); in rtl92c_set_key()
/drivers/crypto/qat/qat_common/
Dadf_transport.c357 char key_buf[ADF_CFG_MAX_KEY_LEN_IN_BYTES]; in adf_get_cfg_int() local
360 snprintf(key_buf, ADF_CFG_MAX_KEY_LEN_IN_BYTES, format, key); in adf_get_cfg_int()
362 if (adf_cfg_get_param_value(accel_dev, section, key_buf, val_buf)) in adf_get_cfg_int()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c2119 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92de_set_key()
2179 rtlpriv->sec.key_buf[0][0], in rtl92de_set_key()
2180 rtlpriv->sec.key_buf[0][1]); in rtl92de_set_key()
2195 sec.key_buf[key_index]); in rtl92de_set_key()
2205 rtlpriv->sec.key_buf[entry_id]); in rtl92de_set_key()
2210 rtlpriv->sec.key_buf in rtl92de_set_key()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c2100 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92ce_set_key()
2166 rtlpriv->sec.key_buf[0][0], in rtl92ce_set_key()
2167 rtlpriv->sec.key_buf[0][1]); in rtl92ce_set_key()
2185 key_buf[key_index]); in rtl92ce_set_key()
2197 rtlpriv->sec.key_buf in rtl92ce_set_key()
2204 rtlpriv->sec.key_buf[entry_id]); in rtl92ce_set_key()
/drivers/net/wireless/realtek/rtlwifi/
Dcore.c1645 memcpy(rtlpriv->sec.key_buf[key_idx], in rtl_op_set_key()
1655 memcpy(rtlpriv->sec.key_buf[key_idx], in rtl_op_set_key()
1672 memcpy(rtlpriv->sec.key_buf[PAIRWISE_KEYIDX], in rtl_op_set_key()
1676 rtlpriv->sec.key_buf[PAIRWISE_KEYIDX]; in rtl_op_set_key()
1701 memset(rtlpriv->sec.key_buf[key_idx], 0, key->keylen); in rtl_op_set_key()
Dcam.c15 memset(rtlpriv->sec.key_buf, 0, KEY_BUF_SIZE * MAX_KEY_LEN); in rtl_cam_reset_sec_info()
Dwifi.h1741 u8 key_buf[KEY_BUF_SIZE][MAX_KEY_LEN]; member
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c2413 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92se_set_key()
2481 rtlpriv->sec.key_buf[key_index]); in rtl92se_set_key()
2492 rtlpriv->sec.key_buf[entry_id]); in rtl92se_set_key()
2498 rtlpriv->sec.key_buf[entry_id]); in rtl92se_set_key()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c2179 memset(rtlpriv->sec.key_buf[idx], 0, in rtl8723e_set_key()
2247 rtlpriv->sec.key_buf[key_index]); in rtl8723e_set_key()
2259 rtlpriv->sec.key_buf in rtl8723e_set_key()
2266 rtlpriv->sec.key_buf[entry_id]); in rtl8723e_set_key()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c2307 memset(rtlpriv->sec.key_buf[idx], 0, in rtl88ee_set_key()
2376 rtlpriv->sec.key_buf[key_index]); in rtl88ee_set_key()
2388 rtlpriv->sec.key_buf in rtl88ee_set_key()
2395 rtlpriv->sec.key_buf[entry_id]); in rtl88ee_set_key()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c2448 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92ee_set_key()
2518 rtlpriv->sec.key_buf[key_index]); in rtl92ee_set_key()
2529 rtlpriv->sec.key_buf[entry_id]); in rtl92ee_set_key()
2535 rtlpriv->sec.key_buf[entry_id]); in rtl92ee_set_key()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c2572 memset(rtlpriv->sec.key_buf[idx], 0, in rtl8723be_set_key()
2640 rtlpriv->sec.key_buf[key_index]); in rtl8723be_set_key()
2652 rtlpriv->sec.key_buf in rtl8723be_set_key()
2659 rtlpriv->sec.key_buf[entry_id]); in rtl8723be_set_key()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c3854 memset(rtlpriv->sec.key_buf[idx], 0, in rtl8821ae_set_key()
3920 rtlpriv->sec.key_buf[key_index]); in rtl8821ae_set_key()
3932 rtlpriv->sec.key_buf in rtl8821ae_set_key()
3939 rtlpriv->sec.key_buf[entry_id]); in rtl8821ae_set_key()
/drivers/staging/rtl8192e/
Drtllib.h1353 u8 key_buf[16]; member