/linux-4.4.14/drivers/crypto/ |
D | ixp4xx_crypto.c | 346 static void finish_scattered_hmac(struct crypt_ctl *crypt) in finish_scattered_hmac() argument 348 struct aead_request *req = crypt->data.aead_req; in finish_scattered_hmac() 358 dma_pool_free(buffer_pool, req_ctx->hmac_virt, crypt->icv_rev_aes); in finish_scattered_hmac() 364 struct crypt_ctl *crypt; in one_packet() local 370 crypt = crypt_phys2virt(phys); in one_packet() 372 switch (crypt->ctl_flags & CTL_FLAG_MASK) { in one_packet() 374 struct aead_request *req = crypt->data.aead_req; in one_packet() 377 free_buf_chain(dev, req_ctx->src, crypt->src_buf); in one_packet() 378 free_buf_chain(dev, req_ctx->dst, crypt->dst_buf); in one_packet() 380 finish_scattered_hmac(crypt); in one_packet() [all …]
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 155 struct lib80211_crypt_data *crypt = in libipw_encrypt_fragment() local 156 ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_encrypt_fragment() 159 if (crypt == NULL) in libipw_encrypt_fragment() 164 atomic_inc(&crypt->refcnt); in libipw_encrypt_fragment() 166 if (crypt->ops && crypt->ops->encrypt_mpdu) in libipw_encrypt_fragment() 167 res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv); in libipw_encrypt_fragment() 169 atomic_dec(&crypt->refcnt); in libipw_encrypt_fragment() 273 struct lib80211_crypt_data *crypt; in libipw_xmit() local 297 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in libipw_xmit() 302 host_encrypt = ieee->host_encrypt && encrypt && crypt; in libipw_xmit() [all …]
|
D | libipw_wx.c | 320 struct lib80211_crypt_data **crypt; in libipw_wx_set_encode() local 339 crypt = &ieee->crypt_info.crypt[key]; in libipw_wx_set_encode() 342 if (key_provided && *crypt) { 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() 356 &ieee->crypt_info.crypt[i]); in libipw_wx_set_encode() 374 if (*crypt != NULL && (*crypt)->ops != NULL && in libipw_wx_set_encode() 375 strcmp((*crypt)->ops->name, "WEP") != 0) { in libipw_wx_set_encode() 378 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in libipw_wx_set_encode() 381 if (*crypt == NULL && host_crypto) { in libipw_wx_set_encode() [all …]
|
D | libipw_rx.c | 273 struct lib80211_crypt_data *crypt) in libipw_rx_frame_decrypt() argument 278 if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL) in libipw_rx_frame_decrypt() 284 atomic_inc(&crypt->refcnt); in libipw_rx_frame_decrypt() 285 res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); in libipw_rx_frame_decrypt() 286 atomic_dec(&crypt->refcnt); in libipw_rx_frame_decrypt() 305 struct lib80211_crypt_data *crypt) in libipw_rx_frame_decrypt_msdu() argument 310 if (crypt == NULL || crypt->ops->decrypt_msdu == NULL) in libipw_rx_frame_decrypt_msdu() 316 atomic_inc(&crypt->refcnt); in libipw_rx_frame_decrypt_msdu() 317 res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); in libipw_rx_frame_decrypt_msdu() 318 atomic_dec(&crypt->refcnt); in libipw_rx_frame_decrypt_msdu() [all …]
|
D | ipw2100.c | 4070 DUMP_VAR(ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx], "p"); in show_internals() 7626 struct lib80211_crypt_data *crypt; in ipw2100_wx_set_auth() local 7641 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw2100_wx_set_auth() 7642 if (!crypt || !crypt->ops->set_flags || !crypt->ops->get_flags) in ipw2100_wx_set_auth() 7645 flags = crypt->ops->get_flags(crypt->priv); in ipw2100_wx_set_auth() 7652 crypt->ops->set_flags(flags, crypt->priv); in ipw2100_wx_set_auth() 7718 struct lib80211_crypt_data *crypt; in ipw2100_wx_get_auth() local 7734 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw2100_wx_get_auth() 7735 if (!crypt || !crypt->ops->get_flags) { in ipw2100_wx_get_auth() 7741 param->value = (crypt->ops->get_flags(crypt->priv) & in ipw2100_wx_get_auth()
|
D | ipw2200.c | 6621 struct lib80211_crypt_data *crypt; in ipw_wx_set_auth() local 6643 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_set_auth() 6644 if (!crypt || !crypt->ops->set_flags || !crypt->ops->get_flags) in ipw_wx_set_auth() 6647 flags = crypt->ops->get_flags(crypt->priv); in ipw_wx_set_auth() 6654 crypt->ops->set_flags(flags, crypt->priv); in ipw_wx_set_auth() 6720 struct lib80211_crypt_data *crypt; in ipw_wx_get_auth() local 6734 crypt = priv->ieee->crypt_info.crypt[priv->ieee->crypt_info.tx_keyidx]; in ipw_wx_get_auth() 6735 if (!crypt || !crypt->ops->get_flags) in ipw_wx_get_auth() 6738 param->value = (crypt->ops->get_flags(crypt->priv) & in ipw_wx_get_auth()
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 300 struct ieee80211_crypt_data **crypt; in ieee80211_wx_set_encode() local 317 crypt = &ieee->crypt[key]; in ieee80211_wx_set_encode() 320 if (key_provided && *crypt) { in ieee80211_wx_set_encode() 323 ieee80211_crypt_delayed_deinit(ieee, crypt); in ieee80211_wx_set_encode() 330 if (ieee->crypt[i] != NULL) { in ieee80211_wx_set_encode() 334 ieee, &ieee->crypt[i]); in ieee80211_wx_set_encode() 352 if (*crypt != NULL && (*crypt)->ops != NULL && in ieee80211_wx_set_encode() 353 strcmp((*crypt)->ops->name, "WEP") != 0) { in ieee80211_wx_set_encode() 356 ieee80211_crypt_delayed_deinit(ieee, crypt); in ieee80211_wx_set_encode() 359 if (*crypt == NULL) { in ieee80211_wx_set_encode() [all …]
|
D | ieee80211_tx.c | 185 struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx]; in ieee80211_encrypt_fragment() local 188 if (!(crypt && crypt->ops)) in ieee80211_encrypt_fragment() 195 crypt && crypt->ops && strcmp(crypt->ops->name, "TKIP") == 0) { in ieee80211_encrypt_fragment() 213 atomic_inc(&crypt->refcnt); in ieee80211_encrypt_fragment() 215 if (crypt->ops->encrypt_msdu) in ieee80211_encrypt_fragment() 216 res = crypt->ops->encrypt_msdu(frag, hdr_len, crypt->priv); in ieee80211_encrypt_fragment() 217 if (res == 0 && crypt->ops->encrypt_mpdu) in ieee80211_encrypt_fragment() 218 res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv); in ieee80211_encrypt_fragment() 220 atomic_dec(&crypt->refcnt); in ieee80211_encrypt_fragment() 616 struct ieee80211_crypt_data *crypt; in ieee80211_xmit() local [all …]
|
D | ieee80211_module.c | 207 struct ieee80211_crypt_data *crypt = ieee->crypt[i]; in free_ieee80211() local 208 if (crypt) { in free_ieee80211() 209 if (crypt->ops) in free_ieee80211() 210 crypt->ops->deinit(crypt->priv); in free_ieee80211() 211 kfree(crypt); in free_ieee80211() 212 ieee->crypt[i] = NULL; in free_ieee80211()
|
D | ieee80211_softmac.c | 695 struct ieee80211_crypt_data *crypt; in ieee80211_probe_resp() local 725 crypt = ieee->crypt[ieee->tx_keyidx]; in ieee80211_probe_resp() 728 encrypt = ieee->host_encrypt && crypt && crypt->ops && in ieee80211_probe_resp() 729 ((0 == strcmp(crypt->ops->name, "WEP") || wpa_ie_len)); in ieee80211_probe_resp() 779 crypt = ieee->crypt[ieee->tx_keyidx]; in ieee80211_probe_resp() 845 struct ieee80211_crypt_data *crypt; in ieee80211_assoc_resp() local 874 crypt = ieee->crypt[ieee->tx_keyidx]; in ieee80211_assoc_resp() 875 else crypt = NULL; in ieee80211_assoc_resp() 877 encrypt = crypt && crypt->ops; in ieee80211_assoc_resp() 1001 struct ieee80211_crypt_data *crypt; in ieee80211_association_req() local [all …]
|
D | ieee80211_crypt.c | 78 struct ieee80211_crypt_data **crypt) in ieee80211_crypt_delayed_deinit() argument 83 if (*crypt == NULL) in ieee80211_crypt_delayed_deinit() 86 tmp = *crypt; in ieee80211_crypt_delayed_deinit() 87 *crypt = NULL; in ieee80211_crypt_delayed_deinit()
|
D | ieee80211_rx.c | 339 struct ieee80211_crypt_data *crypt) in ieee80211_rx_frame_decrypt() argument 344 if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL) in ieee80211_rx_frame_decrypt() 355 strcmp(crypt->ops->name, "TKIP") == 0) { in ieee80211_rx_frame_decrypt() 364 atomic_inc(&crypt->refcnt); in ieee80211_rx_frame_decrypt() 365 res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); in ieee80211_rx_frame_decrypt() 366 atomic_dec(&crypt->refcnt); in ieee80211_rx_frame_decrypt() 386 int keyidx, struct ieee80211_crypt_data *crypt) in ieee80211_rx_frame_decrypt_msdu() argument 391 if (crypt == NULL || crypt->ops->decrypt_msdu == NULL) in ieee80211_rx_frame_decrypt_msdu() 402 atomic_inc(&crypt->refcnt); in ieee80211_rx_frame_decrypt_msdu() 403 res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); in ieee80211_rx_frame_decrypt_msdu() [all …]
|
D | ieee80211_crypt.h | 84 struct ieee80211_crypt_data **crypt);
|
D | ieee80211.h | 326 } crypt; member 1721 struct ieee80211_crypt_data *crypt[WEP_KEYS]; member
|
/linux-4.4.14/net/wireless/ |
D | lib80211.c | 74 struct lib80211_crypt_data *crypt = info->crypt[i]; in lib80211_crypt_info_free() local 75 if (crypt) { in lib80211_crypt_info_free() 76 if (crypt->ops) { in lib80211_crypt_info_free() 77 crypt->ops->deinit(crypt->priv); in lib80211_crypt_info_free() 78 module_put(crypt->ops->owner); in lib80211_crypt_info_free() 80 kfree(crypt); in lib80211_crypt_info_free() 81 info->crypt[i] = NULL; in lib80211_crypt_info_free() 137 struct lib80211_crypt_data **crypt) in lib80211_crypt_delayed_deinit() argument 142 if (*crypt == NULL) in lib80211_crypt_delayed_deinit() 145 tmp = *crypt; in lib80211_crypt_delayed_deinit() [all …]
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
D | hostap_80211_tx.c | 315 struct lib80211_crypt_data *crypt) in hostap_tx_encrypt() argument 331 strcmp(crypt->ops->name, "TKIP") == 0) { in hostap_tx_encrypt() 346 prefix_len = crypt->ops->extra_mpdu_prefix_len + in hostap_tx_encrypt() 347 crypt->ops->extra_msdu_prefix_len; in hostap_tx_encrypt() 348 postfix_len = crypt->ops->extra_mpdu_postfix_len + in hostap_tx_encrypt() 349 crypt->ops->extra_msdu_postfix_len; in hostap_tx_encrypt() 362 atomic_inc(&crypt->refcnt); in hostap_tx_encrypt() 364 if (crypt->ops->encrypt_msdu) in hostap_tx_encrypt() 365 res = crypt->ops->encrypt_msdu(skb, hdr_len, crypt->priv); in hostap_tx_encrypt() 366 if (res == 0 && crypt->ops->encrypt_mpdu) in hostap_tx_encrypt() [all …]
|
D | hostap_ioctl.c | 131 struct lib80211_crypt_data **crypt; in prism2_ioctl_siwencode() local 144 crypt = &local->crypt_info.crypt[i]; in prism2_ioctl_siwencode() 147 if (*crypt) in prism2_ioctl_siwencode() 148 lib80211_crypt_delayed_deinit(&local->crypt_info, crypt); in prism2_ioctl_siwencode() 152 if (*crypt != NULL && (*crypt)->ops != NULL && in prism2_ioctl_siwencode() 153 strcmp((*crypt)->ops->name, "WEP") != 0) { in prism2_ioctl_siwencode() 155 lib80211_crypt_delayed_deinit(&local->crypt_info, crypt); in prism2_ioctl_siwencode() 158 if (*crypt == NULL) { in prism2_ioctl_siwencode() 182 *crypt = new_crypt; in prism2_ioctl_siwencode() 190 (*crypt)->ops->set_key(keybuf, len, NULL, (*crypt)->priv); in prism2_ioctl_siwencode() [all …]
|
D | hostap_80211_rx.c | 651 struct lib80211_crypt_data *crypt) in hostap_rx_frame_decrypt() argument 656 if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL) in hostap_rx_frame_decrypt() 663 strcmp(crypt->ops->name, "TKIP") == 0) { in hostap_rx_frame_decrypt() 672 atomic_inc(&crypt->refcnt); in hostap_rx_frame_decrypt() 673 res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); in hostap_rx_frame_decrypt() 674 atomic_dec(&crypt->refcnt); in hostap_rx_frame_decrypt() 689 int keyidx, struct lib80211_crypt_data *crypt) in hostap_rx_frame_decrypt_msdu() argument 694 if (crypt == NULL || crypt->ops->decrypt_msdu == NULL) in hostap_rx_frame_decrypt_msdu() 700 atomic_inc(&crypt->refcnt); in hostap_rx_frame_decrypt_msdu() 701 res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); in hostap_rx_frame_decrypt_msdu() [all …]
|
D | hostap_ap.h | 77 struct lib80211_crypt_data *crypt; member 212 struct lib80211_crypto_ops *crypt; member 232 struct lib80211_crypt_data *crypt; member 247 struct lib80211_crypt_data **crypt,
|
D | hostap_ap.c | 135 if (sta->crypt) { in ap_free_sta() 136 sta->crypt->ops->deinit(sta->crypt->priv); in ap_free_sta() 137 kfree(sta->crypt); in ap_free_sta() 138 sta->crypt = NULL; in ap_free_sta() 923 if (ap->crypt) in hostap_free_data() 924 ap->crypt->deinit(ap->crypt_priv); in hostap_free_data() 925 ap->crypt = ap->crypt_priv = NULL; in hostap_free_data() 1090 if (sta->crypt && sta->crypt->ops && sta->crypt->ops->print_stats) in prism2_sta_proc_show() 1091 sta->crypt->ops->print_stats(m, sta->crypt->priv); in prism2_sta_proc_show() 1271 ap->crypt = lib80211_get_crypto_ops("WEP"); in ap_crypt_init() [all …]
|
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() 244 if (local->crypt_info.crypt[i] && in prism2_crypt_proc_show() 245 local->crypt_info.crypt[i]->ops && in prism2_crypt_proc_show() 246 local->crypt_info.crypt[i]->ops->print_stats) { in prism2_crypt_proc_show() 247 local->crypt_info.crypt[i]->ops->print_stats( in prism2_crypt_proc_show() 248 m, local->crypt_info.crypt[i]->priv); in prism2_crypt_proc_show()
|
D | hostap_main.c | 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.h | 66 struct lib80211_crypt_data ***crypt);
|
D | hostap_common.h | 381 } crypt; member
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 310 struct lib80211_crypt_data **crypt; in rtllib_wx_set_encode() local 327 crypt = &ieee->crypt_info.crypt[key]; in rtllib_wx_set_encode() 329 if (key_provided && *crypt) { 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() 344 &ieee->crypt_info.crypt[i]); in rtllib_wx_set_encode() 362 if (*crypt != NULL && (*crypt)->ops != NULL && in rtllib_wx_set_encode() 363 strcmp((*crypt)->ops->name, "R-WEP") != 0) { in rtllib_wx_set_encode() 367 lib80211_crypt_delayed_deinit(&ieee->crypt_info, crypt); in rtllib_wx_set_encode() 370 if (*crypt == NULL) { in rtllib_wx_set_encode() [all …]
|
D | rtllib_tx.c | 176 struct lib80211_crypt_data *crypt = NULL; in rtllib_encrypt_fragment() local 179 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_encrypt_fragment() 181 if (!(crypt && crypt->ops)) { in rtllib_encrypt_fragment() 193 atomic_inc(&crypt->refcnt); in rtllib_encrypt_fragment() 195 if (crypt->ops->encrypt_msdu) in rtllib_encrypt_fragment() 196 res = crypt->ops->encrypt_msdu(frag, hdr_len, crypt->priv); in rtllib_encrypt_fragment() 197 if (res == 0 && crypt->ops->encrypt_mpdu) in rtllib_encrypt_fragment() 198 res = crypt->ops->encrypt_mpdu(frag, hdr_len, crypt->priv); in rtllib_encrypt_fragment() 200 atomic_dec(&crypt->refcnt); in rtllib_encrypt_fragment() 584 struct lib80211_crypt_data *crypt = NULL; in rtllib_xmit_inter() local [all …]
|
D | rtllib_softmac.c | 824 struct lib80211_crypt_data *crypt; in rtllib_probe_resp() local 859 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_probe_resp() 860 encrypt = ieee->host_encrypt && crypt && crypt->ops && in rtllib_probe_resp() 861 ((strcmp(crypt->ops->name, "R-WEP") == 0 || wpa_ie_len)); in rtllib_probe_resp() 911 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_probe_resp() 970 struct lib80211_crypt_data *crypt; in rtllib_assoc_resp() local 1001 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; in rtllib_assoc_resp() 1003 crypt = NULL; in rtllib_assoc_resp() 1005 encrypt = (crypt && crypt->ops); in rtllib_assoc_resp() 1166 struct lib80211_crypt_data *crypt; in rtllib_association_req() local [all …]
|
D | rtllib_rx.c | 292 struct lib80211_crypt_data *crypt) in rtllib_rx_frame_decrypt() argument 297 if (crypt == NULL || crypt->ops->decrypt_mpdu == NULL) in rtllib_rx_frame_decrypt() 313 atomic_inc(&crypt->refcnt); in rtllib_rx_frame_decrypt() 314 res = crypt->ops->decrypt_mpdu(skb, hdrlen, crypt->priv); in rtllib_rx_frame_decrypt() 315 atomic_dec(&crypt->refcnt); in rtllib_rx_frame_decrypt() 333 int keyidx, struct lib80211_crypt_data *crypt) in rtllib_rx_frame_decrypt_msdu() argument 338 if (crypt == NULL || crypt->ops->decrypt_msdu == NULL) in rtllib_rx_frame_decrypt_msdu() 353 atomic_inc(&crypt->refcnt); in rtllib_rx_frame_decrypt_msdu() 354 res = crypt->ops->decrypt_msdu(skb, keyidx, hdrlen, crypt->priv); in rtllib_rx_frame_decrypt_msdu() 355 atomic_dec(&crypt->refcnt); in rtllib_rx_frame_decrypt_msdu() [all …]
|
D | rtllib.h | 388 } crypt; member
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
D | ioctl_linux.c | 365 param->u.crypt.err = 0; in wpa_set_encryption() 366 param->u.crypt.alg[IEEE_CRYPT_ALG_NAME_LEN - 1] = '\0'; in wpa_set_encryption() 368 if (param_len < (u32)((u8 *)param->u.crypt.key - (u8 *)param) + param->u.crypt.key_len) { in wpa_set_encryption() 376 if (param->u.crypt.idx >= WEP_KEYS) { in wpa_set_encryption() 385 if (strcmp(param->u.crypt.alg, "WEP") == 0) { in wpa_set_encryption() 393 wep_key_idx = param->u.crypt.idx; in wpa_set_encryption() 394 wep_key_len = param->u.crypt.key_len; in wpa_set_encryption() 425 memcpy(pwep->KeyMaterial, param->u.crypt.key, pwep->KeyLength); in wpa_set_encryption() 426 if (param->u.crypt.set_tx) { in wpa_set_encryption() 452 if (strcmp(param->u.crypt.alg, "none") != 0) in wpa_set_encryption() [all …]
|
/linux-4.4.14/Documentation/filesystems/ |
D | ecryptfs.txt | 39 files (i.e., /root/crypt). Then, create the mount point directory 40 (i.e., /mnt/crypt). Now it's time to mount eCryptfs: 42 mount -t ecryptfs /root/crypt /mnt/crypt 49 echo "Hello, World" > /mnt/crypt/hello.txt 52 /root/crypt that is at least 12288 bytes in size (depending on your 59 Then umount /mnt/crypt and mount again per the instructions given 62 cat /mnt/crypt/hello.txt
|
/linux-4.4.14/Documentation/device-mapper/ |
D | dm-crypt.txt | 1 dm-crypt 4 Device-Mapper's "crypt" target provides transparent encryption of block devices 57 Block discard requests (a.k.a. TRIM) are passed through the crypt device. 82 encryption with dm-crypt using the 'cryptsetup' utility, see 87 # Create a crypt device using dmsetup 88 dmsetup create crypt1 --table "0 `blockdev --getsize $1` crypt aes-cbc-essiv:sha256 babebabebabebab… 93 # Create a crypt device using cryptsetup and LUKS header with default cipher
|
/linux-4.4.14/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 100 memcpy(psta->x_UncstKey.skey, param->u.crypt.key, in handle_pairwise_key() 101 (param->u.crypt. key_len > 16 ? 16 : param->u.crypt.key_len)); in handle_pairwise_key() 102 if (strcmp(param->u.crypt.alg, "TKIP") == 0) { /* set mic key */ in handle_pairwise_key() 103 memcpy(psta->tkiptxmickey. skey, &(param->u.crypt. in handle_pairwise_key() 105 memcpy(psta->tkiprxmickey. skey, &(param->u.crypt. in handle_pairwise_key() 117 if (param->u.crypt.idx > 0 && in handle_group_key() 118 param->u.crypt.idx < 3) { in handle_group_key() 120 memcpy(padapter->securitypriv.XGrpKey[param->u.crypt. in handle_group_key() 121 idx - 1].skey, param->u.crypt.key, in handle_group_key() 122 (param->u.crypt.key_len > 16 ? 16 : in handle_group_key() [all …]
|
D | ieee80211.h | 117 } crypt; member
|
/linux-4.4.14/include/net/ |
D | lib80211.h | 105 struct lib80211_crypt_data *crypt[NUM_WEP_KEYS]; member 119 struct lib80211_crypt_data **crypt);
|
/linux-4.4.14/crypto/ |
D | skcipher.c | 52 int (*crypt)(struct blkcipher_desc *, in skcipher_crypt_blkcipher() 66 return crypt(&desc, req->dst, req->src, req->cryptlen); in skcipher_crypt_blkcipher() 146 int (*crypt)(struct ablkcipher_request *)) in skcipher_crypt_ablkcipher() 158 return crypt(subreq); in skcipher_crypt_ablkcipher()
|
D | xts.c | 93 static int crypt(struct blkcipher_desc *d, in crypt() function 154 return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, in encrypt() 165 return crypt(desc, &w, ctx, crypto_cipher_alg(ctx->tweak)->cia_encrypt, in decrypt()
|
D | lrw.c | 138 static int crypt(struct blkcipher_desc *d, in crypt() function 202 return crypt(desc, &w, ctx, in encrypt() 213 return crypt(desc, &w, ctx, in decrypt()
|
D | chacha20poly1305.c | 240 struct scatterlist *crypt = req->src; in poly_cipher() local 244 crypt = req->dst; in poly_cipher() 247 crypt = scatterwalk_ffwd(rctx->src, crypt, req->assoclen); in poly_cipher() 252 ahash_request_set_crypt(&preq->req, crypt, NULL, rctx->cryptlen); in poly_cipher()
|
D | cryptd.c | 203 int (*crypt)(struct blkcipher_desc *desc, in cryptd_blkcipher_crypt() 220 err = crypt(&desc, req->dst, req->src, req->nbytes); in cryptd_blkcipher_crypt() 687 int (*crypt)(struct aead_request *req)) in cryptd_aead_crypt() 698 err = crypt( req ); in cryptd_aead_crypt()
|
D | Kconfig | 328 narrow block cipher mode for dm-crypt. Use it with cipher 1008 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1027 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1049 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1072 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html> 1088 <https://info.isl.ntt.co.jp/crypt/eng/camellia/index_s.html>
|
/linux-4.4.14/Documentation/power/ |
D | swsusp-dmcrypt.txt | 4 How to use dm-crypt and swsusp together: 8 You know how dm-crypt works. If not, visit the following web page: 9 http://www.saout.de/misc/dm-crypt/ 24 up dm-crypt and then asks swsusp to resume from the encrypted 27 The most important thing is that you set up dm-crypt in such 51 you create an initrd that reads the required dm-crypt setup
|
D | 00-INDEX | 38 - How to use dm-crypt and software suspend (to disk) together
|
D | swsusp.txt | 276 A: First of all: it is not a replacement for dm-crypt encrypted swap.
|
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_core.c | 2307 if (ipw->u.crypt.set_tx) { in _rtl92e_ioctl() 2308 if (strcmp(ipw->u.crypt.alg, "CCMP") == 0) in _rtl92e_ioctl() 2310 else if (strcmp(ipw->u.crypt.alg, "TKIP") == 0) in _rtl92e_ioctl() 2312 else if (strcmp(ipw->u.crypt.alg, "WEP") == 0) { in _rtl92e_ioctl() 2313 if (ipw->u.crypt.key_len == 13) in _rtl92e_ioctl() 2316 else if (ipw->u.crypt.key_len == 5) in _rtl92e_ioctl() 2326 memcpy((u8 *)key, ipw->u.crypt.key, 16); in _rtl92e_ioctl() 2329 ipw->u.crypt.idx, in _rtl92e_ioctl() 2333 rtl92e_set_key(dev, 4, ipw->u.crypt.idx, in _rtl92e_ioctl() 2339 ipw->u.crypt.idx, in _rtl92e_ioctl() [all …]
|
/linux-4.4.14/Documentation/DocBook/ |
D | crypto-API.xml.db | 22 API-ablkcipher-request-set-crypt 37 API-aead-request-set-crypt 88 API-ahash-request-set-crypt
|
/linux-4.4.14/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 2111 struct ieee80211_crypt_data *crypt; in GetNmodeSupportBySecCfg8192() local 2114 crypt = ieee->crypt[ieee->tx_keyidx]; in GetNmodeSupportBySecCfg8192() 2119 (ieee->host_encrypt && crypt && crypt->ops && in GetNmodeSupportBySecCfg8192() 2120 (0 == strcmp(crypt->ops->name, "WEP"))); in GetNmodeSupportBySecCfg8192() 3725 if (ipw->u.crypt.set_tx) { in rtl8192_ioctl() 3726 if (strcmp(ipw->u.crypt.alg, "CCMP") == 0) { in rtl8192_ioctl() 3728 } else if (strcmp(ipw->u.crypt.alg, "TKIP") == 0) { in rtl8192_ioctl() 3730 } else if (strcmp(ipw->u.crypt.alg, "WEP") == 0) { in rtl8192_ioctl() 3731 if (ipw->u.crypt.key_len == 13) in rtl8192_ioctl() 3733 else if (ipw->u.crypt.key_len == 5) in rtl8192_ioctl() [all …]
|
/linux-4.4.14/Documentation/crypto/ |
D | descore-readme.txt | 56 since i was interested in fast des filters rather than crypt(3) 89 it's 39%-106% slower. because he was interested in fast crypt(3) and 96 fast crypt(3) package from denmark: 98 crypt function and i didn't feel like ripping it out and measuring 115 as in crypt above, the des routine is buried in a loop. it's 116 also very modified for crypt. his iteration code uses 16k 152 a while later i ran across the great crypt(3) package mentioned above. 162 to crypt(3) in his tables - i didn't check.
|
/linux-4.4.14/drivers/md/ |
D | Makefile | 41 obj-$(CONFIG_DM_CRYPT) += dm-crypt.o
|
D | Kconfig | 262 For further information on dm-crypt and userspace tools see: 266 be called dm-crypt.
|
/linux-4.4.14/drivers/staging/rtl8188eu/include/ |
D | ieee80211.h | 240 } crypt; member
|