/linux-4.4.14/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-cipher.c | 21 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_opti_poll() 128 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_cipher_poll() 321 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_cbc_aes_encrypt() 332 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_cbc_aes_decrypt() 344 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_ecb_aes_encrypt() 355 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_ecb_aes_decrypt() 367 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_cbc_des_encrypt() 378 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_cbc_des_decrypt() 390 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_ecb_des_encrypt() 401 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(areq); in sun4i_ss_ecb_des_decrypt() [all …]
|
D | sun4i-ss.h | 196 int sun4i_ss_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, 198 int sun4i_ss_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, 200 int sun4i_ss_des3_setkey(struct crypto_ablkcipher *tfm, const u8 *key,
|
/linux-4.4.14/include/linux/ |
D | crypto.h | 137 struct crypto_ablkcipher; 254 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key, 492 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key, 499 struct crypto_ablkcipher *base; 568 struct crypto_ablkcipher { struct 690 static inline struct crypto_ablkcipher *__crypto_ablkcipher_cast( in __crypto_ablkcipher_cast() 693 return (struct crypto_ablkcipher *)tfm; in __crypto_ablkcipher_cast() 754 struct crypto_ablkcipher *crypto_alloc_ablkcipher(const char *alg_name, 758 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_tfm() 767 static inline void crypto_free_ablkcipher(struct crypto_ablkcipher *tfm) in crypto_free_ablkcipher() [all …]
|
/linux-4.4.14/crypto/ |
D | ablk_helper.c | 37 int ablk_set_key(struct crypto_ablkcipher *tfm, const u8 *key, in ablk_set_key() 41 struct crypto_ablkcipher *child = &ctx->cryptd_tfm->base; in ablk_set_key() 56 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in __ablk_encrypt() 71 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_encrypt() 90 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_decrypt()
|
D | skcipher.c | 31 return sizeof(struct crypto_ablkcipher *); in crypto_skcipher_extsize() 129 struct crypto_ablkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_setkey_ablkcipher() 130 struct crypto_ablkcipher *ablkcipher = *ctx; in skcipher_setkey_ablkcipher() 149 struct crypto_ablkcipher **ctx = crypto_skcipher_ctx(tfm); in skcipher_crypt_ablkcipher() 181 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_exit_skcipher_ops_ablkcipher() 190 struct crypto_ablkcipher **ctx = crypto_tfm_ctx(tfm); in crypto_init_skcipher_ops_ablkcipher() 191 struct crypto_ablkcipher *ablkcipher; in crypto_init_skcipher_ops_ablkcipher()
|
D | chainiv.c | 50 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in chainiv_givencrypt() 85 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in chainiv_init_common() 101 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in chainiv_init() 139 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in async_chainiv_postpone_request() 156 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in async_chainiv_givencrypt_tail() 176 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in async_chainiv_givencrypt() 232 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in async_chainiv_init()
|
D | ctr.c | 29 struct crypto_ablkcipher *child; 252 static int crypto_rfc3686_setkey(struct crypto_ablkcipher *parent, in crypto_rfc3686_setkey() 256 struct crypto_ablkcipher *child = ctx->child; in crypto_rfc3686_setkey() 280 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in crypto_rfc3686_crypt() 282 struct crypto_ablkcipher *child = ctx->child; in crypto_rfc3686_crypt() 311 struct crypto_ablkcipher *cipher; in crypto_rfc3686_init_tfm()
|
D | eseqiv.c | 44 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in eseqiv_complete2() 67 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in eseqiv_givencrypt() 151 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in eseqiv_init()
|
D | authenc.c | 35 struct crypto_ablkcipher *enc; 86 struct crypto_ablkcipher *enc = ctx->enc; in crypto_authenc_setkey() 202 struct crypto_ablkcipher *enc = ctx->enc; in crypto_authenc_encrypt() 321 struct crypto_ablkcipher *enc; in crypto_authenc_init_tfm()
|
D | seqiv.c | 38 struct crypto_ablkcipher *geniv; in seqiv_complete2() 104 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in seqiv_givencrypt() 234 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in seqiv_init()
|
D | authencesn.c | 38 struct crypto_ablkcipher *enc; 68 struct crypto_ablkcipher *enc = ctx->enc; in crypto_authenc_esn_setkey() 199 struct crypto_ablkcipher *enc = ctx->enc; in crypto_authenc_esn_encrypt() 334 struct crypto_ablkcipher *enc; in crypto_authenc_esn_init_tfm()
|
D | ablkcipher.c | 307 static int setkey_unaligned(struct crypto_ablkcipher *tfm, const u8 *key, in setkey_unaligned() 329 static int setkey(struct crypto_ablkcipher *tfm, const u8 *key, in setkey() 681 struct crypto_ablkcipher *crypto_alloc_ablkcipher(const char *alg_name, in crypto_alloc_ablkcipher()
|
D | blkcipher.c | 413 static int async_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in async_setkey() 586 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key, in skcipher_geniv_alloc() 724 struct crypto_ablkcipher *cipher; in skcipher_geniv_init()
|
D | ccm.c | 31 struct crypto_ablkcipher *ctr; 86 struct crypto_ablkcipher *ctr = ctx->ctr; in crypto_ccm_setkey() 457 struct crypto_ablkcipher *ctr; in crypto_ccm_init_tfm()
|
D | chacha20poly1305.c | 34 struct crypto_ablkcipher *chacha; 519 struct crypto_ablkcipher *chacha; in chachapoly_init()
|
D | gcm.c | 32 struct crypto_ablkcipher *ctr; 117 struct crypto_ablkcipher *ctr = ctx->ctr; in crypto_gcm_setkey() 569 struct crypto_ablkcipher *ctr; in crypto_gcm_init_tfm()
|
D | cryptd.c | 184 static int cryptd_blkcipher_setkey(struct crypto_ablkcipher *parent, in cryptd_blkcipher_setkey() 252 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in cryptd_blkcipher_enqueue()
|
D | tcrypt.c | 1118 struct crypto_ablkcipher *tfm; in test_acipher_speed() 1138 get_driver_name(crypto_ablkcipher, tfm), e); in test_acipher_speed()
|
/linux-4.4.14/include/crypto/internal/ |
D | skcipher.h | 50 static inline struct crypto_ablkcipher *crypto_spawn_skcipher( in crypto_spawn_skcipher() 69 static inline struct crypto_ablkcipher *skcipher_geniv_cipher( in skcipher_geniv_cipher() 70 struct crypto_ablkcipher *geniv) in skcipher_geniv_cipher()
|
/linux-4.4.14/include/crypto/ |
D | cryptd.h | 21 struct crypto_ablkcipher base; 25 struct crypto_ablkcipher *tfm) in __cryptd_ablkcipher_cast()
|
D | skcipher.h | 74 static inline struct crypto_ablkcipher *skcipher_givcrypt_reqtfm( in skcipher_givcrypt_reqtfm() 97 struct skcipher_givcrypt_request *req, struct crypto_ablkcipher *tfm) in skcipher_givcrypt_set_tfm() 110 struct crypto_ablkcipher *tfm, gfp_t gfp) in skcipher_givcrypt_alloc()
|
D | algapi.h | 230 struct crypto_ablkcipher *tfm) in crypto_ablkcipher_alg() 235 static inline void *crypto_ablkcipher_ctx(struct crypto_ablkcipher *tfm) in crypto_ablkcipher_ctx() 240 static inline void *crypto_ablkcipher_ctx_aligned(struct crypto_ablkcipher *tfm) in crypto_ablkcipher_ctx_aligned() 348 struct crypto_ablkcipher *tfm) in ablkcipher_tfm_in_queue()
|
D | ablk_helper.h | 16 extern int ablk_set_key(struct crypto_ablkcipher *tfm, const u8 *key,
|
/linux-4.4.14/drivers/crypto/qce/ |
D | cipher.h | 25 struct crypto_ablkcipher *fallback;
|
D | ablkcipher.c | 64 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in qce_ablkcipher_async_req_handle() 152 static int qce_ablkcipher_setkey(struct crypto_ablkcipher *ablk, const u8 *key, in qce_ablkcipher_setkey()
|
/linux-4.4.14/fs/f2fs/ |
D | crypto_key.c | 50 struct crypto_ablkcipher *tfm = crypto_alloc_ablkcipher("ecb(aes)", 0, in f2fs_derive_key_aes() 126 struct crypto_ablkcipher *ctfm; in _f2fs_get_encryption_info()
|
D | f2fs_crypto.h | 81 struct crypto_ablkcipher *ci_ctfm;
|
D | crypto_fname.c | 76 struct crypto_ablkcipher *tfm = ci->ci_ctfm; in f2fs_fname_encrypt() 155 struct crypto_ablkcipher *tfm = ci->ci_ctfm; in f2fs_fname_decrypt()
|
D | crypto.c | 335 struct crypto_ablkcipher *tfm = ci->ci_ctfm; in f2fs_page_crypto()
|
/linux-4.4.14/fs/ext4/ |
D | ext4_crypto.h | 80 struct crypto_ablkcipher *ci_ctfm;
|
D | crypto_key.c | 47 struct crypto_ablkcipher *tfm = crypto_alloc_ablkcipher("ecb(aes)", 0, in ext4_derive_key_aes() 125 struct crypto_ablkcipher *ctfm; in _ext4_get_encryption_info()
|
D | crypto_fname.c | 71 struct crypto_ablkcipher *tfm = ci->ci_ctfm; in ext4_fname_encrypt() 152 struct crypto_ablkcipher *tfm = ci->ci_ctfm; in ext4_fname_decrypt()
|
D | crypto.c | 268 struct crypto_ablkcipher *tfm = ci->ci_ctfm; in ext4_page_crypto()
|
/linux-4.4.14/drivers/crypto/ccp/ |
D | ccp-crypto-aes-xts.c | 97 static int ccp_aes_xts_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_aes_xts_setkey() 195 struct crypto_ablkcipher *fallback_tfm; in ccp_aes_xts_cra_init()
|
D | ccp-crypto-aes.c | 40 static int ccp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_aes_setkey() 155 static int ccp_aes_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ccp_aes_rfc3686_setkey()
|
D | ccp-crypto.h | 72 struct crypto_ablkcipher *tfm_ablkcipher;
|
/linux-4.4.14/drivers/crypto/amcc/ |
D | crypto4xx_alg.c | 104 static int crypto4xx_setkey_aes(struct crypto_ablkcipher *cipher, in crypto4xx_setkey_aes() 170 int crypto4xx_setkey_aes_cbc(struct crypto_ablkcipher *cipher, in crypto4xx_setkey_aes_cbc()
|
D | crypto4xx_core.h | 187 extern int crypto4xx_setkey_aes_cbc(struct crypto_ablkcipher *cipher,
|
/linux-4.4.14/drivers/crypto/marvell/ |
D | cipher.c | 227 static int mv_cesa_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in mv_cesa_aes_setkey() 252 static int mv_cesa_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in mv_cesa_des_setkey() 276 static int mv_cesa_des3_ede_setkey(struct crypto_ablkcipher *cipher, in mv_cesa_des3_ede_setkey() 396 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in mv_cesa_ablkcipher_req_init()
|
/linux-4.4.14/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 826 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablk_dma_crypt() 884 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablk_crypt() 944 static int aes_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in aes_ablkcipher_setkey() 979 static int des_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in des_ablkcipher_setkey() 1010 static int des3_ablkcipher_setkey(struct crypto_ablkcipher *cipher, in des3_ablkcipher_setkey() 1055 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in cryp_blk_encrypt() 1073 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in cryp_blk_decrypt()
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 901 static int qat_alg_ablkcipher_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_setkey() 962 static int qat_alg_ablkcipher_cbc_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_cbc_setkey() 969 static int qat_alg_ablkcipher_ctr_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_ctr_setkey() 976 static int qat_alg_ablkcipher_xts_setkey(struct crypto_ablkcipher *tfm, in qat_alg_ablkcipher_xts_setkey() 985 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in qat_alg_ablkcipher_encrypt() 1022 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); in qat_alg_ablkcipher_decrypt()
|
/linux-4.4.14/drivers/crypto/ |
D | picoxcell_crypto.c | 174 struct crypto_ablkcipher *sw_cipher; 726 static int spacc_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_des_setkey() 754 static int spacc_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in spacc_aes_setkey() 801 static int spacc_kasumi_f8_setkey(struct crypto_ablkcipher *cipher, in spacc_kasumi_f8_setkey() 1025 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in spacc_ablk_encrypt() 1034 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); in spacc_ablk_decrypt()
|
D | mxs-dcp.c | 87 struct crypto_ablkcipher *fallback; 439 static int mxs_dcp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in mxs_dcp_aes_setkey() 487 struct crypto_ablkcipher *blk; in mxs_dcp_aes_fallback_init()
|
D | s5p-sss.c | 515 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in s5p_aes_crypt() 530 static int s5p_aes_setkey(struct crypto_ablkcipher *cipher, in s5p_aes_setkey()
|
D | ixp4xx_crypto.c | 830 static int ablk_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ablk_setkey() 866 static int ablk_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in ablk_rfc3686_setkey() 884 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_perform() 967 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); in ablk_rfc3686_crypt()
|
D | n2_core.c | 714 static int n2_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_aes_setkey() 743 static int n2_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_des_setkey() 770 static int n2_3des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_3des_setkey() 788 static int n2_arc4_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in n2_arc4_setkey()
|
D | talitos.c | 1386 static int ablkcipher_setkey(struct crypto_ablkcipher *cipher, in ablkcipher_setkey() 1555 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in common_nonsnoop() 1609 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_edesc_alloc() 1620 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_encrypt() 1637 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); in ablkcipher_decrypt()
|
D | atmel-tdes.c | 777 static int atmel_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in atmel_des_setkey() 803 static int atmel_tdes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in atmel_tdes_setkey()
|
D | sahara.c | 153 struct crypto_ablkcipher *fallback; 601 static int sahara_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in sahara_aes_setkey()
|
D | omap-des.c | 727 static int omap_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in omap_des_setkey()
|
D | mv_cesa.c | 199 static int mv_setkey_aes(struct crypto_ablkcipher *cipher, const u8 *key, in mv_setkey_aes()
|
D | omap-aes.c | 743 static int omap_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in omap_aes_setkey()
|
D | atmel-aes.c | 823 static int atmel_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, in atmel_aes_setkey()
|
D | hifn_795x.c | 2045 static int hifn_setkey(struct crypto_ablkcipher *cipher, const u8 *key, in hifn_setkey()
|
/linux-4.4.14/drivers/crypto/caam/ |
D | caamalg.c | 1456 static int ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in ablkcipher_setkey() 1708 static int xts_ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, in xts_ablkcipher_setkey() 1903 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_unmap() 1968 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_encrypt_done() 2001 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_decrypt_done() 2165 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in init_ablkcipher_job() 2222 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in init_ablkcipher_giv_job() 2558 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_edesc_alloc() 2653 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_encrypt() 2690 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); in ablkcipher_decrypt() [all …]
|
/linux-4.4.14/drivers/md/ |
D | dm-crypt.c | 156 struct crypto_ablkcipher **tfms; 192 static struct crypto_ablkcipher *any_tfm(struct crypt_config *cc) in any_tfm() 1453 cc->tfms = kmalloc(cc->tfms_count * sizeof(struct crypto_ablkcipher *), in crypt_alloc_tfms()
|
/linux-4.4.14/fs/ecryptfs/ |
D | ecryptfs_kernel.h | 236 struct crypto_ablkcipher *tfm;
|
/linux-4.4.14/arch/x86/crypto/ |
D | aesni-intel_glue.c | 831 struct crypto_ablkcipher *ctr_tfm; in rfc4106_set_hash_subkey()
|