Home
last modified time | relevance | path

Searched refs:ablkcipher_request (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v4.19/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c25 struct ablkcipher_request *req) in rk_handle_req()
74 static int rk_aes_ecb_encrypt(struct ablkcipher_request *req) in rk_aes_ecb_encrypt()
84 static int rk_aes_ecb_decrypt(struct ablkcipher_request *req) in rk_aes_ecb_decrypt()
94 static int rk_aes_cbc_encrypt(struct ablkcipher_request *req) in rk_aes_cbc_encrypt()
104 static int rk_aes_cbc_decrypt(struct ablkcipher_request *req) in rk_aes_cbc_decrypt()
114 static int rk_des_ecb_encrypt(struct ablkcipher_request *req) in rk_des_ecb_encrypt()
124 static int rk_des_ecb_decrypt(struct ablkcipher_request *req) in rk_des_ecb_decrypt()
134 static int rk_des_cbc_encrypt(struct ablkcipher_request *req) in rk_des_cbc_encrypt()
144 static int rk_des_cbc_decrypt(struct ablkcipher_request *req) in rk_des_cbc_decrypt()
154 static int rk_des3_ede_ecb_encrypt(struct ablkcipher_request *req) in rk_des3_ede_ecb_encrypt()
[all …]
/Linux-v4.19/include/linux/
Dcrypto.h180 struct ablkcipher_request { struct
268 int (*encrypt)(struct ablkcipher_request *req);
269 int (*decrypt)(struct ablkcipher_request *req);
553 int (*encrypt)(struct ablkcipher_request *req);
554 int (*decrypt)(struct ablkcipher_request *req);
905 struct ablkcipher_request *req) in crypto_ablkcipher_reqtfm()
921 static inline int crypto_ablkcipher_encrypt(struct ablkcipher_request *req) in crypto_ablkcipher_encrypt()
939 static inline int crypto_ablkcipher_decrypt(struct ablkcipher_request *req) in crypto_ablkcipher_decrypt()
978 struct ablkcipher_request *req, struct crypto_ablkcipher *tfm) in ablkcipher_request_set_tfm()
983 static inline struct ablkcipher_request *ablkcipher_request_cast( in ablkcipher_request_cast()
[all …]
/Linux-v4.19/drivers/crypto/ccp/
Dccp-crypto-aes.c27 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in ccp_aes_complete()
70 static int ccp_aes_crypt(struct ablkcipher_request *req, bool encrypt) in ccp_aes_crypt()
117 static int ccp_aes_encrypt(struct ablkcipher_request *req) in ccp_aes_encrypt()
122 static int ccp_aes_decrypt(struct ablkcipher_request *req) in ccp_aes_decrypt()
146 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in ccp_aes_rfc3686_complete()
169 static int ccp_aes_rfc3686_crypt(struct ablkcipher_request *req, bool encrypt) in ccp_aes_rfc3686_crypt()
192 static int ccp_aes_rfc3686_encrypt(struct ablkcipher_request *req) in ccp_aes_rfc3686_encrypt()
197 static int ccp_aes_rfc3686_decrypt(struct ablkcipher_request *req) in ccp_aes_rfc3686_decrypt()
Dccp-crypto-des3.c26 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in ccp_des3_complete()
78 static int ccp_des3_crypt(struct ablkcipher_request *req, bool encrypt) in ccp_des3_crypt()
125 static int ccp_des3_encrypt(struct ablkcipher_request *req) in ccp_des3_encrypt()
130 static int ccp_des3_decrypt(struct ablkcipher_request *req) in ccp_des3_decrypt()
Dccp-crypto-aes-xts.c67 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in ccp_aes_xts_complete()
108 static int ccp_aes_xts_crypt(struct ablkcipher_request *req, in ccp_aes_xts_crypt()
193 static int ccp_aes_xts_encrypt(struct ablkcipher_request *req) in ccp_aes_xts_encrypt()
198 static int ccp_aes_xts_decrypt(struct ablkcipher_request *req) in ccp_aes_xts_decrypt()
/Linux-v4.19/drivers/crypto/
Dmxc-scc.c171 struct ablkcipher_request *ablkreq = ablkcipher_request_cast(req); in mxc_scc_get_data()
209 static int mxc_scc_ablkcipher_req_init(struct ablkcipher_request *req, in mxc_scc_ablkcipher_req_init()
239 struct ablkcipher_request *ablkreq = ablkcipher_request_cast(req); in mxc_scc_ablkcipher_req_complete()
256 struct ablkcipher_request *req) in mxc_scc_put_data()
323 struct ablkcipher_request *ablkreq = ablkcipher_request_cast(req); in mxc_scc_ablkcipher_next()
439 struct ablkcipher_request *req) in mxc_scc_des3_op()
450 static int mxc_scc_ecb_des_encrypt(struct ablkcipher_request *req) in mxc_scc_ecb_des_encrypt()
460 static int mxc_scc_ecb_des_decrypt(struct ablkcipher_request *req) in mxc_scc_ecb_des_decrypt()
471 static int mxc_scc_cbc_des_encrypt(struct ablkcipher_request *req) in mxc_scc_cbc_des_encrypt()
482 static int mxc_scc_cbc_des_decrypt(struct ablkcipher_request *req) in mxc_scc_cbc_des_decrypt()
Dhifn_795x.c1445 static int hifn_cipher_walk(struct ablkcipher_request *req, in hifn_cipher_walk()
1530 static int hifn_setup_session(struct ablkcipher_request *req) in hifn_setup_session()
1672 static void hifn_process_ready(struct ablkcipher_request *req, int error) in hifn_process_ready()
1922 struct ablkcipher_request *req; in hifn_flush()
1978 static int hifn_handle_req(struct ablkcipher_request *req) in hifn_handle_req()
1998 static int hifn_setup_crypto_req(struct ablkcipher_request *req, u8 op, in hifn_setup_crypto_req()
2041 struct ablkcipher_request *req; in hifn_process_queue()
2067 static int hifn_setup_crypto(struct ablkcipher_request *req, u8 op, in hifn_setup_crypto()
2087 static inline int hifn_encrypt_aes_ecb(struct ablkcipher_request *req) in hifn_encrypt_aes_ecb()
2092 static inline int hifn_encrypt_aes_cbc(struct ablkcipher_request *req) in hifn_encrypt_aes_cbc()
[all …]
Datmel-tdes.c112 struct ablkcipher_request *req;
579 struct ablkcipher_request *req = dd->req; in atmel_tdes_finish_req()
589 struct ablkcipher_request *req) in atmel_tdes_handle_queue()
671 static int atmel_tdes_crypt(struct ablkcipher_request *req, unsigned long mode) in atmel_tdes_crypt()
828 static int atmel_tdes_ecb_encrypt(struct ablkcipher_request *req) in atmel_tdes_ecb_encrypt()
833 static int atmel_tdes_ecb_decrypt(struct ablkcipher_request *req) in atmel_tdes_ecb_decrypt()
838 static int atmel_tdes_cbc_encrypt(struct ablkcipher_request *req) in atmel_tdes_cbc_encrypt()
843 static int atmel_tdes_cbc_decrypt(struct ablkcipher_request *req) in atmel_tdes_cbc_decrypt()
847 static int atmel_tdes_cfb_encrypt(struct ablkcipher_request *req) in atmel_tdes_cfb_encrypt()
852 static int atmel_tdes_cfb_decrypt(struct ablkcipher_request *req) in atmel_tdes_cfb_decrypt()
[all …]
Datmel-aes.c507 struct ablkcipher_request *req = in atmel_aes_complete()
982 struct ablkcipher_request *req = ablkcipher_request_cast(dd->areq); in atmel_aes_start()
1012 struct ablkcipher_request *req = ablkcipher_request_cast(dd->areq); in atmel_aes_ctr_transfer()
1077 struct ablkcipher_request *req = ablkcipher_request_cast(dd->areq); in atmel_aes_ctr_start()
1093 static int atmel_aes_crypt(struct ablkcipher_request *req, unsigned long mode) in atmel_aes_crypt()
1158 static int atmel_aes_ecb_encrypt(struct ablkcipher_request *req) in atmel_aes_ecb_encrypt()
1163 static int atmel_aes_ecb_decrypt(struct ablkcipher_request *req) in atmel_aes_ecb_decrypt()
1168 static int atmel_aes_cbc_encrypt(struct ablkcipher_request *req) in atmel_aes_cbc_encrypt()
1173 static int atmel_aes_cbc_decrypt(struct ablkcipher_request *req) in atmel_aes_cbc_decrypt()
1178 static int atmel_aes_ofb_encrypt(struct ablkcipher_request *req) in atmel_aes_ofb_encrypt()
[all …]
Domap-des.c146 struct ablkcipher_request *req;
498 struct ablkcipher_request *req = dd->req; in omap_des_finish_req()
521 struct ablkcipher_request *req) in omap_des_handle_queue()
532 struct ablkcipher_request *req = container_of(areq, struct ablkcipher_request, base); in omap_des_prepare_req()
589 struct ablkcipher_request *req = container_of(areq, struct ablkcipher_request, base); in omap_des_crypt_req()
626 static int omap_des_crypt(struct ablkcipher_request *req, unsigned long mode) in omap_des_crypt()
681 static int omap_des_ecb_encrypt(struct ablkcipher_request *req) in omap_des_ecb_encrypt()
686 static int omap_des_ecb_decrypt(struct ablkcipher_request *req) in omap_des_ecb_decrypt()
691 static int omap_des_cbc_encrypt(struct ablkcipher_request *req) in omap_des_cbc_encrypt()
696 static int omap_des_cbc_decrypt(struct ablkcipher_request *req) in omap_des_cbc_decrypt()
Domap-aes.c389 struct ablkcipher_request *req = dd->req; in omap_aes_finish_req()
410 struct ablkcipher_request *req) in omap_aes_handle_queue()
421 struct ablkcipher_request *req = container_of(areq, struct ablkcipher_request, base); in omap_aes_prepare_req()
476 struct ablkcipher_request *req = container_of(areq, struct ablkcipher_request, base); in omap_aes_crypt_req()
512 static int omap_aes_crypt(struct ablkcipher_request *req, unsigned long mode) in omap_aes_crypt()
578 static int omap_aes_ecb_encrypt(struct ablkcipher_request *req) in omap_aes_ecb_encrypt()
583 static int omap_aes_ecb_decrypt(struct ablkcipher_request *req) in omap_aes_ecb_decrypt()
588 static int omap_aes_cbc_encrypt(struct ablkcipher_request *req) in omap_aes_cbc_encrypt()
593 static int omap_aes_cbc_decrypt(struct ablkcipher_request *req) in omap_aes_cbc_decrypt()
598 static int omap_aes_ctr_encrypt(struct ablkcipher_request *req) in omap_aes_ctr_encrypt()
[all …]
Dmxs-dcp.c197 struct ablkcipher_request *req, int init) in mxs_dcp_run_aes()
253 struct ablkcipher_request *req = ablkcipher_request_cast(arq); in mxs_dcp_aes_block_crypt()
379 static int mxs_dcp_block_fallback(struct ablkcipher_request *req, int enc) in mxs_dcp_block_fallback()
401 static int mxs_dcp_aes_enqueue(struct ablkcipher_request *req, int enc, int ecb) in mxs_dcp_aes_enqueue()
425 static int mxs_dcp_aes_ecb_decrypt(struct ablkcipher_request *req) in mxs_dcp_aes_ecb_decrypt()
430 static int mxs_dcp_aes_ecb_encrypt(struct ablkcipher_request *req) in mxs_dcp_aes_ecb_encrypt()
435 static int mxs_dcp_aes_cbc_decrypt(struct ablkcipher_request *req) in mxs_dcp_aes_cbc_decrypt()
440 static int mxs_dcp_aes_cbc_encrypt(struct ablkcipher_request *req) in mxs_dcp_aes_cbc_encrypt()
Ds5p-sss.c303 struct ablkcipher_request *req;
1863 struct ablkcipher_request *req) in s5p_set_indata_start()
1890 struct ablkcipher_request *req) in s5p_set_outdata_start()
1918 struct ablkcipher_request *req = dev->req; in s5p_aes_crypt_start()
2018 struct ablkcipher_request *req) in s5p_aes_handle_req()
2039 static int s5p_aes_crypt(struct ablkcipher_request *req, unsigned long mode) in s5p_aes_crypt()
2073 static int s5p_aes_ecb_encrypt(struct ablkcipher_request *req) in s5p_aes_ecb_encrypt()
2078 static int s5p_aes_ecb_decrypt(struct ablkcipher_request *req) in s5p_aes_ecb_decrypt()
2083 static int s5p_aes_cbc_encrypt(struct ablkcipher_request *req) in s5p_aes_cbc_encrypt()
2088 static int s5p_aes_cbc_decrypt(struct ablkcipher_request *req) in s5p_aes_cbc_decrypt()
/Linux-v4.19/drivers/crypto/cavium/cpt/
Dcptvf_algs.c100 static inline u32 create_ctx_hdr(struct ablkcipher_request *req, u32 enc, in create_ctx_hdr()
155 static inline u32 create_input_list(struct ablkcipher_request *req, u32 enc, in create_input_list()
170 static inline void store_cb_info(struct ablkcipher_request *req, in store_cb_info()
177 static inline void create_output_list(struct ablkcipher_request *req, in create_output_list()
197 static inline int cvm_enc_dec(struct ablkcipher_request *req, u32 enc) in cvm_enc_dec()
225 static int cvm_encrypt(struct ablkcipher_request *req) in cvm_encrypt()
230 static int cvm_decrypt(struct ablkcipher_request *req) in cvm_decrypt()
345 sizeof(struct ablkcipher_request); in cvm_enc_dec_init()
/Linux-v4.19/drivers/crypto/virtio/
Dvirtio_crypto_algs.c46 struct ablkcipher_request *ablkcipher_req;
66 struct ablkcipher_request *req,
74 struct ablkcipher_request *ablk_req; in virtio_crypto_dataq_sym_callback()
359 struct ablkcipher_request *req, in __virtio_crypto_ablkcipher_do_req()
490 static int virtio_crypto_ablkcipher_encrypt(struct ablkcipher_request *req) in virtio_crypto_ablkcipher_encrypt()
510 static int virtio_crypto_ablkcipher_decrypt(struct ablkcipher_request *req) in virtio_crypto_ablkcipher_decrypt()
559 struct ablkcipher_request *req = container_of(vreq, struct ablkcipher_request, base); in virtio_crypto_ablkcipher_crypt_req()
577 struct ablkcipher_request *req, in virtio_crypto_ablkcipher_finalize_req()
/Linux-v4.19/drivers/crypto/chelsio/
Dchcr_crypto.h329 void chcr_add_cipher_src_ent(struct ablkcipher_request *req,
332 int chcr_cipher_dma_map(struct device *dev, struct ablkcipher_request *req);
333 void chcr_cipher_dma_unmap(struct device *dev, struct ablkcipher_request *req);
334 void chcr_add_cipher_dst_ent(struct ablkcipher_request *req,
/Linux-v4.19/include/crypto/
Dengine.h92 struct ablkcipher_request *req);
102 struct ablkcipher_request *req, int err);
Dalgapi.h254 int ablkcipher_walk_done(struct ablkcipher_request *req,
256 int ablkcipher_walk_phys(struct ablkcipher_request *req,
361 struct ablkcipher_request *request) in ablkcipher_enqueue_request()
366 static inline struct ablkcipher_request *ablkcipher_dequeue_request( in ablkcipher_dequeue_request()
372 static inline void *ablkcipher_request_ctx(struct ablkcipher_request *req) in ablkcipher_request_ctx()
/Linux-v4.19/crypto/
Dablkcipher.c97 static int ablkcipher_walk_next(struct ablkcipher_request *req,
100 int ablkcipher_walk_done(struct ablkcipher_request *req, in ablkcipher_walk_done()
142 static inline int ablkcipher_next_slow(struct ablkcipher_request *req, in ablkcipher_next_slow()
207 static inline int ablkcipher_next_fast(struct ablkcipher_request *req, in ablkcipher_next_fast()
218 static int ablkcipher_walk_next(struct ablkcipher_request *req, in ablkcipher_walk_next()
263 static int ablkcipher_walk_first(struct ablkcipher_request *req, in ablkcipher_walk_first()
292 int ablkcipher_walk_phys(struct ablkcipher_request *req, in ablkcipher_walk_phys()
Dcrypto_engine.c229 struct ablkcipher_request *req) in crypto_transfer_ablkcipher_request_to_engine()
296 struct ablkcipher_request *req, int err) in crypto_finalize_ablkcipher_request()
/Linux-v4.19/drivers/crypto/stm32/
Dstm32-cryp.c141 struct ablkcipher_request *req;
703 static int stm32_cryp_crypt(struct ablkcipher_request *req, unsigned long mode) in stm32_cryp_crypt()
811 static int stm32_cryp_aes_ecb_encrypt(struct ablkcipher_request *req) in stm32_cryp_aes_ecb_encrypt()
816 static int stm32_cryp_aes_ecb_decrypt(struct ablkcipher_request *req) in stm32_cryp_aes_ecb_decrypt()
821 static int stm32_cryp_aes_cbc_encrypt(struct ablkcipher_request *req) in stm32_cryp_aes_cbc_encrypt()
826 static int stm32_cryp_aes_cbc_decrypt(struct ablkcipher_request *req) in stm32_cryp_aes_cbc_decrypt()
831 static int stm32_cryp_aes_ctr_encrypt(struct ablkcipher_request *req) in stm32_cryp_aes_ctr_encrypt()
836 static int stm32_cryp_aes_ctr_decrypt(struct ablkcipher_request *req) in stm32_cryp_aes_ctr_decrypt()
861 static int stm32_cryp_des_ecb_encrypt(struct ablkcipher_request *req) in stm32_cryp_des_ecb_encrypt()
866 static int stm32_cryp_des_ecb_decrypt(struct ablkcipher_request *req) in stm32_cryp_des_ecb_decrypt()
[all …]
/Linux-v4.19/drivers/crypto/qce/
Dablkcipher.c28 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in qce_ablkcipher_done()
62 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in qce_ablkcipher_async_req_handle()
201 static int qce_ablkcipher_crypt(struct ablkcipher_request *req, int encrypt) in qce_ablkcipher_crypt()
231 static int qce_ablkcipher_encrypt(struct ablkcipher_request *req) in qce_ablkcipher_encrypt()
236 static int qce_ablkcipher_decrypt(struct ablkcipher_request *req) in qce_ablkcipher_decrypt()
/Linux-v4.19/drivers/crypto/mediatek/
Dmtk-aes.c415 struct ablkcipher_request *req = ablkcipher_request_cast(aes->areq); in mtk_aes_info_init()
546 struct ablkcipher_request *req = ablkcipher_request_cast(aes->areq); in mtk_aes_start()
565 struct ablkcipher_request *req = ablkcipher_request_cast(aes->areq); in mtk_aes_ctr_transfer()
614 struct ablkcipher_request *req = ablkcipher_request_cast(aes->areq); in mtk_aes_ctr_start()
655 static int mtk_aes_crypt(struct ablkcipher_request *req, u64 mode) in mtk_aes_crypt()
668 static int mtk_aes_ecb_encrypt(struct ablkcipher_request *req) in mtk_aes_ecb_encrypt()
673 static int mtk_aes_ecb_decrypt(struct ablkcipher_request *req) in mtk_aes_ecb_decrypt()
678 static int mtk_aes_cbc_encrypt(struct ablkcipher_request *req) in mtk_aes_cbc_encrypt()
683 static int mtk_aes_cbc_decrypt(struct ablkcipher_request *req) in mtk_aes_cbc_decrypt()
688 static int mtk_aes_ctr_encrypt(struct ablkcipher_request *req) in mtk_aes_ctr_encrypt()
[all …]
/Linux-v4.19/include/crypto/internal/
Dskcipher.h158 static inline void ablkcipher_request_complete(struct ablkcipher_request *req, in ablkcipher_request_complete()
164 static inline u32 ablkcipher_request_flags(struct ablkcipher_request *req) in ablkcipher_request_flags()
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dqat_crypto.h86 struct ablkcipher_request *ablkcipher_req;

12