/linux-4.1.27/drivers/crypto/ |
D | padlock-aes.c | 63 struct cword encrypt; member 134 ctx->cword.encrypt.rounds = 10 + (key_len - 16) / 4; in aes_set_key() 135 ctx->cword.decrypt.rounds = ctx->cword.encrypt.rounds; in aes_set_key() 136 ctx->cword.encrypt.ksize = (key_len - 16) / 8; in aes_set_key() 137 ctx->cword.decrypt.ksize = ctx->cword.encrypt.ksize; in aes_set_key() 144 ctx->cword.encrypt.keygen = 1; in aes_set_key() 157 if (&ctx->cword.encrypt == per_cpu(paes_last_cword, cpu) || in aes_set_key() 303 padlock_reset_key(&ctx->cword.encrypt); in aes_encrypt() 305 ecb_crypt(in, out, ctx->E, &ctx->cword.encrypt, 1); in aes_encrypt() 307 padlock_store_cword(&ctx->cword.encrypt); in aes_encrypt() [all …]
|
D | ixp4xx_crypto.c | 163 int encrypt; member 179 struct ix_sa_dir encrypt; member 344 if (req_ctx->encrypt) { in finish_scattered_hmac() 560 ret = init_sa_dir(&ctx->encrypt); in init_tfm() 565 free_sa_dir(&ctx->encrypt); in init_tfm() 585 free_sa_dir(&ctx->encrypt); in exit_tfm() 645 static int setup_auth(struct crypto_tfm *tfm, int encrypt, unsigned authsize, in setup_auth() argument 656 dir = encrypt ? &ctx->encrypt : &ctx->decrypt; in setup_auth() 681 if (!encrypt) in setup_auth() 720 static int setup_cipher(struct crypto_tfm *tfm, int encrypt, in setup_cipher() argument [all …]
|
D | atmel-tdes.c | 936 .encrypt = atmel_tdes_ecb_encrypt, 957 .encrypt = atmel_tdes_cbc_encrypt, 978 .encrypt = atmel_tdes_cfb_encrypt, 999 .encrypt = atmel_tdes_cfb8_encrypt, 1020 .encrypt = atmel_tdes_cfb16_encrypt, 1041 .encrypt = atmel_tdes_cfb32_encrypt, 1062 .encrypt = atmel_tdes_ofb_encrypt, 1082 .encrypt = atmel_tdes_ecb_encrypt, 1103 .encrypt = atmel_tdes_cbc_encrypt, 1124 .encrypt = atmel_tdes_cfb_encrypt, [all …]
|
D | n2_core.c | 208 bool sfas, bool sob, bool eob, bool encrypt, in control_word_base() argument 222 if (encrypt) in control_word_base() 827 struct spu_queue *qp, bool encrypt) in __n2_crypt_chunk() argument 845 false, true, false, encrypt, in __n2_crypt_chunk() 971 static int n2_do_ecb(struct ablkcipher_request *req, bool encrypt) in n2_do_ecb() argument 991 err = __n2_crypt_chunk(tfm, c, qp, encrypt); in n2_do_ecb() 1023 static int n2_do_chaining(struct ablkcipher_request *req, bool encrypt) in n2_do_chaining() argument 1045 if (encrypt) { in n2_do_chaining() 1132 .encrypt = n2_encrypt_ecb, 1147 .encrypt = n2_encrypt_ecb, [all …]
|
D | picoxcell_crypto.c | 1318 .encrypt = spacc_ablk_encrypt, 1345 .encrypt = spacc_ablk_encrypt, 1371 .encrypt = spacc_ablk_encrypt, 1398 .encrypt = spacc_ablk_encrypt, 1424 .encrypt = spacc_ablk_encrypt, 1451 .encrypt = spacc_ablk_encrypt, 1479 .encrypt = spacc_aead_encrypt, 1509 .encrypt = spacc_aead_encrypt, 1538 .encrypt = spacc_aead_encrypt, 1567 .encrypt = spacc_aead_encrypt, [all …]
|
D | atmel-aes.c | 976 .encrypt = atmel_aes_ecb_encrypt, 997 .encrypt = atmel_aes_cbc_encrypt, 1018 .encrypt = atmel_aes_ofb_encrypt, 1039 .encrypt = atmel_aes_cfb_encrypt, 1060 .encrypt = atmel_aes_cfb32_encrypt, 1081 .encrypt = atmel_aes_cfb16_encrypt, 1102 .encrypt = atmel_aes_cfb8_encrypt, 1123 .encrypt = atmel_aes_ctr_encrypt, 1146 .encrypt = atmel_aes_cfb64_encrypt,
|
D | hifn_795x.c | 2345 .encrypt = hifn_encrypt_3des_cfb, 2355 .encrypt = hifn_encrypt_3des_ofb, 2366 .encrypt = hifn_encrypt_3des_cbc, 2376 .encrypt = hifn_encrypt_3des_ecb, 2390 .encrypt = hifn_encrypt_des_cfb, 2400 .encrypt = hifn_encrypt_des_ofb, 2411 .encrypt = hifn_encrypt_des_cbc, 2421 .encrypt = hifn_encrypt_des_ecb, 2435 .encrypt = hifn_encrypt_aes_ecb, 2446 .encrypt = hifn_encrypt_aes_cbc, [all …]
|
D | omap-des.c | 798 .encrypt = omap_des_ecb_encrypt, 821 .encrypt = omap_des_cbc_encrypt, 843 .encrypt = omap_des_ecb_encrypt, 866 .encrypt = omap_des_cbc_encrypt,
|
D | talitos.c | 1124 bool encrypt) in talitos_edesc_alloc() argument 1162 src_nents = sg_count(src, cryptlen + (encrypt ? 0 : authsize), in talitos_edesc_alloc() 1165 dst_nents = sg_count(dst, cryptlen + (encrypt ? authsize : 0), in talitos_edesc_alloc() 1218 int icv_stashing, bool encrypt) in aead_edesc_alloc() argument 1227 areq->base.flags, encrypt); in aead_edesc_alloc() 1462 areq, bool encrypt) in ablkcipher_edesc_alloc() argument 1470 areq->base.flags, encrypt); in ablkcipher_edesc_alloc() 2522 alg->cra_ablkcipher.encrypt = ablkcipher_encrypt; in talitos_alg_alloc() 2532 alg->cra_aead.encrypt = aead_encrypt; in talitos_alg_alloc()
|
D | geode-aes.c | 409 .encrypt = geode_cbc_encrypt, 495 .encrypt = geode_ecb_encrypt,
|
D | s5p-sss.c | 613 .encrypt = s5p_aes_ecb_encrypt, 635 .encrypt = s5p_aes_cbc_encrypt,
|
D | omap-aes.c | 851 .encrypt = omap_aes_ecb_encrypt, 874 .encrypt = omap_aes_cbc_encrypt, 901 .encrypt = omap_aes_ctr_encrypt,
|
D | mxs-dcp.c | 799 .encrypt = mxs_dcp_aes_ecb_encrypt, 822 .encrypt = mxs_dcp_aes_cbc_encrypt,
|
D | mv_cesa.c | 943 .encrypt = mv_enc_aes_ecb, 967 .encrypt = mv_enc_aes_cbc,
|
D | sahara.c | 1290 .encrypt = sahara_aes_ecb_encrypt, 1311 .encrypt = sahara_aes_cbc_encrypt,
|
/linux-4.1.27/arch/x86/crypto/ |
D | salsa20_glue.c | 48 static int encrypt(struct blkcipher_desc *desc, in encrypt() function 98 .encrypt = encrypt, 99 .decrypt = encrypt,
|
D | twofish_avx_glue.c | 355 .encrypt = ecb_encrypt, 375 .encrypt = cbc_encrypt, 396 .encrypt = ctr_crypt, 420 .encrypt = lrw_encrypt, 441 .encrypt = xts_encrypt, 462 .encrypt = ablk_encrypt, 484 .encrypt = __ablk_encrypt, 506 .encrypt = ablk_encrypt, 531 .encrypt = ablk_encrypt, 553 .encrypt = ablk_encrypt,
|
D | serpent_avx2_glue.c | 325 .encrypt = ecb_encrypt, 346 .encrypt = cbc_encrypt, 368 .encrypt = ctr_crypt, 393 .encrypt = lrw_encrypt, 415 .encrypt = xts_encrypt, 437 .encrypt = ablk_encrypt, 460 .encrypt = __ablk_encrypt, 483 .encrypt = ablk_encrypt, 509 .encrypt = ablk_encrypt, 532 .encrypt = ablk_encrypt,
|
D | cast6_avx_glue.c | 387 .encrypt = ecb_encrypt, 407 .encrypt = cbc_encrypt, 428 .encrypt = ctr_crypt, 452 .encrypt = lrw_encrypt, 473 .encrypt = xts_encrypt, 494 .encrypt = ablk_encrypt, 516 .encrypt = __ablk_encrypt, 538 .encrypt = ablk_encrypt, 563 .encrypt = ablk_encrypt, 585 .encrypt = ablk_encrypt,
|
D | camellia_aesni_avx2_glue.c | 358 .encrypt = ecb_encrypt, 378 .encrypt = cbc_encrypt, 399 .encrypt = ctr_crypt, 423 .encrypt = lrw_encrypt, 444 .encrypt = xts_encrypt, 465 .encrypt = ablk_encrypt, 487 .encrypt = __ablk_encrypt, 509 .encrypt = ablk_encrypt, 534 .encrypt = ablk_encrypt, 556 .encrypt = ablk_encrypt,
|
D | serpent_avx_glue.c | 393 .encrypt = ecb_encrypt, 413 .encrypt = cbc_encrypt, 434 .encrypt = ctr_crypt, 458 .encrypt = lrw_encrypt, 479 .encrypt = xts_encrypt, 500 .encrypt = ablk_encrypt, 522 .encrypt = __ablk_encrypt, 544 .encrypt = ablk_encrypt, 569 .encrypt = ablk_encrypt, 591 .encrypt = ablk_encrypt,
|
D | camellia_aesni_avx_glue.c | 350 .encrypt = ecb_encrypt, 370 .encrypt = cbc_encrypt, 391 .encrypt = ctr_crypt, 415 .encrypt = lrw_encrypt, 436 .encrypt = xts_encrypt, 457 .encrypt = ablk_encrypt, 479 .encrypt = __ablk_encrypt, 501 .encrypt = ablk_encrypt, 526 .encrypt = ablk_encrypt, 548 .encrypt = ablk_encrypt,
|
D | serpent_sse2_glue.c | 402 .encrypt = ecb_encrypt, 422 .encrypt = cbc_encrypt, 443 .encrypt = ctr_crypt, 467 .encrypt = lrw_encrypt, 488 .encrypt = xts_encrypt, 509 .encrypt = ablk_encrypt, 531 .encrypt = __ablk_encrypt, 553 .encrypt = ablk_encrypt, 578 .encrypt = ablk_encrypt, 600 .encrypt = ablk_encrypt,
|
D | cast5_avx_glue.c | 356 .encrypt = ecb_encrypt, 376 .encrypt = cbc_encrypt, 397 .encrypt = ctr_crypt, 418 .encrypt = ablk_encrypt, 440 .encrypt = __ablk_encrypt, 462 .encrypt = ablk_encrypt,
|
D | twofish_glue_3way.c | 350 .encrypt = ecb_encrypt, 370 .encrypt = cbc_encrypt, 390 .encrypt = ctr_crypt, 411 .encrypt = lrw_encrypt, 431 .encrypt = xts_encrypt,
|
D | aesni-intel_glue.c | 1299 .encrypt = ecb_encrypt, 1320 .encrypt = cbc_encrypt, 1341 .encrypt = ablk_encrypt, 1363 .encrypt = ablk_encrypt, 1386 .encrypt = ctr_crypt, 1408 .encrypt = ablk_encrypt, 1428 .encrypt = helper_rfc4106_encrypt, 1451 .encrypt = rfc4106_encrypt, 1478 .encrypt = ablk_encrypt, 1501 .encrypt = lrw_encrypt, [all …]
|
D | fpu.c | 57 err = crypto_blkcipher_crt(desc.tfm)->encrypt(&desc, dst, src, nbytes); in crypto_fpu_encrypt() 133 inst->alg.cra_blkcipher.encrypt = crypto_fpu_encrypt; in crypto_fpu_alloc()
|
D | blowfish_glue.c | 391 .encrypt = ecb_encrypt, 411 .encrypt = cbc_encrypt, 431 .encrypt = ctr_crypt,
|
D | des3_ede_glue.c | 418 .encrypt = ecb_encrypt, 438 .encrypt = cbc_encrypt, 458 .encrypt = ctr_crypt,
|
D | camellia_glue.c | 1594 .encrypt = ecb_encrypt, 1614 .encrypt = cbc_encrypt, 1634 .encrypt = ctr_crypt, 1657 .encrypt = lrw_encrypt, 1677 .encrypt = xts_encrypt,
|
D | aesni-intel_avx-x86_64.S | 353 ## encrypt the initial num_initial_blocks blocks and apply ghash on the ciphertext 629 # encrypt 8 blocks at a time 1144 # combined for GCM encrypt and decrypt functions 1612 ## encrypt the initial num_initial_blocks blocks and apply ghash on the ciphertext 1893 # encrypt 8 blocks at a time 2421 # combined for GCM encrypt and decrypt functions
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
D | libipw_tx.c | 263 int encrypt, host_encrypt, host_encrypt_msdu; in libipw_xmit() local 299 encrypt = !(ether_type == htons(ETH_P_PAE) && ieee->ieee802_1x) && in libipw_xmit() 300 ieee->sec.encrypt; in libipw_xmit() 302 host_encrypt = ieee->host_encrypt && encrypt && crypt; in libipw_xmit() 303 host_encrypt_msdu = ieee->host_encrypt_msdu && encrypt && crypt; in libipw_xmit() 305 if (!encrypt && ieee->ieee802_1x && in libipw_xmit() 433 txb->encrypted = encrypt; in libipw_xmit()
|
D | libipw_wx.c | 362 sec.encrypt = 0; in libipw_wx_set_encode() 371 sec.encrypt = 1; in libipw_wx_set_encode() 568 sec.encrypt = 0; in libipw_wx_set_encodeext() 576 sec.encrypt = 1; in libipw_wx_set_encodeext()
|
D | libipw.h | 311 u16 active_key:2, enabled:1, unicast_uses_group:1, encrypt:1; member
|
D | ipw2200.c | 2098 if (priv->ieee->sec.encrypt) { in ipw_irq_tasklet() 10768 priv->ieee->sec.encrypt = sec->encrypt; in shim__set_security()
|
D | ipw2100.c | 5627 priv->ieee->sec.encrypt = sec->encrypt; in shim__set_security()
|
/linux-4.1.27/drivers/crypto/ccp/ |
D | ccp-crypto-aes.c | 70 static int ccp_aes_crypt(struct ablkcipher_request *req, bool encrypt) in ccp_aes_crypt() argument 103 (encrypt) ? CCP_AES_ACTION_ENCRYPT : CCP_AES_ACTION_DECRYPT; in ccp_aes_crypt() 169 static int ccp_aes_rfc3686_crypt(struct ablkcipher_request *req, bool encrypt) in ccp_aes_rfc3686_crypt() argument 189 return ccp_aes_crypt(req, encrypt); in ccp_aes_rfc3686_crypt() 232 .encrypt = ccp_aes_encrypt, 253 .encrypt = ccp_aes_rfc3686_encrypt,
|
D | ccp-crypto-aes-xts.c | 118 unsigned int encrypt) in ccp_aes_xts_crypt() argument 153 ret = (encrypt) ? crypto_ablkcipher_encrypt(req) : in ccp_aes_xts_crypt() 166 rctx->cmd.u.xts.action = (encrypt) ? CCP_AES_ACTION_ENCRYPT in ccp_aes_xts_crypt() 251 alg->cra_ablkcipher.encrypt = ccp_aes_xts_encrypt; in ccp_register_aes_xts_alg()
|
/linux-4.1.27/arch/arm64/crypto/ |
D | aes-glue.c | 299 .encrypt = ecb_encrypt, 318 .encrypt = cbc_encrypt, 337 .encrypt = ctr_encrypt, 356 .encrypt = xts_encrypt, 376 .encrypt = ablk_encrypt, 396 .encrypt = ablk_encrypt, 416 .encrypt = ablk_encrypt, 436 .encrypt = ablk_encrypt,
|
D | aes-ce-ccm-glue.c | 276 .encrypt = ccm_encrypt,
|
/linux-4.1.27/arch/arm/crypto/ |
D | aes-ce-glue.c | 369 .encrypt = ecb_encrypt, 388 .encrypt = cbc_encrypt, 407 .encrypt = ctr_encrypt, 426 .encrypt = xts_encrypt, 446 .encrypt = ablk_encrypt, 466 .encrypt = ablk_encrypt, 486 .encrypt = ablk_encrypt, 506 .encrypt = ablk_encrypt,
|
D | aesbs-glue.c | 316 .encrypt = aesbs_cbc_encrypt, 335 .encrypt = aesbs_ctr_encrypt, 354 .encrypt = aesbs_xts_encrypt, 374 .encrypt = __ablk_encrypt, 394 .encrypt = ablk_encrypt, 414 .encrypt = ablk_encrypt,
|
D | aesbs-core.S_shipped | 24 @ encrypt 19.5 cycles per byte processed with 128-bit key
|
/linux-4.1.27/arch/sparc/crypto/ |
D | aes_glue.c | 34 void (*encrypt)(const u64 *key, const u32 *input, u32 *output); member 128 .encrypt = aes_sparc64_encrypt_128, 140 .encrypt = aes_sparc64_encrypt_192, 152 .encrypt = aes_sparc64_encrypt_256, 203 ctx->ops->encrypt(&ctx->key[0], (const u32 *) src, (u32 *) dst); in aes_encrypt() 418 .encrypt = ecb_encrypt, 438 .encrypt = cbc_encrypt, 458 .encrypt = ctr_crypt,
|
D | des_glue.c | 95 unsigned int nbytes, bool encrypt) in __ecb_crypt() argument 105 if (encrypt) in __ecb_crypt() 263 unsigned int nbytes, bool encrypt) in __ecb3_crypt() argument 274 if (encrypt) in __ecb3_crypt() 414 .encrypt = ecb_encrypt, 434 .encrypt = cbc_encrypt, 471 .encrypt = ecb3_encrypt, 491 .encrypt = cbc3_encrypt,
|
D | camellia_glue.c | 87 unsigned int nbytes, bool encrypt) in __ecb_crypt() argument 103 if (encrypt) in __ecb_crypt() 259 .encrypt = ecb_encrypt, 279 .encrypt = cbc_encrypt,
|
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_tx.c | 605 int ether_type = 0, encrypt; in ieee80211_xmit() local 644 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in ieee80211_xmit() 647 if (!encrypt && ieee->ieee802_1x && in ieee80211_xmit() 653 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in ieee80211_xmit() 671 if (encrypt) in ieee80211_xmit() 732 if (encrypt) in ieee80211_xmit() 754 txb->encrypted = encrypt; in ieee80211_xmit() 779 if (encrypt){ in ieee80211_xmit() 828 if (encrypt) in ieee80211_xmit()
|
D | ieee80211_softmac.c | 696 int encrypt; in ieee80211_probe_resp() local 731 encrypt = ieee->host_encrypt && crypt && crypt->ops && in ieee80211_probe_resp() 738 HTConstructCapabilityElement(ieee, tmp_ht_cap_buf, &tmp_ht_cap_len,encrypt); in ieee80211_probe_resp() 739 HTConstructInfoElement(ieee,tmp_ht_info_buf,&tmp_ht_info_len, encrypt); in ieee80211_probe_resp() 783 if (encrypt) in ieee80211_probe_resp() 850 short encrypt; in ieee80211_assoc_resp() local 880 encrypt = crypt && crypt->ops; in ieee80211_assoc_resp() 882 if (encrypt) in ieee80211_assoc_resp() 1005 int encrypt; in ieee80211_association_req() local 1016 …encrypt = ieee->host_encrypt && crypt && crypt->ops && ((0 == strcmp(crypt->ops->name,"WEP") || wp… in ieee80211_association_req() [all …]
|
D | ieee80211.h | 967 encrypt:1; member
|
/linux-4.1.27/crypto/ |
D | salsa20_generic.c | 177 static int encrypt(struct blkcipher_desc *desc, in encrypt() function 227 .encrypt = encrypt, 228 .decrypt = encrypt,
|
D | blkcipher.c | 429 return alg->encrypt(&desc, req->dst, req->src, req->nbytes); in async_encrypt() 466 crt->encrypt = async_encrypt; in crypto_init_blkcipher_ops_async() 486 crt->encrypt = alg->encrypt; in crypto_init_blkcipher_ops_sync() 587 int (*encrypt)(struct ablkcipher_request *req); in skcipher_geniv_alloc() member 638 balg.encrypt = async_encrypt; in skcipher_geniv_alloc() 648 balg.encrypt = alg->cra_ablkcipher.encrypt; in skcipher_geniv_alloc() 698 inst->alg.cra_ablkcipher.encrypt = balg.encrypt; in skcipher_geniv_alloc()
|
D | aead.c | 103 crt->encrypt = alg->encrypt; in crypto_init_aead_ops() 186 crt->encrypt = alg->encrypt; in crypto_init_nivaead_ops() 352 inst->alg.cra_aead.encrypt = alg->cra_aead.encrypt; in aead_geniv_alloc()
|
D | xts.c | 147 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt() function 329 inst->alg.cra_blkcipher.encrypt = encrypt; in alloc()
|
D | lrw.c | 195 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt() function 367 inst->alg.cra_blkcipher.encrypt = encrypt; in alloc()
|
D | ablkcipher.c | 372 crt->encrypt = alg->encrypt; in crypto_init_ablkcipher_ops() 455 crt->encrypt = alg->encrypt; in crypto_init_givcipher_ops()
|
D | ablk_helper.c | 64 return crypto_blkcipher_crt(desc.tfm)->encrypt( in __ablk_encrypt()
|
D | crypto_null.c | 135 .encrypt = skcipher_null_crypt,
|
D | arc4.c | 147 .encrypt = ecb_arc4_crypt,
|
D | cryptd.c | 237 crypto_blkcipher_crt(child)->encrypt); in cryptd_blkcipher_encrypt() 379 inst->alg.cra_ablkcipher.encrypt = cryptd_blkcipher_encrypt_enqueue; in cryptd_create_blkcipher() 683 cryptd_aead_crypt(req, child, err, crypto_aead_crt(child)->encrypt); in cryptd_aead_encrypt() 785 inst->alg.cra_aead.encrypt = cryptd_aead_encrypt_enqueue; in cryptd_create_aead()
|
D | ecb.c | 152 inst->alg.cra_blkcipher.encrypt = crypto_ecb_encrypt; in crypto_ecb_alloc()
|
D | ctr.c | 225 inst->alg.cra_blkcipher.encrypt = crypto_ctr_crypt; in crypto_ctr_alloc() 406 inst->alg.cra_ablkcipher.encrypt = crypto_rfc3686_crypt; in crypto_rfc3686_alloc()
|
D | cbc.c | 256 inst->alg.cra_blkcipher.encrypt = crypto_cbc_encrypt; in crypto_cbc_alloc()
|
D | pcbc.c | 262 inst->alg.cra_blkcipher.encrypt = crypto_pcbc_encrypt; in crypto_pcbc_alloc()
|
D | cts.c | 319 inst->alg.cra_blkcipher.encrypt = crypto_cts_encrypt; in crypto_cts_alloc()
|
D | ccm.c | 555 inst->alg.cra_aead.encrypt = crypto_ccm_encrypt; in crypto_ccm_alloc_common() 815 inst->alg.cra_aead.encrypt = crypto_rfc4309_encrypt; in crypto_rfc4309_alloc()
|
D | gcm.c | 775 inst->alg.cra_aead.encrypt = crypto_gcm_encrypt; in crypto_gcm_alloc_common() 1032 inst->alg.cra_aead.encrypt = crypto_rfc4106_encrypt; in crypto_rfc4106_alloc() 1357 inst->alg.cra_aead.encrypt = crypto_rfc4543_encrypt; in crypto_rfc4543_alloc()
|
D | pcrypt.c | 375 inst->alg.cra_aead.encrypt = pcrypt_aead_encrypt; in pcrypt_alloc_aead()
|
D | authenc.c | 674 inst->alg.cra_aead.encrypt = crypto_authenc_encrypt; in crypto_authenc_alloc()
|
D | authencesn.c | 766 inst->alg.cra_aead.encrypt = crypto_authenc_esn_encrypt; in crypto_authenc_esn_alloc()
|
/linux-4.1.27/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 574 int ether_type = 0, encrypt; in rtllib_xmit_inter() local 661 encrypt = !(ether_type == ETH_P_PAE && ieee->ieee802_1x) && in rtllib_xmit_inter() 663 if (!encrypt && ieee->ieee802_1x && in rtllib_xmit_inter() 668 if (crypt && !encrypt && ether_type == ETH_P_PAE) { in rtllib_xmit_inter() 682 if (encrypt) in rtllib_xmit_inter() 760 if (encrypt) { in rtllib_xmit_inter() 786 txb->encrypted = encrypt; in rtllib_xmit_inter() 807 if (encrypt) { in rtllib_xmit_inter() 861 if (encrypt) in rtllib_xmit_inter()
|
D | rtllib_softmac.c | 840 int encrypt; in rtllib_probe_resp() local 878 encrypt = ieee->host_encrypt && crypt && crypt->ops && in rtllib_probe_resp() 886 &tmp_ht_cap_len, encrypt, false); in rtllib_probe_resp() 888 encrypt); in rtllib_probe_resp() 930 if (encrypt) in rtllib_probe_resp() 990 short encrypt; in rtllib_assoc_resp() local 1023 encrypt = (crypt && crypt->ops); in rtllib_assoc_resp() 1025 if (encrypt) in rtllib_assoc_resp() 1185 int encrypt; in rtllib_association_req() local 1200 encrypt = ieee->host_encrypt && crypt && crypt->ops && in rtllib_association_req() [all …]
|
D | rtllib.h | 1047 encrypt:1; member
|
/linux-4.1.27/drivers/crypto/caam/ |
D | caamalg.c | 2348 bool all_contig, bool encrypt) in init_aead_job() argument 2419 if (encrypt) in init_aead_job() 2613 bool encrypt) in aead_edesc_alloc() argument 2637 (encrypt ? authsize : (-authsize)), in aead_edesc_alloc() 2642 (encrypt ? authsize : 0), in aead_edesc_alloc() 3403 .encrypt = aead_encrypt, 3422 .encrypt = aead_encrypt, 3441 .encrypt = aead_encrypt, 3461 .encrypt = aead_encrypt, 3481 .encrypt = aead_encrypt, [all …]
|
/linux-4.1.27/include/linux/ |
D | crypto.h | 284 int (*encrypt)(struct ablkcipher_request *req); member 326 int (*encrypt)(struct aead_request *req); member 352 int (*encrypt)(struct blkcipher_desc *desc, member 594 int (*encrypt)(struct ablkcipher_request *req); member 608 int (*encrypt)(struct aead_request *req); member 624 int (*encrypt)(struct blkcipher_desc *desc, struct scatterlist *dst, member 1036 return crt->encrypt(req); in crypto_ablkcipher_encrypt() 1394 return crypto_aead_crt(crypto_aead_reqtfm(req))->encrypt(req); in crypto_aead_encrypt() 1814 return crypto_blkcipher_crt(desc->tfm)->encrypt(desc, dst, src, nbytes); in crypto_blkcipher_encrypt() 1841 return crypto_blkcipher_crt(desc->tfm)->encrypt(desc, dst, src, nbytes); in crypto_blkcipher_encrypt_iv()
|
/linux-4.1.27/arch/s390/crypto/ |
D | des_s390.c | 179 .encrypt = ecb_des_encrypt, 220 .encrypt = cbc_des_encrypt, 325 .encrypt = ecb_des3_encrypt, 366 .encrypt = cbc_des3_encrypt, 489 .encrypt = ctr_des_encrypt, 532 .encrypt = ctr_des3_encrypt,
|
D | aes_s390.c | 408 .encrypt = ecb_aes_encrypt, 525 .encrypt = cbc_aes_encrypt, 732 .encrypt = xts_aes_encrypt, 883 .encrypt = ctr_aes_encrypt,
|
/linux-4.1.27/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 172 if (prxattrib->encrypt == _TKIP_) { in r8712_recvframe_chkmic() 226 if ((prxattrib->encrypt > 0) && ((prxattrib->bdecrypted == 0) || in r8712_decryptor() 229 switch (prxattrib->encrypt) { in r8712_decryptor() 544 GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, in validate_recv_data_frame() 547 pattrib->encrypt); in validate_recv_data_frame() 549 pattrib->encrypt = 0; in validate_recv_data_frame() 613 if (pattrib->encrypt) in r8712_wlanhdr_to_ethhdr()
|
D | rtl871x_security.h | 160 #define SET_ICE_IV_LEN(iv_len, icv_len, encrypt)\ argument 162 switch (encrypt) { \
|
D | rtl871x_xmit.c | 304 pattrib->encrypt = 0; in r8712_update_attrib() 309 GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, bmcast); in r8712_update_attrib() 310 switch (pattrib->encrypt) { in r8712_update_attrib() 332 if (pattrib->encrypt && in r8712_update_attrib() 364 if (pattrib->encrypt == _TKIP_) { in xmitframe_addmic() 455 switch (pattrib->encrypt) { in xmitframe_swencrypt() 515 if (pattrib->encrypt) in make_wlanhdr() 632 switch (pattrib->encrypt) { in r8712_xmitframe_coalesce()
|
D | rtl871x_security.c | 183 if ((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) { in r8712_wep_encrypt() 237 if ((prxattrib->encrypt == _WEP40_) || (prxattrib->encrypt == in r8712_wep_decrypt() 595 if (pattrib->encrypt == _TKIP_) { in r8712_tkip_encrypt() 668 if (prxattrib->encrypt == _TKIP_) { in r8712_tkip_decrypt() 1166 if (pattrib->encrypt == _AES_) { in r8712_aes_encrypt() 1371 if (prxattrib->encrypt == _AES_) { in r8712_aes_decrypt()
|
D | rtl871x_recv.h | 55 int encrypt; /* 0 no encrypt. != 0 encrypt algorith */ member
|
D | rtl871x_xmit.h | 121 u8 encrypt; /* when 0 indicate no encrypt. when non-zero, member
|
D | rtl8712_xmit.c | 500 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in update_txdesc() 501 switch (pattrib->encrypt) { /*SEC_TYPE*/ in update_txdesc()
|
/linux-4.1.27/drivers/crypto/qce/ |
D | ablkcipher.c | 203 static int qce_ablkcipher_crypt(struct ablkcipher_request *req, int encrypt) in qce_ablkcipher_crypt() argument 213 rctx->flags |= encrypt ? QCE_ENCRYPT : QCE_DECRYPT; in qce_ablkcipher_crypt() 218 ret = encrypt ? crypto_ablkcipher_encrypt(req) : in qce_ablkcipher_crypt() 368 alg->cra_ablkcipher.encrypt = qce_ablkcipher_encrypt; in qce_ablkcipher_register_one()
|
/linux-4.1.27/drivers/crypto/nx/ |
D | nx-aes-ctr.c | 163 .encrypt = ctr_aes_nx_crypt, 185 .encrypt = ctr3686_aes_nx_crypt,
|
D | nx-aes-cbc.c | 147 .encrypt = cbc_aes_nx_encrypt,
|
D | nx-aes-ecb.c | 146 .encrypt = ecb_aes_nx_encrypt,
|
D | nx-aes-gcm.c | 503 .encrypt = gcm_aes_nx_encrypt, 525 .encrypt = gcm4106_aes_nx_encrypt,
|
D | nx-aes-ccm.c | 580 .encrypt = ccm_aes_nx_encrypt, 602 .encrypt = ccm4309_aes_nx_encrypt,
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 303 if (prxattrib->encrypt == _TKIP_) { in recvframe_chkmic() 435 … ("prxstat->decrypted=%x prxattrib->encrypt=0x%03x\n", prxattrib->bdecrypted, prxattrib->encrypt)); in decryptor() 437 if (prxattrib->encrypt > 0) { in decryptor() 444 switch (prxattrib->encrypt) { in decryptor() 458 if ((prxattrib->encrypt > 0) && ((prxattrib->bdecrypted == 0) || (psecuritypriv->sw_decrypt))) { in decryptor() 461 switch (prxattrib->encrypt) { in decryptor() 475 } else if (prxattrib->bdecrypted == 1 && prxattrib->encrypt > 0 && in decryptor() 476 (psecuritypriv->busetkipkey == 1 || prxattrib->encrypt != _TKIP_)) in decryptor() 1241 GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, IS_MCAST(pattrib->ra)); in validate_recv_data_frame() 1243 RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("\n pattrib->encrypt=%d\n", pattrib->encrypt)); in validate_recv_data_frame() [all …]
|
D | rtw_xmit.c | 547 pattrib->encrypt = 0; in update_attrib() 555 GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, bmcast); in update_attrib() 575 switch (pattrib->encrypt) { in update_attrib() 594 …RT_TRACE(_module_rtl871x_xmit_c_, _drv_info_, ("pattrib->encrypt=%d (_AES_)\n", pattrib->encrypt)); in update_attrib() 606 pattrib->encrypt, padapter->securitypriv.sw_encrypt)); in update_attrib() 608 if (pattrib->encrypt && in update_attrib() 613 pattrib->encrypt, padapter->securitypriv.sw_encrypt)); in update_attrib() 648 if (pattrib->encrypt == _TKIP_) {/* if (psecuritypriv->dot11PrivacyAlgrthm == _TKIP_PRIVACY_) */ in xmitframe_addmic() 753 switch (pattrib->encrypt) { in xmitframe_swencrypt() 843 if (pattrib->encrypt) in rtw_make_wlanhdr() [all …]
|
D | rtw_security.c | 167 if ((pattrib->encrypt == _WEP40_) || (pattrib->encrypt == _WEP104_)) { in rtw_wep_encrypt() 215 if ((prxattrib->encrypt == _WEP40_) || (prxattrib->encrypt == _WEP104_)) { in rtw_wep_decrypt() 588 if (pattrib->encrypt == _TKIP_) { in rtw_tkip_encrypt() 664 if (prxattrib->encrypt == _TKIP_) { in rtw_tkip_decrypt() 1222 if (pattrib->encrypt == _AES_) { in rtw_aes_encrypt() 1463 if (prxattrib->encrypt == _AES_) { in rtw_aes_decrypt()
|
D | rtw_mlme_ext.c | 1875 pattrib->encrypt = _NO_PRIVACY_; in update_mgntframe_attrib() 2522 pattrib->encrypt = _WEP40_; in issue_auth()
|
/linux-4.1.27/drivers/staging/rtl8723au/core/ |
D | rtw_recv.c | 300 if (prxattrib->encrypt == WLAN_CIPHER_SUITE_TKIP) { in recvframe_chkmic() 470 prxattrib->bdecrypted, prxattrib->encrypt); in decryptor() 472 if (prxattrib->encrypt > 0) { in decryptor() 481 switch (prxattrib->encrypt) { in decryptor() 497 if ((prxattrib->encrypt > 0) && ((prxattrib->bdecrypted == 0))) { in decryptor() 499 switch (prxattrib->encrypt) { in decryptor() 513 } else if (prxattrib->bdecrypted == 1 && prxattrib->encrypt > 0 && in decryptor() 515 prxattrib->encrypt != WLAN_CIPHER_SUITE_TKIP)) { in decryptor() 1353 GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, in validate_recv_data_frame() 1357 "pattrib->encrypt =%d\n", pattrib->encrypt); in validate_recv_data_frame() [all …]
|
D | rtw_xmit.c | 547 pattrib->encrypt = 0; in update_attrib() 558 GET_ENCRY_ALGO(psecuritypriv, psta, pattrib->encrypt, bmcast); in update_attrib() 581 switch (pattrib->encrypt) { in update_attrib() 604 pattrib->encrypt); in update_attrib() 616 "update_attrib: encrypt =%d\n", pattrib->encrypt); in update_attrib() 618 if (pattrib->encrypt && !psecuritypriv->hw_decrypted) { in update_attrib() 622 pattrib->encrypt); in update_attrib() 668 if (pattrib->encrypt == WLAN_CIPHER_SUITE_TKIP) { in xmitframe_addmic() 814 switch (pattrib->encrypt) { in xmitframe_swencrypt() 917 if (pattrib->encrypt) in rtw_make_wlanhdr() [all …]
|
D | rtw_security.c | 170 if (pattrib->encrypt != WLAN_CIPHER_SUITE_WEP40 && in rtw_wep_encrypt23a() 171 pattrib->encrypt != WLAN_CIPHER_SUITE_WEP104) in rtw_wep_encrypt23a() 226 if (prxattrib->encrypt != WLAN_CIPHER_SUITE_WEP40 && in rtw_wep_decrypt23a() 227 prxattrib->encrypt != WLAN_CIPHER_SUITE_WEP104) in rtw_wep_decrypt23a() 618 if (pattrib->encrypt != WLAN_CIPHER_SUITE_TKIP) in rtw_tkip_encrypt23a() 727 if (prxattrib->encrypt != WLAN_CIPHER_SUITE_TKIP) in rtw_tkip_decrypt23a() 1304 if (pattrib->encrypt != WLAN_CIPHER_SUITE_CCMP) in rtw_aes_encrypt23a() 1582 if (prxattrib->encrypt != WLAN_CIPHER_SUITE_CCMP) in rtw_aes_decrypt23a()
|
D | rtw_mlme_ext.c | 2246 pattrib->encrypt = 0; in update_mgntframe_attrib23a() 2955 pattrib->encrypt = WLAN_CIPHER_SUITE_WEP40; in issue_auth()
|
/linux-4.1.27/net/sunrpc/auth_gss/ |
D | gss_krb5_mech.c | 64 .encrypt = krb5_encrypt, 85 .encrypt = krb5_encrypt, 106 .encrypt = krb5_encrypt, 127 .encrypt = krb5_encrypt, 150 .encrypt = krb5_encrypt,
|
D | gss_krb5_crypto.c | 293 err = kctx->gk5e->encrypt(kctx->seq, NULL, checksumdata, in make_checksum() 598 u32 offset, u8 *iv, struct page **pages, int encrypt) in gss_krb5_cts_crypt() argument 618 if (encrypt) in gss_krb5_cts_crypt() 628 if (encrypt) in gss_krb5_cts_crypt()
|
D | gss_krb5_keys.c | 201 (*(gk5e->encrypt))(cipher, NULL, inblock.data, in krb5_derive_key()
|
/linux-4.1.27/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 1127 .encrypt = cryp_blk_encrypt, 1152 .encrypt = cryp_blk_encrypt, 1177 .encrypt = cryp_blk_encrypt, 1203 .encrypt = cryp_blk_encrypt, 1229 .encrypt = cryp_blk_encrypt, 1255 .encrypt = cryp_blk_encrypt, 1280 .encrypt = cryp_blk_encrypt, 1305 .encrypt = cryp_blk_encrypt, 1330 .encrypt = cryp_blk_encrypt, 1355 .encrypt = cryp_blk_encrypt,
|
/linux-4.1.27/arch/powerpc/crypto/ |
D | aes-spe-glue.c | 425 .encrypt = ppc_ecb_encrypt, 445 .encrypt = ppc_cbc_encrypt, 465 .encrypt = ppc_ctr_crypt, 485 .encrypt = ppc_xts_encrypt,
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
D | rtw_security.h | 198 #define SET_ICE_IV_LEN(iv_len, icv_len, encrypt) \ argument 200 switch (encrypt) { \
|
D | rtw_recv.h | 120 u8 encrypt; /* when 0 indicate no encrypt. when non-zero, member
|
D | rtw_xmit.h | 127 u8 encrypt; /* when 0 indicate no encrypt. when non-zero, member
|
/linux-4.1.27/net/bluetooth/ |
D | hci_conn.c | 1004 cp.encrypt = 0x01; in hci_conn_encrypt() 1036 goto encrypt; in hci_conn_security() 1043 goto encrypt; in hci_conn_security() 1050 goto encrypt; in hci_conn_security() 1059 goto encrypt; in hci_conn_security() 1071 encrypt: in hci_conn_security()
|
D | hci_event.c | 2531 cp.encrypt = 0x01; in hci_auth_complete_evt() 2551 cp.encrypt = 0x01; in hci_auth_complete_evt() 2620 if (ev->encrypt) { in hci_encrypt_change_evt() 2630 if ((conn->type == ACL_LINK && ev->encrypt == 0x02) || in hci_encrypt_change_evt() 2672 hci_encrypt_cfm(conn, ev->status, ev->encrypt); in hci_encrypt_change_evt()
|
D | l2cap_core.c | 7337 static inline void l2cap_check_encryption(struct l2cap_chan *chan, u8 encrypt) in l2cap_check_encryption() argument 7342 if (encrypt == 0x00) { in l2cap_check_encryption() 7354 static void l2cap_security_cfm(struct hci_conn *hcon, u8 status, u8 encrypt) in l2cap_security_cfm() argument 7362 BT_DBG("conn %p status 0x%2.2x encrypt %u", conn, status, encrypt); in l2cap_security_cfm() 7377 if (!status && encrypt) in l2cap_security_cfm() 7388 l2cap_check_encryption(chan, encrypt); in l2cap_security_cfm()
|
D | hci_core.c | 965 __u8 encrypt = opt; in hci_encrypt_req() local 967 BT_DBG("%s %x", req->hdev->name, encrypt); in hci_encrypt_req() 970 hci_req_add(req, HCI_OP_WRITE_ENCRYPT_MODE, 1, &encrypt); in hci_encrypt_req()
|
/linux-4.1.27/include/pcmcia/ |
D | cistpl.h | 259 u_char encrypt; member 268 u_char encrypt; member
|
/linux-4.1.27/drivers/staging/wlan-ng/ |
D | p80211req.c | 163 if (req->encrypt.data == P80211ENUM_truth_true) in p80211req_handlemsg()
|
D | p80211metastruct.h | 201 p80211item_uint32_t encrypt; member
|
/linux-4.1.27/drivers/crypto/vmx/ |
D | aes_ctr.c | 167 .encrypt = p8_aes_ctr_crypt,
|
D | aes_cbc.c | 183 .encrypt = p8_aes_cbc_encrypt,
|
/linux-4.1.27/drivers/scsi/pm8001/ |
D | pm8001_sas.h | 235 u32 encrypt; member 319 struct encrypt { struct 483 struct encrypt encrypt_info; /* support encryption */
|
D | pm80xx_hwi.c | 1113 if (pm8001_ha->chip->encrypt) { in pm80xx_chip_init() 3921 if (pm8001_ha->chip->encrypt && in pm80xx_chip_ssp_io_req() 4100 if (pm8001_ha->chip->encrypt && in pm80xx_chip_sata_req()
|
/linux-4.1.27/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_xmit.c | 104 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in fill_txdesc_sectype() 105 switch (pattrib->encrypt) { in fill_txdesc_sectype() 425 if (pattrib->encrypt == _TKIP_) in xmitframe_need_length()
|
D | rtl8188e_rxdesc.c | 103 pattrib->encrypt = (u8)((le32_to_cpu(report.rxdw0) >> 20) & 0x7);/* u8)prxreport->security; */ in update_recvframe_attrib_88e()
|
/linux-4.1.27/drivers/block/ |
D | cryptoloop.c | 144 encdecfunc = crypto_blkcipher_crt(tfm)->encrypt; in cryptoloop_transfer()
|
/linux-4.1.27/include/net/bluetooth/ |
D | hci_core.h | 1098 __u8 encrypt); 1136 __u8 encrypt; in hci_auth_cfm() local 1141 encrypt = test_bit(HCI_CONN_ENCRYPT, &conn->flags) ? 0x01 : 0x00; in hci_auth_cfm() 1146 cb->security_cfm(conn, status, encrypt); in hci_auth_cfm() 1155 __u8 encrypt) in hci_encrypt_cfm() argument 1168 cb->security_cfm(conn, status, encrypt); in hci_encrypt_cfm()
|
D | hci.h | 585 __u8 encrypt; member 1521 __u8 encrypt; member
|
/linux-4.1.27/drivers/staging/rtl8723au/hal/ |
D | rtl8723au_xmit.c | 61 if ((pattrib->encrypt > 0) && !pattrib->bswenc) { in fill_txdesc_sectype() 62 switch (pattrib->encrypt) { in fill_txdesc_sectype()
|
D | rtl8723au_recv.c | 165 pattrib->encrypt = (u8)prxreport->security; in update_recvframe_attrib()
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
D | rtw_recv.h | 114 u32 encrypt; member
|
D | rtw_xmit.h | 126 u32 encrypt; /* when 0 indicate no encrypt. */ member
|
/linux-4.1.27/include/linux/sunrpc/ |
D | gss_krb5.h | 74 u32 (*encrypt) (struct crypto_blkcipher *tfm, member
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 1199 .encrypt = qat_alg_aead_enc, 1221 .encrypt = qat_alg_aead_enc, 1243 .encrypt = qat_alg_aead_enc, 1265 .encrypt = qat_alg_ablkcipher_encrypt,
|
/linux-4.1.27/fs/cifs/ |
D | cifsencrypt.c | 304 int calc_lanman_hash(const char *password, const char *cryptkey, bool encrypt, in calc_lanman_hash() argument 315 if (!encrypt && global_secflags & CIFSSEC_MAY_PLNTXT) { in calc_lanman_hash()
|
D | cifsproto.h | 448 bool encrypt, char *lnm_session_key);
|
/linux-4.1.27/Documentation/power/ |
D | swsusp-dmcrypt.txt | 19 At this point you want to encrypt your swap, too. Still you want to
|
D | swsusp.txt | 294 encrypt the data written to disk. When, during resume, the data was
|
/linux-4.1.27/net/bluetooth/rfcomm/ |
D | core.c | 2113 static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt) in rfcomm_security_cfm() argument 2119 BT_DBG("conn %p status 0x%02x encrypt 0x%02x", conn, status, encrypt); in rfcomm_security_cfm() 2130 if (status || encrypt == 0x00) { in rfcomm_security_cfm() 2136 if (d->state == BT_CONNECTED && !status && encrypt == 0x00) { in rfcomm_security_cfm()
|
/linux-4.1.27/drivers/crypto/amcc/ |
D | crypto4xx_core.c | 1148 .encrypt = crypto4xx_encrypt,
|
/linux-4.1.27/drivers/staging/rtl8192u/ |
D | r8192U_core.c | 2021 int encrypt; in GetNmodeSupportBySecCfg8192() local 2025 …encrypt = (network->capability & WLAN_CAPABILITY_PRIVACY) || (ieee->host_encrypt && crypt && crypt… in GetNmodeSupportBySecCfg8192() 2028 if (encrypt && (wpa_ie_len == 0)) { in GetNmodeSupportBySecCfg8192()
|
/linux-4.1.27/Documentation/filesystems/cifs/ |
D | README | 555 seal Must seal (encrypt) all data on this mounted share before
|