Home
last modified time | relevance | path

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

/drivers/staging/rtl8192e/rtl8192e/
Drtl_cam.c65 memcpy(ieee->swcamtable[EntryNo].key_buf, (u8 *)KeyContent, 16); in rtl92e_set_swcam()
155 [EntryId].key_buf[0])); in rtl92e_cam_restore()
164 (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
169 (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
177 (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
181 0, (u32 *)(&priv->rtllib->swcamtable[4].key_buf[0])); in rtl92e_cam_restore()
192 (u32 *)(&priv->rtllib->swcamtable[EntryId].key_buf[0])); in rtl92e_cam_restore()
200 (u32 *)(&priv->rtllib->swcamtable[0].key_buf[0])); in rtl92e_cam_restore()
215 (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()
/drivers/net/wireless/microchip/wilc1000/
Dhif.c1113 struct wilc_ap_wpa_ptk *key_buf; in wilc_add_ptk() local
1120 key_buf = kzalloc(sizeof(*key_buf) + t_key_len, GFP_KERNEL); in wilc_add_ptk()
1121 if (!key_buf) in wilc_add_ptk()
1124 ether_addr_copy(key_buf->mac_addr, mac_addr); in wilc_add_ptk()
1125 key_buf->index = index; in wilc_add_ptk()
1126 key_buf->key_len = t_key_len; in wilc_add_ptk()
1127 memcpy(&key_buf->key[0], ptk, ptk_key_len); in wilc_add_ptk()
1130 memcpy(&key_buf->key[ptk_key_len], rx_mic, in wilc_add_ptk()
1134 memcpy(&key_buf->key[ptk_key_len + WILC_RX_MIC_KEY_LEN], in wilc_add_ptk()
1139 wid_list[1].size = sizeof(*key_buf) + t_key_len; in wilc_add_ptk()
[all …]
/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.c328 cipher_parms.key_buf = ctx->enckey; in handle_skcipher_req()
706 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_ahash_req()
798 hash_parms.key_buf = rctx->incr_hash; in handle_ahash_req()
1303 cipher_parms.key_buf = ctx->enckey; in handle_aead_req()
1311 hash_parms.key_buf = (u8 *)ctx->authkey; in handle_aead_req()
1871 cipher_parms.key_buf = ctx->enckey; in skcipher_setkey()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c582 void *key_buf; in dpaa2_eth_do_cls_rule() local
592 key_buf = kzalloc(rule_cfg.key_size * 2, GFP_KERNEL); in dpaa2_eth_do_cls_rule()
593 if (!key_buf) in dpaa2_eth_do_cls_rule()
597 err = dpaa2_eth_prep_cls_rule(fs, key_buf, key_buf + rule_cfg.key_size, &fields); in dpaa2_eth_do_cls_rule()
623 dpaa2_eth_cls_trim_rule(key_buf, fields); in dpaa2_eth_do_cls_rule()
627 key_iova = dma_map_single(dev, key_buf, rule_cfg.key_size * 2, in dpaa2_eth_do_cls_rule()
660 kfree(key_buf); in dpaa2_eth_do_cls_rule()
/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/intel/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.c2113 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92de_set_key()
2173 rtlpriv->sec.key_buf[0][0], in rtl92de_set_key()
2174 rtlpriv->sec.key_buf[0][1]); in rtl92de_set_key()
2189 sec.key_buf[key_index]); in rtl92de_set_key()
2199 rtlpriv->sec.key_buf[entry_id]); in rtl92de_set_key()
2204 rtlpriv->sec.key_buf in rtl92de_set_key()
/drivers/net/wireless/realtek/rtlwifi/
Dcore.c1646 memcpy(rtlpriv->sec.key_buf[key_idx], in rtl_op_set_key()
1656 memcpy(rtlpriv->sec.key_buf[key_idx], in rtl_op_set_key()
1673 memcpy(rtlpriv->sec.key_buf[PAIRWISE_KEYIDX], in rtl_op_set_key()
1677 rtlpriv->sec.key_buf[PAIRWISE_KEYIDX]; in rtl_op_set_key()
1702 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.h1728 u8 key_buf[KEY_BUF_SIZE][MAX_KEY_LEN]; member
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c2109 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92ce_set_key()
2175 rtlpriv->sec.key_buf[0][0], in rtl92ce_set_key()
2176 rtlpriv->sec.key_buf[0][1]); in rtl92ce_set_key()
2194 key_buf[key_index]); in rtl92ce_set_key()
2206 rtlpriv->sec.key_buf in rtl92ce_set_key()
2213 rtlpriv->sec.key_buf[entry_id]); in rtl92ce_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/rtl8192se/
Dhw.c2404 memset(rtlpriv->sec.key_buf[idx], 0, in rtl92se_set_key()
2472 rtlpriv->sec.key_buf[key_index]); in rtl92se_set_key()
2483 rtlpriv->sec.key_buf[entry_id]); in rtl92se_set_key()
2489 rtlpriv->sec.key_buf[entry_id]); in rtl92se_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.h1297 u8 key_buf[16]; member