/linux-6.1.9/fs/crypto/ |
D | keysetup.c | 524 struct fscrypt_info *crypt_info; in fscrypt_setup_encryption_info() local 533 crypt_info = kmem_cache_zalloc(fscrypt_info_cachep, GFP_KERNEL); in fscrypt_setup_encryption_info() 534 if (!crypt_info) in fscrypt_setup_encryption_info() 537 crypt_info->ci_inode = inode; in fscrypt_setup_encryption_info() 538 crypt_info->ci_policy = *policy; in fscrypt_setup_encryption_info() 539 memcpy(crypt_info->ci_nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_setup_encryption_info() 541 mode = select_encryption_mode(&crypt_info->ci_policy, inode); in fscrypt_setup_encryption_info() 547 crypt_info->ci_mode = mode; in fscrypt_setup_encryption_info() 549 res = setup_file_encryption_key(crypt_info, need_dirhash_key, &mk); in fscrypt_setup_encryption_info() 559 if (cmpxchg_release(&inode->i_crypt_info, NULL, crypt_info) == NULL) { in fscrypt_setup_encryption_info() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_wx.c | 319 key = ieee->crypt_info.tx_keyidx; in libipw_wx_set_encode() 325 crypt = &ieee->crypt_info.crypt[key]; in libipw_wx_set_encode() 331 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in libipw_wx_set_encode() 338 if (ieee->crypt_info.crypt[i] != NULL) { in libipw_wx_set_encode() 341 lib80211_crypt_delayed_deinit(&ieee->crypt_info, in libipw_wx_set_encode() 342 &ieee->crypt_info.crypt[i]); in libipw_wx_set_encode() 364 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in libipw_wx_set_encode() 434 ieee->crypt_info.tx_keyidx = key; in libipw_wx_set_encode() 478 key = ieee->crypt_info.tx_keyidx; in libipw_wx_get_encode() 525 idx = ieee->crypt_info.tx_keyidx; in libipw_wx_set_encodeext() [all …]
|
D | libipw_tx.c | 142 ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_encrypt_fragment() 283 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_xmit()
|
D | libipw_module.c | 172 lib80211_crypt_info_init(&ieee->crypt_info, dev->name, &ieee->lock); in alloc_libipw() 194 lib80211_crypt_info_free(&ieee->crypt_info); in free_libipw()
|
D | libipw.h | 764 struct lib80211_crypt_info crypt_info; member
|
D | ipw2100.c | 4060 DUMP_VAR(ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx], "p"); in internals_show() 5528 ipw2100_set_key_index(priv, priv->ieee->crypt_info.tx_keyidx, 1); in ipw2100_configure_security() 7605 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw2100_wx_set_auth() 7696 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw2100_wx_get_auth()
|
D | libipw_rx.c | 429 crypt = ieee->crypt_info.crypt[keyidx]; in libipw_rx()
|
D | ipw2200.c | 6617 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_set_auth() 6708 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_get_auth() 10180 tfd->u.data.key_index = priv->ieee->crypt_info.tx_keyidx; in ipw_tx_skb() 10181 if (priv->ieee->sec.key_sizes[priv->ieee->crypt_info.tx_keyidx] <= in ipw_tx_skb()
|
/linux-6.1.9/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 296 key = ieee->crypt_info.tx_keyidx; in rtllib_wx_set_encode() 301 crypt = &ieee->crypt_info.crypt[key]; in rtllib_wx_set_encode() 306 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in rtllib_wx_set_encode() 315 if (ieee->crypt_info.crypt[i]) { in rtllib_wx_set_encode() 318 lib80211_crypt_delayed_deinit(&ieee->crypt_info, in rtllib_wx_set_encode() 319 &ieee->crypt_info.crypt[i]); in rtllib_wx_set_encode() 340 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in rtllib_wx_set_encode() 390 ieee->crypt_info.tx_keyidx = key; in rtllib_wx_set_encode() 410 ieee->crypt_info.tx_keyidx = key; in rtllib_wx_set_encode() 466 key = ieee->crypt_info.tx_keyidx; in rtllib_wx_get_encode() [all …]
|
D | rtllib_module.c | 113 lib80211_crypt_info_init(&ieee->crypt_info, "RTLLIB", &ieee->lock); in alloc_rtllib() 149 lib80211_crypt_info_free(&ieee->crypt_info); in alloc_rtllib() 166 lib80211_crypt_info_free(&ieee->crypt_info); in free_rtllib()
|
D | rtllib_tx.c | 163 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_encrypt_fragment() 641 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_xmit_inter()
|
D | rtllib_softmac.c | 855 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_probe_resp() 906 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_probe_resp() 995 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_assoc_resp() 1172 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_association_req() 3131 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_ap_sec_type()
|
D | rtllib.h | 1517 struct lib80211_crypt_info crypt_info; member
|
D | rtllib_rx.c | 1054 *crypt = ieee->crypt_info.crypt[idx]; in rtllib_rx_get_crypt()
|
/linux-6.1.9/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() 185 seq_printf(m, "tx_keyidx=%d\n", local->crypt_info.tx_keyidx); in prism2_crypt_proc_show() 187 if (local->crypt_info.crypt[i] && in prism2_crypt_proc_show() 188 local->crypt_info.crypt[i]->ops && in prism2_crypt_proc_show() 189 local->crypt_info.crypt[i]->ops->print_stats) { in prism2_crypt_proc_show() 190 local->crypt_info.crypt[i]->ops->print_stats( in prism2_crypt_proc_show() 191 m, local->crypt_info.crypt[i]->priv); in prism2_crypt_proc_show()
|
D | hostap_main.c | 333 idx = local->crypt_info.tx_keyidx; in hostap_set_encryption() 334 if (local->crypt_info.crypt[idx] == NULL || in hostap_set_encryption() 335 local->crypt_info.crypt[idx]->ops == NULL) in hostap_set_encryption() 337 else if (strcmp(local->crypt_info.crypt[idx]->ops->name, "WEP") == 0) in hostap_set_encryption() 385 len = local->crypt_info.crypt[idx]->ops->get_key(keybuf, sizeof(keybuf), NULL, in hostap_set_encryption() 386 local->crypt_info.crypt[idx]->priv); in hostap_set_encryption() 392 if (local->crypt_info.crypt[i]) { in hostap_set_encryption() 393 (void) local->crypt_info.crypt[i]->ops->get_key( in hostap_set_encryption() 395 NULL, local->crypt_info.crypt[i]->priv); in hostap_set_encryption()
|
D | hostap_ioctl.c | 128 i = local->crypt_info.tx_keyidx; in prism2_ioctl_siwencode() 134 crypt = &local->crypt_info.crypt[i]; in prism2_ioctl_siwencode() 138 lib80211_crypt_delayed_deinit(&local->crypt_info, crypt); in prism2_ioctl_siwencode() 145 lib80211_crypt_delayed_deinit(&local->crypt_info, crypt); in prism2_ioctl_siwencode() 182 if (j != i && local->crypt_info.crypt[j]) { in prism2_ioctl_siwencode() 188 local->crypt_info.tx_keyidx = i; in prism2_ioctl_siwencode() 191 local->crypt_info.tx_keyidx = i; in prism2_ioctl_siwencode() 231 i = local->crypt_info.tx_keyidx; in prism2_ioctl_giwencode() 237 crypt = local->crypt_info.crypt[i]; in prism2_ioctl_giwencode() 3203 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 | 771 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 | 3190 lib80211_crypt_info_init(&local->crypt_info, dev->name, &local->lock); in prism2_init_local_data() 3291 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-6.1.9/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-6.1.9/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 701 key_idx = ieee->crypt_info.tx_keyidx; in _rtl92e_wx_set_enc()
|