/Linux-v4.19/fs/crypto/ |
D | keyinfo.c | 290 struct fscrypt_info *crypt_info; in fscrypt_get_encryption_info() local 325 crypt_info = kmem_cache_alloc(fscrypt_info_cachep, GFP_NOFS); in fscrypt_get_encryption_info() 326 if (!crypt_info) in fscrypt_get_encryption_info() 329 crypt_info->ci_flags = ctx.flags; in fscrypt_get_encryption_info() 330 crypt_info->ci_data_mode = ctx.contents_encryption_mode; in fscrypt_get_encryption_info() 331 crypt_info->ci_filename_mode = ctx.filenames_encryption_mode; in fscrypt_get_encryption_info() 332 crypt_info->ci_ctfm = NULL; in fscrypt_get_encryption_info() 333 crypt_info->ci_essiv_tfm = NULL; in fscrypt_get_encryption_info() 334 memcpy(crypt_info->ci_master_key, ctx.master_key_descriptor, in fscrypt_get_encryption_info() 335 sizeof(crypt_info->ci_master_key)); in fscrypt_get_encryption_info() [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_wx.c | 333 key = ieee->crypt_info.tx_keyidx; in libipw_wx_set_encode() 339 crypt = &ieee->crypt_info.crypt[key]; in libipw_wx_set_encode() 345 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in libipw_wx_set_encode() 352 if (ieee->crypt_info.crypt[i] != NULL) { in libipw_wx_set_encode() 355 lib80211_crypt_delayed_deinit(&ieee->crypt_info, in libipw_wx_set_encode() 356 &ieee->crypt_info.crypt[i]); in libipw_wx_set_encode() 378 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in libipw_wx_set_encode() 448 ieee->crypt_info.tx_keyidx = key; in libipw_wx_set_encode() 492 key = ieee->crypt_info.tx_keyidx; in libipw_wx_get_encode() 539 idx = ieee->crypt_info.tx_keyidx; in libipw_wx_set_encodeext() [all …]
|
D | libipw_tx.c | 156 ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_encrypt_fragment() 297 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_xmit()
|
D | libipw_module.c | 186 lib80211_crypt_info_init(&ieee->crypt_info, dev->name, &ieee->lock); in alloc_libipw() 208 lib80211_crypt_info_free(&ieee->crypt_info); in free_libipw()
|
D | libipw.h | 770 struct lib80211_crypt_info crypt_info; member
|
D | ipw2100.c | 4078 DUMP_VAR(ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx], "p"); in show_internals() 5544 ipw2100_set_key_index(priv, priv->ieee->crypt_info.tx_keyidx, 1); in ipw2100_configure_security() 7645 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw2100_wx_set_auth() 7736 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw2100_wx_get_auth()
|
D | libipw_rx.c | 433 crypt = ieee->crypt_info.crypt[keyidx]; in libipw_rx()
|
D | ipw2200.c | 6632 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_set_auth() 6723 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_get_auth() 10202 tfd->u.data.key_index = priv->ieee->crypt_info.tx_keyidx; in ipw_tx_skb() 10203 if (priv->ieee->sec.key_sizes[priv->ieee->crypt_info.tx_keyidx] <= in ipw_tx_skb()
|
/Linux-v4.19/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 322 key = ieee->crypt_info.tx_keyidx; in rtllib_wx_set_encode() 327 crypt = &ieee->crypt_info.crypt[key]; in rtllib_wx_set_encode() 332 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in rtllib_wx_set_encode() 340 if (ieee->crypt_info.crypt[i] != NULL) { in rtllib_wx_set_encode() 343 lib80211_crypt_delayed_deinit(&ieee->crypt_info, in rtllib_wx_set_encode() 344 &ieee->crypt_info.crypt[i]); in rtllib_wx_set_encode() 367 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in rtllib_wx_set_encode() 417 ieee->crypt_info.tx_keyidx = key; in rtllib_wx_set_encode() 438 ieee->crypt_info.tx_keyidx = key; in rtllib_wx_set_encode() 496 key = ieee->crypt_info.tx_keyidx; in rtllib_wx_get_encode() [all …]
|
D | rtllib_module.c | 127 lib80211_crypt_info_init(&ieee->crypt_info, "RTLLIB", &ieee->lock); in alloc_rtllib() 173 lib80211_crypt_info_free(&ieee->crypt_info); in free_rtllib()
|
D | rtllib_tx.c | 179 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_encrypt_fragment() 659 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_xmit_inter()
|
D | rtllib_softmac.c | 859 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_probe_resp() 910 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_probe_resp() 999 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_assoc_resp() 1176 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_association_req() 3145 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_ap_sec_type()
|
D | rtllib.h | 1522 struct lib80211_crypt_info crypt_info; member
|
D | rtllib_rx.c | 1062 *crypt = ieee->crypt_info.crypt[idx]; in rtllib_rx_get_crypt()
|
/Linux-v4.19/drivers/net/wireless/intersil/hostap/ |
D | hostap_proc.c | 32 if (local->crypt_info.crypt[i] && in prism2_debug_proc_show() 33 local->crypt_info.crypt[i]->ops) { in prism2_debug_proc_show() 35 local->crypt_info.crypt[i]->ops->name); in prism2_debug_proc_show() 183 seq_printf(m, "tx_keyidx=%d\n", local->crypt_info.tx_keyidx); in prism2_crypt_proc_show() 185 if (local->crypt_info.crypt[i] && in prism2_crypt_proc_show() 186 local->crypt_info.crypt[i]->ops && in prism2_crypt_proc_show() 187 local->crypt_info.crypt[i]->ops->print_stats) { in prism2_crypt_proc_show() 188 local->crypt_info.crypt[i]->ops->print_stats( in prism2_crypt_proc_show() 189 m, local->crypt_info.crypt[i]->priv); in prism2_crypt_proc_show()
|
D | hostap_main.c | 337 idx = local->crypt_info.tx_keyidx; in hostap_set_encryption() 338 if (local->crypt_info.crypt[idx] == NULL || in hostap_set_encryption() 339 local->crypt_info.crypt[idx]->ops == NULL) in hostap_set_encryption() 341 else if (strcmp(local->crypt_info.crypt[idx]->ops->name, "WEP") == 0) in hostap_set_encryption() 389 len = local->crypt_info.crypt[idx]->ops->get_key(keybuf, sizeof(keybuf), NULL, in hostap_set_encryption() 390 local->crypt_info.crypt[idx]->priv); in hostap_set_encryption() 396 if (local->crypt_info.crypt[i]) { in hostap_set_encryption() 397 (void) local->crypt_info.crypt[i]->ops->get_key( in hostap_set_encryption() 399 NULL, local->crypt_info.crypt[i]->priv); in hostap_set_encryption()
|
D | hostap_ioctl.c | 139 i = local->crypt_info.tx_keyidx; in prism2_ioctl_siwencode() 145 crypt = &local->crypt_info.crypt[i]; in prism2_ioctl_siwencode() 149 lib80211_crypt_delayed_deinit(&local->crypt_info, crypt); in prism2_ioctl_siwencode() 156 lib80211_crypt_delayed_deinit(&local->crypt_info, crypt); in prism2_ioctl_siwencode() 193 if (j != i && local->crypt_info.crypt[j]) { in prism2_ioctl_siwencode() 199 local->crypt_info.tx_keyidx = i; in prism2_ioctl_siwencode() 202 local->crypt_info.tx_keyidx = i; in prism2_ioctl_siwencode() 242 i = local->crypt_info.tx_keyidx; in prism2_ioctl_giwencode() 248 crypt = local->crypt_info.crypt[i]; in prism2_ioctl_giwencode() 3215 i = local->crypt_info.tx_keyidx; in prism2_ioctl_siwencodeext() [all …]
|
D | hostap_80211_tx.c | 414 tx.crypt = local->crypt_info.crypt[local->crypt_info.tx_keyidx]; in hostap_master_start_xmit() 497 local->crypt_info.crypt[local->crypt_info.tx_keyidx]) && in hostap_master_start_xmit()
|
D | hostap_wlan.h | 769 struct lib80211_crypt_info crypt_info; member
|
D | hostap_80211_rx.c | 784 crypt = local->crypt_info.crypt[idx]; in hostap_80211_rx()
|
D | hostap_hw.c | 3210 lib80211_crypt_info_init(&local->crypt_info, dev->name, &local->lock); in prism2_init_local_data() 3311 lib80211_crypt_info_free(&local->crypt_info); in prism2_free_local_data()
|
D | hostap_ap.c | 1321 crypt = local->crypt_info.crypt[idx]; in handle_authen()
|
/Linux-v4.19/drivers/s390/char/ |
D | tape_3590.h | 48 struct tape390_crypt_info crypt_info; member 53 ((struct tape_3590_disc_data*)(device->discdata))->crypt_info
|
D | tape_3590.c | 1545 data->crypt_info.capability |= TAPE390_CRYPT_SUPPORTED_MASK; in tape_3590_setup_device()
|
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 717 key_idx = ieee->crypt_info.tx_keyidx; in _rtl92e_wx_set_enc()
|