Searched refs:crypto_ablkcipher (Results 1 - 51 of 51) sorted by relevance

/linux-4.1.27/include/crypto/
H A Dablk_helper.h16 extern int ablk_set_key(struct crypto_ablkcipher *tfm, const u8 *key,
H A Dskcipher.h33 static inline struct crypto_ablkcipher *skcipher_givcrypt_reqtfm( skcipher_givcrypt_reqtfm()
56 struct skcipher_givcrypt_request *req, struct crypto_ablkcipher *tfm) skcipher_givcrypt_set_tfm()
69 struct crypto_ablkcipher *tfm, gfp_t gfp) skcipher_givcrypt_alloc()
H A Dcryptd.h20 struct crypto_ablkcipher base;
24 struct crypto_ablkcipher *tfm) __cryptd_ablkcipher_cast()
H A Dalgapi.h227 struct crypto_ablkcipher *tfm) crypto_ablkcipher_alg()
232 static inline void *crypto_ablkcipher_ctx(struct crypto_ablkcipher *tfm) crypto_ablkcipher_ctx()
237 static inline void *crypto_ablkcipher_ctx_aligned(struct crypto_ablkcipher *tfm) crypto_ablkcipher_ctx_aligned()
361 struct crypto_ablkcipher *tfm) ablkcipher_tfm_in_queue()
/linux-4.1.27/crypto/
H A Dablk_helper.c37 int ablk_set_key(struct crypto_ablkcipher *tfm, const u8 *key, ablk_set_key()
41 struct crypto_ablkcipher *child = &ctx->cryptd_tfm->base; ablk_set_key()
56 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); __ablk_encrypt()
71 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); ablk_encrypt()
90 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); ablk_decrypt()
H A Dchainiv.c50 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); chainiv_givencrypt()
85 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); chainiv_givencrypt_first()
146 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); async_chainiv_postpone_request()
163 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); async_chainiv_givencrypt_tail()
183 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); async_chainiv_givencrypt()
210 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); async_chainiv_givencrypt_first()
H A Dctr.c29 struct crypto_ablkcipher *child;
252 static int crypto_rfc3686_setkey(struct crypto_ablkcipher *parent, crypto_rfc3686_setkey()
256 struct crypto_ablkcipher *child = ctx->child; crypto_rfc3686_setkey()
280 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); crypto_rfc3686_crypt()
282 struct crypto_ablkcipher *child = ctx->child; crypto_rfc3686_crypt()
311 struct crypto_ablkcipher *cipher; crypto_rfc3686_init_tfm()
H A Deseqiv.c44 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); eseqiv_complete2()
67 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); eseqiv_givencrypt()
151 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); eseqiv_givencrypt_first()
174 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); eseqiv_init()
H A Dseqiv.c35 struct crypto_ablkcipher *geniv; seqiv_complete2()
100 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); seqiv_givencrypt()
191 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); seqiv_givencrypt_first()
237 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); seqiv_init()
H A Dalgif_skcipher.c35 struct crypto_ablkcipher *skcipher;
310 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(&ctx->req); skcipher_sendmsg()
857 struct crypto_ablkcipher *skcipher; skcipher_bind()
907 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(&ctx->req); skcipher_sock_destruct()
923 struct crypto_ablkcipher *skcipher = tfm->skcipher; skcipher_accept_parent_nokey()
H A Dablkcipher.c307 static int setkey_unaligned(struct crypto_ablkcipher *tfm, const u8 *key, setkey_unaligned()
329 static int setkey(struct crypto_ablkcipher *tfm, const u8 *key, setkey()
673 struct crypto_ablkcipher *crypto_alloc_ablkcipher(const char *alg_name, crypto_alloc_ablkcipher()
H A Dauthenc.c36 struct crypto_ablkcipher *enc;
90 struct crypto_ablkcipher *enc = ctx->enc; crypto_authenc_setkey()
399 struct crypto_ablkcipher *enc = ctx->enc; crypto_authenc_encrypt()
553 struct crypto_ablkcipher *enc; crypto_authenc_init_tfm()
H A Dauthencesn.c36 struct crypto_ablkcipher *enc;
64 struct crypto_ablkcipher *enc = ctx->enc; crypto_authenc_esn_setkey()
475 struct crypto_ablkcipher *enc = ctx->enc; crypto_authenc_esn_encrypt()
645 struct crypto_ablkcipher *enc; crypto_authenc_esn_init_tfm()
H A Dblkcipher.c412 static int async_setkey(struct crypto_ablkcipher *tfm, const u8 *key, async_setkey()
585 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key, skcipher_geniv_alloc()
723 struct crypto_ablkcipher *cipher; skcipher_geniv_init()
H A Dccm.c31 struct crypto_ablkcipher *ctr;
80 struct crypto_ablkcipher *ctr = ctx->ctr; crypto_ccm_setkey()
438 struct crypto_ablkcipher *ctr; crypto_ccm_init_tfm()
H A Dcryptd.c185 static int cryptd_blkcipher_setkey(struct crypto_ablkcipher *parent, cryptd_blkcipher_setkey()
253 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); cryptd_blkcipher_enqueue()
H A Dgcm.c31 struct crypto_ablkcipher *ctr;
109 struct crypto_ablkcipher *ctr = ctx->ctr; crypto_gcm_setkey()
656 struct crypto_ablkcipher *ctr; crypto_gcm_init_tfm()
H A Dtestmgr.c906 static int __test_skcipher(struct crypto_ablkcipher *tfm, int enc, __test_skcipher()
1151 static int test_skcipher(struct crypto_ablkcipher *tfm, int enc, test_skcipher()
1563 struct crypto_ablkcipher *tfm; alg_test_skcipher()
H A Dtcrypt.c1089 struct crypto_ablkcipher *tfm; test_acipher_speed()
1109 get_driver_name(crypto_ablkcipher, tfm), e); test_acipher_speed()
/linux-4.1.27/include/crypto/internal/
H A Dskcipher.h50 static inline struct crypto_ablkcipher *crypto_spawn_skcipher( crypto_spawn_skcipher()
69 static inline struct crypto_ablkcipher *skcipher_geniv_cipher( skcipher_geniv_cipher()
70 struct crypto_ablkcipher *geniv) skcipher_geniv_cipher()
/linux-4.1.27/drivers/crypto/qce/
H A Dcipher.h25 struct crypto_ablkcipher *fallback;
H A Dablkcipher.c66 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); qce_ablkcipher_async_req_handle()
162 static int qce_ablkcipher_setkey(struct crypto_ablkcipher *ablk, const u8 *key, qce_ablkcipher_setkey()
/linux-4.1.27/include/linux/
H A Dcrypto.h136 struct crypto_ablkcipher;
282 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key,
592 int (*setkey)(struct crypto_ablkcipher *tfm, const u8 *key,
599 struct crypto_ablkcipher *base;
693 struct crypto_ablkcipher { struct
823 static inline struct crypto_ablkcipher *__crypto_ablkcipher_cast( __crypto_ablkcipher_cast()
826 return (struct crypto_ablkcipher *)tfm; __crypto_ablkcipher_cast()
881 * crypto_ablkcipher is the cipher handle that is required for any subsequent
887 struct crypto_ablkcipher *crypto_alloc_ablkcipher(const char *alg_name,
891 struct crypto_ablkcipher *tfm) crypto_ablkcipher_tfm()
900 static inline void crypto_free_ablkcipher(struct crypto_ablkcipher *tfm) crypto_free_ablkcipher()
923 struct crypto_ablkcipher *tfm) crypto_ablkcipher_crt()
938 struct crypto_ablkcipher *tfm) crypto_ablkcipher_ivsize()
954 struct crypto_ablkcipher *tfm) crypto_ablkcipher_blocksize()
960 struct crypto_ablkcipher *tfm) crypto_ablkcipher_alignmask()
965 static inline u32 crypto_ablkcipher_get_flags(struct crypto_ablkcipher *tfm) crypto_ablkcipher_get_flags()
970 static inline void crypto_ablkcipher_set_flags(struct crypto_ablkcipher *tfm, crypto_ablkcipher_set_flags()
976 static inline void crypto_ablkcipher_clear_flags(struct crypto_ablkcipher *tfm, crypto_ablkcipher_clear_flags()
998 static inline int crypto_ablkcipher_setkey(struct crypto_ablkcipher *tfm, crypto_ablkcipher_setkey()
1010 * Return the crypto_ablkcipher handle when furnishing an ablkcipher_request
1013 * Return: crypto_ablkcipher handle
1015 static inline struct crypto_ablkcipher *crypto_ablkcipher_reqtfm( crypto_ablkcipher_reqtfm()
1075 struct crypto_ablkcipher *tfm) crypto_ablkcipher_reqsize()
1089 struct ablkcipher_request *req, struct crypto_ablkcipher *tfm) ablkcipher_request_set_tfm()
1113 struct crypto_ablkcipher *tfm, gfp_t gfp) ablkcipher_request_alloc()
/linux-4.1.27/fs/ext4/
H A Dcrypto_key.c47 struct crypto_ablkcipher *tfm = crypto_alloc_ablkcipher("ecb(aes)", 0, ext4_derive_key_aes()
H A Dext4_crypto.h127 struct crypto_ablkcipher *ctfm;
H A Dcrypto_fname.c65 struct crypto_ablkcipher *tfm = ctx->ctfm; ext4_fname_encrypt()
143 struct crypto_ablkcipher *tfm = ctx->ctfm; ext4_fname_decrypt()
H A Dcrypto.c321 struct crypto_ablkcipher *atfm = __crypto_ablkcipher_cast(ctx->tfm); ext4_page_crypto()
/linux-4.1.27/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c104 static int crypto4xx_setkey_aes(struct crypto_ablkcipher *cipher, crypto4xx_setkey_aes()
170 int crypto4xx_setkey_aes_cbc(struct crypto_ablkcipher *cipher, crypto4xx_setkey_aes_cbc()
H A Dcrypto4xx_core.h187 extern int crypto4xx_setkey_aes_cbc(struct crypto_ablkcipher *cipher,
/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c97 static int ccp_aes_xts_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ccp_aes_xts_setkey()
195 struct crypto_ablkcipher *fallback_tfm; ccp_aes_xts_cra_init()
H A Dccp-crypto-aes.c40 static int ccp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ccp_aes_setkey()
155 static int ccp_aes_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ccp_aes_rfc3686_setkey()
H A Dccp-crypto.h72 struct crypto_ablkcipher *tfm_ablkcipher;
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c826 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); ablk_dma_crypt()
884 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); ablk_crypt()
944 static int aes_ablkcipher_setkey(struct crypto_ablkcipher *cipher, aes_ablkcipher_setkey()
979 static int des_ablkcipher_setkey(struct crypto_ablkcipher *cipher, des_ablkcipher_setkey()
1010 static int des3_ablkcipher_setkey(struct crypto_ablkcipher *cipher, des3_ablkcipher_setkey()
1055 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); cryp_blk_encrypt()
1073 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); cryp_blk_decrypt()
/linux-4.1.27/drivers/crypto/
H A Dmxs-dcp.c87 struct crypto_ablkcipher *fallback;
439 static int mxs_dcp_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, mxs_dcp_aes_setkey()
487 struct crypto_ablkcipher *blk; mxs_dcp_aes_fallback_init()
H A Dpicoxcell_crypto.c165 struct crypto_ablkcipher *sw_cipher;
815 static int spacc_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, spacc_des_setkey()
843 static int spacc_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, spacc_aes_setkey()
890 static int spacc_kasumi_f8_setkey(struct crypto_ablkcipher *cipher, spacc_kasumi_f8_setkey()
1114 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); spacc_ablk_encrypt()
1123 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(req); spacc_ablk_decrypt()
H A Ds5p-sss.c533 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); s5p_aes_crypt()
548 static int s5p_aes_setkey(struct crypto_ablkcipher *cipher, s5p_aes_setkey()
H A Dixp4xx_crypto.c814 static int ablk_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ablk_setkey()
850 static int ablk_rfc3686_setkey(struct crypto_ablkcipher *tfm, const u8 *key, ablk_rfc3686_setkey()
868 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); ablk_perform()
951 struct crypto_ablkcipher *tfm = crypto_ablkcipher_reqtfm(req); ablk_rfc3686_crypt()
H A Dn2_core.c714 static int n2_aes_setkey(struct crypto_ablkcipher *cipher, const u8 *key, n2_aes_setkey()
743 static int n2_des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, n2_des_setkey()
770 static int n2_3des_setkey(struct crypto_ablkcipher *cipher, const u8 *key, n2_3des_setkey()
788 static int n2_arc4_setkey(struct crypto_ablkcipher *cipher, const u8 *key, n2_arc4_setkey()
H A Datmel-tdes.c777 static int atmel_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, atmel_des_setkey()
803 static int atmel_tdes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, atmel_tdes_setkey()
H A Dtalitos.c1320 static int ablkcipher_setkey(struct crypto_ablkcipher *cipher, ablkcipher_setkey()
1368 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); common_nonsnoop()
1464 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); ablkcipher_edesc_alloc()
1475 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); ablkcipher_encrypt()
1492 struct crypto_ablkcipher *cipher = crypto_ablkcipher_reqtfm(areq); ablkcipher_decrypt()
H A Dsahara.c153 struct crypto_ablkcipher *fallback;
627 static int sahara_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, sahara_aes_setkey()
H A Datmel-aes.c823 static int atmel_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, atmel_aes_setkey()
H A Dmv_cesa.c194 static int mv_setkey_aes(struct crypto_ablkcipher *cipher, const u8 *key, mv_setkey_aes()
H A Domap-aes.c745 static int omap_aes_setkey(struct crypto_ablkcipher *tfm, const u8 *key, omap_aes_setkey()
H A Domap-des.c727 static int omap_des_setkey(struct crypto_ablkcipher *tfm, const u8 *key, omap_des_setkey()
H A Dhifn_795x.c2047 static int hifn_setkey(struct crypto_ablkcipher *cipher, const u8 *key, hifn_setkey()
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dqat_algs.c950 static int qat_alg_ablkcipher_setkey(struct crypto_ablkcipher *tfm, qat_alg_ablkcipher_setkey()
1013 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); qat_alg_ablkcipher_encrypt()
1051 struct crypto_ablkcipher *atfm = crypto_ablkcipher_reqtfm(req); qat_alg_ablkcipher_decrypt()
/linux-4.1.27/drivers/crypto/caam/
H A Dcaamalg.c1826 static int ablkcipher_setkey(struct crypto_ablkcipher *ablkcipher, ablkcipher_setkey()
2173 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); ablkcipher_unmap()
2283 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); ablkcipher_encrypt_done()
2316 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); ablkcipher_decrypt_done()
2511 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); init_ablkcipher_job()
2568 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); init_ablkcipher_giv_job()
3059 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); ablkcipher_edesc_alloc()
3157 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); ablkcipher_encrypt()
3194 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); ablkcipher_decrypt()
3238 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); ablkcipher_giv_edesc_alloc()
3338 struct crypto_ablkcipher *ablkcipher = crypto_ablkcipher_reqtfm(req); ablkcipher_givencrypt()
/linux-4.1.27/drivers/md/
H A Ddm-crypt.c155 struct crypto_ablkcipher **tfms;
191 static struct crypto_ablkcipher *any_tfm(struct crypt_config *cc) any_tfm()
1436 cc->tfms = kmalloc(cc->tfms_count * sizeof(struct crypto_ablkcipher *), crypt_alloc_tfms()
/linux-4.1.27/fs/ecryptfs/
H A Decryptfs_kernel.h237 struct crypto_ablkcipher *tfm;
/linux-4.1.27/arch/x86/crypto/
H A Daesni-intel_glue.c839 struct crypto_ablkcipher *ctr_tfm; rfc4106_set_hash_subkey()

Completed in 2031 milliseconds