Searched refs:ablkcipher_request (Results 1 - 50 of 50) sorted by relevance

/linux-4.1.27/include/crypto/
H A Dablk_helper.h19 extern int __ablk_encrypt(struct ablkcipher_request *req);
21 extern int ablk_encrypt(struct ablkcipher_request *req);
23 extern int ablk_decrypt(struct ablkcipher_request *req);
H A Dalgapi.h203 int ablkcipher_walk_done(struct ablkcipher_request *req,
205 int ablkcipher_walk_phys(struct ablkcipher_request *req,
344 struct ablkcipher_request *request) ablkcipher_enqueue_request()
349 static inline struct ablkcipher_request *ablkcipher_dequeue_request( ablkcipher_dequeue_request()
355 static inline void *ablkcipher_request_ctx(struct ablkcipher_request *req) ablkcipher_request_ctx()
H A Dskcipher.h30 struct ablkcipher_request creq;
/linux-4.1.27/crypto/
H A Dablk_helper.c54 int __ablk_encrypt(struct ablkcipher_request *req) __ablk_encrypt()
69 int ablk_encrypt(struct ablkcipher_request *req) ablk_encrypt()
75 struct ablkcipher_request *cryptd_req = ablk_encrypt()
88 int ablk_decrypt(struct ablkcipher_request *req) ablk_decrypt()
94 struct ablkcipher_request *cryptd_req = ablk_decrypt()
133 tfm->crt_ablkcipher.reqsize = sizeof(struct ablkcipher_request) + ablk_init_common()
H A Dchainiv.c52 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); chainiv_givencrypt()
109 tfm->crt_ablkcipher.reqsize = sizeof(struct ablkcipher_request); chainiv_init_common()
165 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); async_chainiv_givencrypt_tail()
185 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); async_chainiv_givencrypt()
241 struct ablkcipher_request *subreq; async_chainiv_do_postponed()
H A Dablkcipher.c105 static int ablkcipher_walk_next(struct ablkcipher_request *req,
108 int ablkcipher_walk_done(struct ablkcipher_request *req, ablkcipher_walk_done()
149 static inline int ablkcipher_next_slow(struct ablkcipher_request *req, ablkcipher_next_slow()
214 static inline int ablkcipher_next_fast(struct ablkcipher_request *req, ablkcipher_next_fast()
225 static int ablkcipher_walk_next(struct ablkcipher_request *req, ablkcipher_walk_next()
270 static int ablkcipher_walk_first(struct ablkcipher_request *req, ablkcipher_walk_first()
299 int ablkcipher_walk_phys(struct ablkcipher_request *req, ablkcipher_walk_phys()
H A Dseqiv.c34 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); seqiv_complete2()
102 struct ablkcipher_request *subreq = skcipher_givcrypt_reqctx(req); seqiv_givencrypt()
242 tfm->crt_ablkcipher.reqsize = sizeof(struct ablkcipher_request); seqiv_init()
H A Dauthencesn.c193 struct ablkcipher_request *abreq; authenc_esn_verify_ahash_update_done()
254 struct ablkcipher_request *abreq; authenc_esn_verify_ahash_update_done2()
304 struct ablkcipher_request *abreq; authenc_esn_verify_ahash_done()
460 struct ablkcipher_request *abreq = aead_request_ctx(areq); crypto_authenc_esn_encrypt_done()
478 struct ablkcipher_request *abreq = (void *)(areq_ctx->tail crypto_authenc_esn_encrypt()
617 struct ablkcipher_request *abreq = aead_request_ctx(req); crypto_authenc_esn_decrypt()
H A Dctr.c35 struct ablkcipher_request subreq CRYPTO_MINALIGN_ATTR;
278 static int crypto_rfc3686_crypt(struct ablkcipher_request *req) crypto_rfc3686_crypt()
286 struct ablkcipher_request *subreq = &rctx->subreq; crypto_rfc3686_crypt()
H A Deseqiv.c70 struct ablkcipher_request *subreq; eseqiv_givencrypt()
199 sizeof(struct ablkcipher_request); eseqiv_init()
H A Dauthenc.c176 struct ablkcipher_request *abreq; authenc_verify_ahash_update_done()
225 struct ablkcipher_request *abreq; authenc_verify_ahash_done()
384 struct ablkcipher_request *abreq = (void *)(areq_ctx->tail crypto_authenc_encrypt_done()
402 struct ablkcipher_request *abreq = (void *)(areq_ctx->tail crypto_authenc_encrypt()
525 struct ablkcipher_request *abreq = aead_request_ctx(req); crypto_authenc_decrypt()
H A Dgcm.c74 struct ablkcipher_request abreq;
117 struct ablkcipher_request req; crypto_gcm_setkey()
189 static void crypto_gcm_init_crypt(struct ablkcipher_request *ablk_req, crypto_gcm_init_crypt()
548 struct ablkcipher_request *abreq = &pctx->u.abreq; crypto_gcm_encrypt()
602 struct ablkcipher_request *abreq = &pctx->u.abreq; gcm_dec_hash_done()
623 struct ablkcipher_request *abreq = &pctx->u.abreq; crypto_gcm_decrypt()
677 max(sizeof(struct ablkcipher_request) + crypto_gcm_init_tfm()
H A Dblkcipher.c418 static int async_encrypt(struct ablkcipher_request *req) async_encrypt()
432 static int async_decrypt(struct ablkcipher_request *req) async_decrypt()
587 int (*encrypt)(struct ablkcipher_request *req); skcipher_geniv_alloc()
588 int (*decrypt)(struct ablkcipher_request *req); skcipher_geniv_alloc()
H A Dcryptd.c201 static void cryptd_blkcipher_crypt(struct ablkcipher_request *req, cryptd_blkcipher_crypt()
249 static int cryptd_blkcipher_enqueue(struct ablkcipher_request *req, cryptd_blkcipher_enqueue()
263 static int cryptd_blkcipher_encrypt_enqueue(struct ablkcipher_request *req) cryptd_blkcipher_encrypt_enqueue()
268 static int cryptd_blkcipher_decrypt_enqueue(struct ablkcipher_request *req) cryptd_blkcipher_decrypt_enqueue()
H A Dccm.c47 struct ablkcipher_request abreq;
308 struct ablkcipher_request *abreq = &pctx->abreq; crypto_ccm_encrypt()
378 struct ablkcipher_request *abreq = &pctx->abreq; crypto_ccm_decrypt()
H A Dalgif_skcipher.c55 struct ablkcipher_request req;
516 struct ablkcipher_request *req; skcipher_recvmsg_async()
H A Dtcrypt.c995 static inline int do_one_acipher_op(struct ablkcipher_request *req, int ret) do_one_acipher_op()
1008 static int test_acipher_jiffies(struct ablkcipher_request *req, int enc, test_acipher_jiffies()
1033 static int test_acipher_cycles(struct ablkcipher_request *req, int enc, test_acipher_cycles()
1088 struct ablkcipher_request *req; test_acipher_speed()
H A Dtestmgr.c914 struct ablkcipher_request *req; __test_skcipher()
/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-crypto-aes.c27 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); ccp_aes_complete()
70 static int ccp_aes_crypt(struct ablkcipher_request *req, bool encrypt) ccp_aes_crypt()
117 static int ccp_aes_encrypt(struct ablkcipher_request *req) ccp_aes_encrypt()
122 static int ccp_aes_decrypt(struct ablkcipher_request *req) ccp_aes_decrypt()
146 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); ccp_aes_rfc3686_complete()
169 static int ccp_aes_rfc3686_crypt(struct ablkcipher_request *req, bool encrypt) ccp_aes_rfc3686_crypt()
192 static int ccp_aes_rfc3686_encrypt(struct ablkcipher_request *req) ccp_aes_rfc3686_encrypt()
197 static int ccp_aes_rfc3686_decrypt(struct ablkcipher_request *req) ccp_aes_rfc3686_decrypt()
H A Dccp-crypto-aes-xts.c86 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); ccp_aes_xts_complete()
117 static int ccp_aes_xts_crypt(struct ablkcipher_request *req, ccp_aes_xts_crypt()
182 static int ccp_aes_xts_encrypt(struct ablkcipher_request *req) ccp_aes_xts_encrypt()
187 static int ccp_aes_xts_decrypt(struct ablkcipher_request *req) ccp_aes_xts_decrypt()
/linux-4.1.27/include/crypto/internal/
H A Dskcipher.h93 static inline void ablkcipher_request_complete(struct ablkcipher_request *req, ablkcipher_request_complete()
105 static inline u32 ablkcipher_request_flags(struct ablkcipher_request *req) ablkcipher_request_flags()
/linux-4.1.27/drivers/crypto/
H A Datmel-aes.c119 struct ablkcipher_request *req;
158 static int atmel_aes_sg_length(struct ablkcipher_request *req, atmel_aes_sg_length()
298 struct ablkcipher_request *req = dd->req; atmel_aes_finish_req()
563 struct ablkcipher_request *req) atmel_aes_handle_queue()
706 static int atmel_aes_crypt(struct ablkcipher_request *req, unsigned long mode) atmel_aes_crypt()
840 static int atmel_aes_ecb_encrypt(struct ablkcipher_request *req) atmel_aes_ecb_encrypt()
846 static int atmel_aes_ecb_decrypt(struct ablkcipher_request *req) atmel_aes_ecb_decrypt()
852 static int atmel_aes_cbc_encrypt(struct ablkcipher_request *req) atmel_aes_cbc_encrypt()
858 static int atmel_aes_cbc_decrypt(struct ablkcipher_request *req) atmel_aes_cbc_decrypt()
864 static int atmel_aes_ofb_encrypt(struct ablkcipher_request *req) atmel_aes_ofb_encrypt()
870 static int atmel_aes_ofb_decrypt(struct ablkcipher_request *req) atmel_aes_ofb_decrypt()
876 static int atmel_aes_cfb_encrypt(struct ablkcipher_request *req) atmel_aes_cfb_encrypt()
882 static int atmel_aes_cfb_decrypt(struct ablkcipher_request *req) atmel_aes_cfb_decrypt()
888 static int atmel_aes_cfb64_encrypt(struct ablkcipher_request *req) atmel_aes_cfb64_encrypt()
894 static int atmel_aes_cfb64_decrypt(struct ablkcipher_request *req) atmel_aes_cfb64_decrypt()
900 static int atmel_aes_cfb32_encrypt(struct ablkcipher_request *req) atmel_aes_cfb32_encrypt()
906 static int atmel_aes_cfb32_decrypt(struct ablkcipher_request *req) atmel_aes_cfb32_decrypt()
912 static int atmel_aes_cfb16_encrypt(struct ablkcipher_request *req) atmel_aes_cfb16_encrypt()
918 static int atmel_aes_cfb16_decrypt(struct ablkcipher_request *req) atmel_aes_cfb16_decrypt()
924 static int atmel_aes_cfb8_encrypt(struct ablkcipher_request *req) atmel_aes_cfb8_encrypt()
930 static int atmel_aes_cfb8_decrypt(struct ablkcipher_request *req) atmel_aes_cfb8_decrypt()
936 static int atmel_aes_ctr_encrypt(struct ablkcipher_request *req) atmel_aes_ctr_encrypt()
942 static int atmel_aes_ctr_decrypt(struct ablkcipher_request *req) atmel_aes_ctr_decrypt()
H A Datmel-tdes.c112 struct ablkcipher_request *req;
579 struct ablkcipher_request *req = dd->req; atmel_tdes_finish_req()
589 struct ablkcipher_request *req) atmel_tdes_handle_queue()
671 static int atmel_tdes_crypt(struct ablkcipher_request *req, unsigned long mode) atmel_tdes_crypt()
829 static int atmel_tdes_ecb_encrypt(struct ablkcipher_request *req) atmel_tdes_ecb_encrypt()
834 static int atmel_tdes_ecb_decrypt(struct ablkcipher_request *req) atmel_tdes_ecb_decrypt()
839 static int atmel_tdes_cbc_encrypt(struct ablkcipher_request *req) atmel_tdes_cbc_encrypt()
844 static int atmel_tdes_cbc_decrypt(struct ablkcipher_request *req) atmel_tdes_cbc_decrypt()
848 static int atmel_tdes_cfb_encrypt(struct ablkcipher_request *req) atmel_tdes_cfb_encrypt()
853 static int atmel_tdes_cfb_decrypt(struct ablkcipher_request *req) atmel_tdes_cfb_decrypt()
858 static int atmel_tdes_cfb8_encrypt(struct ablkcipher_request *req) atmel_tdes_cfb8_encrypt()
864 static int atmel_tdes_cfb8_decrypt(struct ablkcipher_request *req) atmel_tdes_cfb8_decrypt()
869 static int atmel_tdes_cfb16_encrypt(struct ablkcipher_request *req) atmel_tdes_cfb16_encrypt()
875 static int atmel_tdes_cfb16_decrypt(struct ablkcipher_request *req) atmel_tdes_cfb16_decrypt()
880 static int atmel_tdes_cfb32_encrypt(struct ablkcipher_request *req) atmel_tdes_cfb32_encrypt()
886 static int atmel_tdes_cfb32_decrypt(struct ablkcipher_request *req) atmel_tdes_cfb32_decrypt()
891 static int atmel_tdes_ofb_encrypt(struct ablkcipher_request *req) atmel_tdes_ofb_encrypt()
896 static int atmel_tdes_ofb_decrypt(struct ablkcipher_request *req) atmel_tdes_ofb_decrypt()
H A Ds5p-sss.c181 struct ablkcipher_request *req;
417 struct ablkcipher_request *req = dev->req; s5p_aes_crypt_start()
510 struct ablkcipher_request *req) s5p_aes_handle_req()
531 static int s5p_aes_crypt(struct ablkcipher_request *req, unsigned long mode) s5p_aes_crypt()
565 static int s5p_aes_ecb_encrypt(struct ablkcipher_request *req) s5p_aes_ecb_encrypt()
570 static int s5p_aes_ecb_decrypt(struct ablkcipher_request *req) s5p_aes_ecb_decrypt()
575 static int s5p_aes_cbc_encrypt(struct ablkcipher_request *req) s5p_aes_cbc_encrypt()
580 static int s5p_aes_cbc_decrypt(struct ablkcipher_request *req) s5p_aes_cbc_decrypt()
H A Dhifn_795x.c1489 static int hifn_cipher_walk(struct ablkcipher_request *req, hifn_cipher_walk()
1575 static int hifn_setup_session(struct ablkcipher_request *req) hifn_setup_session()
1770 static void hifn_process_ready(struct ablkcipher_request *req, int error) hifn_process_ready()
2021 struct ablkcipher_request *req; hifn_flush()
2037 req = container_of(async_req, struct ablkcipher_request, base); hifn_flush()
2077 static int hifn_handle_req(struct ablkcipher_request *req) hifn_handle_req()
2097 static int hifn_setup_crypto_req(struct ablkcipher_request *req, u8 op, hifn_setup_crypto_req()
2140 struct ablkcipher_request *req; hifn_process_queue()
2156 req = container_of(async_req, struct ablkcipher_request, base); hifn_process_queue()
2166 static int hifn_setup_crypto(struct ablkcipher_request *req, u8 op, hifn_setup_crypto()
2186 static inline int hifn_encrypt_aes_ecb(struct ablkcipher_request *req) hifn_encrypt_aes_ecb()
2191 static inline int hifn_encrypt_aes_cbc(struct ablkcipher_request *req) hifn_encrypt_aes_cbc()
2196 static inline int hifn_encrypt_aes_cfb(struct ablkcipher_request *req) hifn_encrypt_aes_cfb()
2201 static inline int hifn_encrypt_aes_ofb(struct ablkcipher_request *req) hifn_encrypt_aes_ofb()
2210 static inline int hifn_decrypt_aes_ecb(struct ablkcipher_request *req) hifn_decrypt_aes_ecb()
2215 static inline int hifn_decrypt_aes_cbc(struct ablkcipher_request *req) hifn_decrypt_aes_cbc()
2220 static inline int hifn_decrypt_aes_cfb(struct ablkcipher_request *req) hifn_decrypt_aes_cfb()
2225 static inline int hifn_decrypt_aes_ofb(struct ablkcipher_request *req) hifn_decrypt_aes_ofb()
2234 static inline int hifn_encrypt_des_ecb(struct ablkcipher_request *req) hifn_encrypt_des_ecb()
2239 static inline int hifn_encrypt_des_cbc(struct ablkcipher_request *req) hifn_encrypt_des_cbc()
2244 static inline int hifn_encrypt_des_cfb(struct ablkcipher_request *req) hifn_encrypt_des_cfb()
2249 static inline int hifn_encrypt_des_ofb(struct ablkcipher_request *req) hifn_encrypt_des_ofb()
2258 static inline int hifn_decrypt_des_ecb(struct ablkcipher_request *req) hifn_decrypt_des_ecb()
2263 static inline int hifn_decrypt_des_cbc(struct ablkcipher_request *req) hifn_decrypt_des_cbc()
2268 static inline int hifn_decrypt_des_cfb(struct ablkcipher_request *req) hifn_decrypt_des_cfb()
2273 static inline int hifn_decrypt_des_ofb(struct ablkcipher_request *req) hifn_decrypt_des_ofb()
2282 static inline int hifn_encrypt_3des_ecb(struct ablkcipher_request *req) hifn_encrypt_3des_ecb()
2287 static inline int hifn_encrypt_3des_cbc(struct ablkcipher_request *req) hifn_encrypt_3des_cbc()
2292 static inline int hifn_encrypt_3des_cfb(struct ablkcipher_request *req) hifn_encrypt_3des_cfb()
2297 static inline int hifn_encrypt_3des_ofb(struct ablkcipher_request *req) hifn_encrypt_3des_ofb()
2306 static inline int hifn_decrypt_3des_ecb(struct ablkcipher_request *req) hifn_decrypt_3des_ecb()
2311 static inline int hifn_decrypt_3des_cbc(struct ablkcipher_request *req) hifn_decrypt_3des_cbc()
2316 static inline int hifn_decrypt_3des_cfb(struct ablkcipher_request *req) hifn_decrypt_3des_cfb()
2321 static inline int hifn_decrypt_3des_ofb(struct ablkcipher_request *req) hifn_decrypt_3des_ofb()
H A Dmxs-dcp.c197 struct ablkcipher_request *req, int init) mxs_dcp_run_aes()
253 struct ablkcipher_request *req = ablkcipher_request_cast(arq); mxs_dcp_aes_block_crypt()
375 static int mxs_dcp_block_fallback(struct ablkcipher_request *req, int enc) mxs_dcp_block_fallback()
395 static int mxs_dcp_aes_enqueue(struct ablkcipher_request *req, int enc, int ecb) mxs_dcp_aes_enqueue()
419 static int mxs_dcp_aes_ecb_decrypt(struct ablkcipher_request *req) mxs_dcp_aes_ecb_decrypt()
424 static int mxs_dcp_aes_ecb_encrypt(struct ablkcipher_request *req) mxs_dcp_aes_ecb_encrypt()
429 static int mxs_dcp_aes_cbc_decrypt(struct ablkcipher_request *req) mxs_dcp_aes_cbc_decrypt()
434 static int mxs_dcp_aes_cbc_encrypt(struct ablkcipher_request *req) mxs_dcp_aes_cbc_encrypt()
H A Domap-aes.c160 struct ablkcipher_request *req;
534 struct ablkcipher_request *req = dd->req; omap_aes_finish_req()
608 struct ablkcipher_request *req) omap_aes_handle_queue()
718 static int omap_aes_crypt(struct ablkcipher_request *req, unsigned long mode) omap_aes_crypt()
762 static int omap_aes_ecb_encrypt(struct ablkcipher_request *req) omap_aes_ecb_encrypt()
767 static int omap_aes_ecb_decrypt(struct ablkcipher_request *req) omap_aes_ecb_decrypt()
772 static int omap_aes_cbc_encrypt(struct ablkcipher_request *req) omap_aes_cbc_encrypt()
777 static int omap_aes_cbc_decrypt(struct ablkcipher_request *req) omap_aes_cbc_decrypt()
782 static int omap_aes_ctr_encrypt(struct ablkcipher_request *req) omap_aes_ctr_encrypt()
787 static int omap_aes_ctr_decrypt(struct ablkcipher_request *req) omap_aes_ctr_decrypt()
H A Dmv_cesa.c255 struct ablkcipher_request *req = ablkcipher_request_cast(cpg->cur_req); mv_process_current_q()
310 struct ablkcipher_request *req = ablkcipher_request_cast(cpg->cur_req); mv_crypto_algo_completion()
525 static void mv_start_new_crypt_req(struct ablkcipher_request *req) mv_start_new_crypt_req()
624 struct ablkcipher_request *req = queue_manag()
653 static int mv_enc_aes_ecb(struct ablkcipher_request *req) mv_enc_aes_ecb()
663 static int mv_dec_aes_ecb(struct ablkcipher_request *req) mv_dec_aes_ecb()
675 static int mv_enc_aes_cbc(struct ablkcipher_request *req) mv_enc_aes_cbc()
685 static int mv_dec_aes_cbc(struct ablkcipher_request *req) mv_dec_aes_cbc()
H A Domap-des.c142 struct ablkcipher_request *req;
518 struct ablkcipher_request *req = dd->req; omap_des_finish_req()
590 struct ablkcipher_request *req) omap_des_handle_queue()
700 static int omap_des_crypt(struct ablkcipher_request *req, unsigned long mode) omap_des_crypt()
743 static int omap_des_ecb_encrypt(struct ablkcipher_request *req) omap_des_ecb_encrypt()
748 static int omap_des_ecb_decrypt(struct ablkcipher_request *req) omap_des_ecb_decrypt()
753 static int omap_des_cbc_encrypt(struct ablkcipher_request *req) omap_des_cbc_encrypt()
758 static int omap_des_cbc_decrypt(struct ablkcipher_request *req) omap_des_cbc_decrypt()
H A Dn2_core.c873 static int n2_compute_chunks(struct ablkcipher_request *req) n2_compute_chunks()
954 static void n2_chunk_complete(struct ablkcipher_request *req, void *final_iv) n2_chunk_complete()
971 static int n2_do_ecb(struct ablkcipher_request *req, bool encrypt) n2_do_ecb()
1013 static int n2_encrypt_ecb(struct ablkcipher_request *req) n2_encrypt_ecb()
1018 static int n2_decrypt_ecb(struct ablkcipher_request *req) n2_decrypt_ecb()
1023 static int n2_do_chaining(struct ablkcipher_request *req, bool encrypt) n2_do_chaining()
1103 static int n2_encrypt_chaining(struct ablkcipher_request *req) n2_encrypt_chaining()
1108 static int n2_decrypt_chaining(struct ablkcipher_request *req) n2_decrypt_chaining()
H A Dixp4xx_crypto.c145 struct ablkcipher_request *ablk_req;
375 struct ablkcipher_request *req = crypt->data.ablk_req; one_packet()
866 static int ablk_perform(struct ablkcipher_request *req, int encrypt) ablk_perform()
939 static int ablk_encrypt(struct ablkcipher_request *req) ablk_encrypt()
944 static int ablk_decrypt(struct ablkcipher_request *req) ablk_decrypt()
949 static int ablk_rfc3686_crypt(struct ablkcipher_request *req) ablk_rfc3686_crypt()
H A Dpicoxcell_crypto.c927 struct ablkcipher_request *ablk_req = spacc_ablk_complete()
928 container_of(req->req, struct ablkcipher_request, base); spacc_ablk_complete()
946 struct ablkcipher_request *ablk_req = ablkcipher_request_cast(req->req); spacc_ablk_submit()
976 static int spacc_ablk_do_fallback(struct ablkcipher_request *req, spacc_ablk_do_fallback()
1000 static int spacc_ablk_setup(struct ablkcipher_request *req, unsigned alg_type, spacc_ablk_setup()
1112 static int spacc_ablk_encrypt(struct ablkcipher_request *req) spacc_ablk_encrypt()
1121 static int spacc_ablk_decrypt(struct ablkcipher_request *req) spacc_ablk_decrypt()
H A Dsahara.c577 static int sahara_aes_process(struct ablkcipher_request *req) sahara_aes_process()
664 static int sahara_aes_crypt(struct ablkcipher_request *req, unsigned long mode) sahara_aes_crypt()
690 static int sahara_aes_ecb_encrypt(struct ablkcipher_request *req) sahara_aes_ecb_encrypt()
708 static int sahara_aes_ecb_decrypt(struct ablkcipher_request *req) sahara_aes_ecb_decrypt()
726 static int sahara_aes_cbc_encrypt(struct ablkcipher_request *req) sahara_aes_cbc_encrypt()
744 static int sahara_aes_cbc_decrypt(struct ablkcipher_request *req) sahara_aes_cbc_decrypt()
1125 struct ablkcipher_request *req = sahara_queue_manage()
H A Dtalitos.c1333 struct ablkcipher_request *areq) common_nonsnoop_unmap()
1350 struct ablkcipher_request *areq = context; ablkcipher_done()
1363 struct ablkcipher_request *areq, common_nonsnoop()
1461 static struct talitos_edesc *ablkcipher_edesc_alloc(struct ablkcipher_request * ablkcipher_edesc_alloc()
1473 static int ablkcipher_encrypt(struct ablkcipher_request *areq) ablkcipher_encrypt()
1490 static int ablkcipher_decrypt(struct ablkcipher_request *areq) ablkcipher_decrypt()
/linux-4.1.27/drivers/crypto/qce/
H A Dablkcipher.c28 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); qce_ablkcipher_done()
64 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); qce_ablkcipher_async_req_handle()
203 static int qce_ablkcipher_crypt(struct ablkcipher_request *req, int encrypt) qce_ablkcipher_crypt()
227 static int qce_ablkcipher_encrypt(struct ablkcipher_request *req) qce_ablkcipher_encrypt()
232 static int qce_ablkcipher_decrypt(struct ablkcipher_request *req) qce_ablkcipher_decrypt()
H A Dcommon.c318 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); qce_setup_regs_ablkcipher()
/linux-4.1.27/drivers/crypto/amcc/
H A Dcrypto4xx_core.h189 extern int crypto4xx_encrypt(struct ablkcipher_request *req);
190 extern int crypto4xx_decrypt(struct ablkcipher_request *req);
H A Dcrypto4xx_alg.c73 int crypto4xx_encrypt(struct ablkcipher_request *req) crypto4xx_encrypt()
87 int crypto4xx_decrypt(struct ablkcipher_request *req) crypto4xx_decrypt()
H A Dcrypto4xx_core.c631 struct ablkcipher_request *ablk_req; crypto4xx_ablkcipher_done()
/linux-4.1.27/include/linux/
H A Dcrypto.h165 struct ablkcipher_request { struct
284 int (*encrypt)(struct ablkcipher_request *req);
285 int (*decrypt)(struct ablkcipher_request *req);
594 int (*encrypt)(struct ablkcipher_request *req);
595 int (*decrypt)(struct ablkcipher_request *req);
859 * information is given by filling in the ablkcipher_request data structure.
1008 * @req: ablkcipher_request out of which the cipher handle is to be obtained
1010 * Return the crypto_ablkcipher handle when furnishing an ablkcipher_request
1016 struct ablkcipher_request *req) crypto_ablkcipher_reqtfm()
1023 * @req: reference to the ablkcipher_request handle that holds all information
1026 * Encrypt plaintext data using the ablkcipher_request handle. That data
1032 static inline int crypto_ablkcipher_encrypt(struct ablkcipher_request *req) crypto_ablkcipher_encrypt()
1041 * @req: reference to the ablkcipher_request handle that holds all information
1044 * Decrypt ciphertext data using the ablkcipher_request handle. That data
1050 static inline int crypto_ablkcipher_decrypt(struct ablkcipher_request *req) crypto_ablkcipher_decrypt()
1060 * The ablkcipher_request data structure contains all pointers to data
1062 * handle (which can be used by multiple ablkcipher_request instances), pointer
1089 struct ablkcipher_request *req, struct crypto_ablkcipher *tfm) ablkcipher_request_set_tfm()
1094 static inline struct ablkcipher_request *ablkcipher_request_cast( ablkcipher_request_cast()
1097 return container_of(req, struct ablkcipher_request, base); ablkcipher_request_cast()
1112 static inline struct ablkcipher_request *ablkcipher_request_alloc( ablkcipher_request_alloc()
1115 struct ablkcipher_request *req; ablkcipher_request_alloc()
1117 req = kmalloc(sizeof(struct ablkcipher_request) + ablkcipher_request_alloc()
1130 static inline void ablkcipher_request_free(struct ablkcipher_request *req) ablkcipher_request_free()
1155 * The callback function is registered with the ablkcipher_request handle and
1161 struct ablkcipher_request *req, ablkcipher_request_set_callback()
1186 struct ablkcipher_request *req, ablkcipher_request_set_crypt()
1399 * @req: reference to the ablkcipher_request handle that holds all information
/linux-4.1.27/drivers/crypto/qat/qat_common/
H A Dqat_crypto.h88 struct ablkcipher_request *ablkcipher_req;
H A Dqat_algs.c818 struct ablkcipher_request *areq = qat_req->ablkcipher_req; qat_ablkcipher_alg_callback()
1011 static int qat_alg_ablkcipher_encrypt(struct ablkcipher_request *req) qat_alg_ablkcipher_encrypt()
1049 static int qat_alg_ablkcipher_decrypt(struct ablkcipher_request *req) qat_alg_ablkcipher_decrypt()
1150 tfm->crt_ablkcipher.reqsize = sizeof(struct ablkcipher_request) + qat_alg_ablkcipher_init()
/linux-4.1.27/fs/ext4/
H A Dcrypto_key.c44 struct ablkcipher_request *req = NULL; ext4_derive_key_aes()
H A Dcrypto_fname.c63 struct ablkcipher_request *req = NULL; ext4_fname_encrypt()
140 struct ablkcipher_request *req = NULL; ext4_fname_decrypt()
H A Dcrypto.c317 struct ablkcipher_request *req = NULL; ext4_page_crypto()
/linux-4.1.27/drivers/md/
H A Ddm-crypt.c47 struct ablkcipher_request *req;
161 * struct ablkcipher_request
818 struct ablkcipher_request *req) dmreq_of_req()
823 static struct ablkcipher_request *req_of_dmreq(struct crypt_config *cc, req_of_dmreq()
826 return (struct ablkcipher_request *)((char *)dmreq - cc->dmreq_start); req_of_dmreq()
838 struct ablkcipher_request *req) crypt_convert_block()
900 struct ablkcipher_request *req, struct bio *base_bio) crypt_free_req()
904 if ((struct ablkcipher_request *)(io + 1) != req) crypt_free_req()
1746 cc->dmreq_start = sizeof(struct ablkcipher_request); crypt_ctr()
1903 io->ctx.req = (struct ablkcipher_request *)(io + 1); crypt_map()
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c824 static int ablk_dma_crypt(struct ablkcipher_request *areq) ablk_dma_crypt()
881 static int ablk_crypt(struct ablkcipher_request *areq) ablk_crypt()
1053 static int cryp_blk_encrypt(struct ablkcipher_request *areq) cryp_blk_encrypt()
1071 static int cryp_blk_decrypt(struct ablkcipher_request *areq) cryp_blk_decrypt()
/linux-4.1.27/drivers/crypto/caam/
H A Dcaamalg.c2171 struct ablkcipher_request *req) ablkcipher_unmap()
2280 struct ablkcipher_request *req = context; ablkcipher_encrypt_done()
2313 struct ablkcipher_request *req = context; ablkcipher_decrypt_done()
2508 struct ablkcipher_request *req, init_ablkcipher_job()
2565 struct ablkcipher_request *req, init_ablkcipher_giv_job()
3055 static struct ablkcipher_edesc *ablkcipher_edesc_alloc(struct ablkcipher_request ablkcipher_edesc_alloc()
3154 static int ablkcipher_encrypt(struct ablkcipher_request *req) ablkcipher_encrypt()
3191 static int ablkcipher_decrypt(struct ablkcipher_request *req) ablkcipher_decrypt()
3237 struct ablkcipher_request *req = &greq->creq; ablkcipher_giv_edesc_alloc()
3336 struct ablkcipher_request *req = &creq->creq; ablkcipher_givencrypt()
/linux-4.1.27/arch/x86/crypto/
H A Daesni-intel_glue.c840 struct ablkcipher_request *req; rfc4106_set_hash_subkey()
/linux-4.1.27/fs/ecryptfs/
H A Dcrypto.c346 struct ablkcipher_request *req = NULL; crypt_scatterlist()

Completed in 575 milliseconds