/linux/fs/crypto/ |
A D | keysetup.c | 540 struct fscrypt_info *crypt_info; in fscrypt_setup_encryption_info() local 550 if (!crypt_info) in fscrypt_setup_encryption_info() 553 crypt_info->ci_inode = inode; in fscrypt_setup_encryption_info() 554 crypt_info->ci_policy = *policy; in fscrypt_setup_encryption_info() 555 memcpy(crypt_info->ci_nonce, nonce, FSCRYPT_FILE_NONCE_SIZE); in fscrypt_setup_encryption_info() 557 mode = select_encryption_mode(&crypt_info->ci_policy, inode); in fscrypt_setup_encryption_info() 563 crypt_info->ci_mode = mode; in fscrypt_setup_encryption_info() 586 crypt_info->ci_master_key = key_get(master_key); in fscrypt_setup_encryption_info() 588 list_add(&crypt_info->ci_master_key_link, in fscrypt_setup_encryption_info() 592 crypt_info = NULL; in fscrypt_setup_encryption_info() [all …]
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
A 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() 342 &ieee->crypt_info.crypt[i]); 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() 528 crypt = &ieee->crypt_info.crypt[idx]; in libipw_wx_set_encodeext() 535 crypt = &ieee->crypt_info.crypt[idx]; in libipw_wx_set_encodeext() 547 if (ieee->crypt_info.crypt[i] != NULL) in libipw_wx_set_encodeext() 630 ieee->crypt_info.tx_keyidx = idx; in libipw_wx_set_encodeext() [all …]
|
A 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()
|
A 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()
|
A D | libipw.h | 765 struct lib80211_crypt_info crypt_info; member
|
A D | ipw2100.c | 4060 DUMP_VAR(ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx], "p"); in show_internals() 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()
|
A D | libipw_rx.c | 429 crypt = ieee->crypt_info.crypt[keyidx]; in libipw_rx()
|
A D | ipw2200.c | 6620 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_set_auth() 6711 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_get_auth() 10183 tfd->u.data.key_index = priv->ieee->crypt_info.tx_keyidx; in ipw_tx_skb() 10184 if (priv->ieee->sec.key_sizes[priv->ieee->crypt_info.tx_keyidx] <= in ipw_tx_skb()
|
/linux/drivers/staging/rtl8192e/ |
A D | rtllib_wx.c | 304 key = ieee->crypt_info.tx_keyidx; in rtllib_wx_set_encode() 309 crypt = &ieee->crypt_info.crypt[key]; in rtllib_wx_set_encode() 322 if (ieee->crypt_info.crypt[i]) { in rtllib_wx_set_encode() 397 ieee->crypt_info.tx_keyidx = key; in rtllib_wx_set_encode() 417 ieee->crypt_info.tx_keyidx = key; in rtllib_wx_set_encode() 473 key = ieee->crypt_info.tx_keyidx; in rtllib_wx_get_encode() 475 crypt = ieee->crypt_info.crypt[key]; in rtllib_wx_get_encode() 522 idx = ieee->crypt_info.tx_keyidx; in rtllib_wx_set_encode_ext() 525 crypt = &ieee->crypt_info.crypt[idx]; in rtllib_wx_set_encode_ext() 544 if (ieee->crypt_info.crypt[i]) in rtllib_wx_set_encode_ext() [all …]
|
A D | rtllib_module.c | 113 lib80211_crypt_info_init(&ieee->crypt_info, "RTLLIB", &ieee->lock); in alloc_rtllib() 159 lib80211_crypt_info_free(&ieee->crypt_info); in free_rtllib()
|
A D | rtllib_tx.c | 163 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_encrypt_fragment() 643 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_xmit_inter()
|
A 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() 3130 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_ap_sec_type()
|
A D | rtllib.h | 1517 struct lib80211_crypt_info crypt_info; member
|
A D | rtllib_rx.c | 1054 *crypt = ieee->crypt_info.crypt[idx]; in rtllib_rx_get_crypt()
|
/linux/drivers/net/wireless/intersil/hostap/ |
A 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()
|
A 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()
|
A 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() 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() 3212 crypt = &local->crypt_info.crypt[i]; in prism2_ioctl_siwencodeext() 3320 local->crypt_info.tx_keyidx = i; in prism2_ioctl_siwencodeext() 3333 local->crypt_info.tx_keyidx = i; in prism2_ioctl_siwencodeext() [all …]
|
A 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()
|
A D | hostap_wlan.h | 769 struct lib80211_crypt_info crypt_info; member
|
A D | hostap_80211_rx.c | 784 crypt = local->crypt_info.crypt[idx]; in hostap_80211_rx()
|
A D | hostap_hw.c | 3189 lib80211_crypt_info_init(&local->crypt_info, dev->name, &local->lock); in prism2_init_local_data() 3290 lib80211_crypt_info_free(&local->crypt_info); in prism2_free_local_data()
|
A D | hostap_ap.c | 1321 crypt = local->crypt_info.crypt[idx]; in handle_authen()
|
/linux/drivers/s390/char/ |
A D | tape_3590.h | 48 struct tape390_crypt_info crypt_info; member 53 ((struct tape_3590_disc_data*)(device->discdata))->crypt_info
|
A D | tape_3590.c | 1545 data->crypt_info.capability |= TAPE390_CRYPT_SUPPORTED_MASK; in tape_3590_setup_device()
|
/linux/drivers/staging/rtl8192e/rtl8192e/ |
A D | rtl_wx.c | 709 key_idx = ieee->crypt_info.tx_keyidx; in _rtl92e_wx_set_enc()
|