/Linux-v5.4/drivers/crypto/rockchip/ |
D | rk3288_crypto_ablkcipher.c | 22 struct ablkcipher_request *req) in rk_handle_req() 76 static int rk_aes_ecb_encrypt(struct ablkcipher_request *req) in rk_aes_ecb_encrypt() 86 static int rk_aes_ecb_decrypt(struct ablkcipher_request *req) in rk_aes_ecb_decrypt() 96 static int rk_aes_cbc_encrypt(struct ablkcipher_request *req) in rk_aes_cbc_encrypt() 106 static int rk_aes_cbc_decrypt(struct ablkcipher_request *req) in rk_aes_cbc_decrypt() 116 static int rk_des_ecb_encrypt(struct ablkcipher_request *req) in rk_des_ecb_encrypt() 126 static int rk_des_ecb_decrypt(struct ablkcipher_request *req) in rk_des_ecb_decrypt() 136 static int rk_des_cbc_encrypt(struct ablkcipher_request *req) in rk_des_cbc_encrypt() 146 static int rk_des_cbc_decrypt(struct ablkcipher_request *req) in rk_des_cbc_decrypt() 156 static int rk_des3_ede_ecb_encrypt(struct ablkcipher_request *req) in rk_des3_ede_ecb_encrypt() [all …]
|
/Linux-v5.4/drivers/crypto/ccp/ |
D | ccp-crypto-aes.c | 24 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in ccp_aes_complete() 67 static int ccp_aes_crypt(struct ablkcipher_request *req, bool encrypt) in ccp_aes_crypt() 113 static int ccp_aes_encrypt(struct ablkcipher_request *req) in ccp_aes_encrypt() 118 static int ccp_aes_decrypt(struct ablkcipher_request *req) in ccp_aes_decrypt() 142 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in ccp_aes_rfc3686_complete() 165 static int ccp_aes_rfc3686_crypt(struct ablkcipher_request *req, bool encrypt) in ccp_aes_rfc3686_crypt() 188 static int ccp_aes_rfc3686_encrypt(struct ablkcipher_request *req) in ccp_aes_rfc3686_encrypt() 193 static int ccp_aes_rfc3686_decrypt(struct ablkcipher_request *req) in ccp_aes_rfc3686_decrypt()
|
D | ccp-crypto-des3.c | 23 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in ccp_des3_complete() 61 static int ccp_des3_crypt(struct ablkcipher_request *req, bool encrypt) in ccp_des3_crypt() 108 static int ccp_des3_encrypt(struct ablkcipher_request *req) in ccp_des3_encrypt() 113 static int ccp_des3_decrypt(struct ablkcipher_request *req) in ccp_des3_decrypt()
|
D | ccp-crypto-aes-xts.c | 64 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in ccp_aes_xts_complete() 105 static int ccp_aes_xts_crypt(struct ablkcipher_request *req, in ccp_aes_xts_crypt() 188 static int ccp_aes_xts_encrypt(struct ablkcipher_request *req) in ccp_aes_xts_encrypt() 193 static int ccp_aes_xts_decrypt(struct ablkcipher_request *req) in ccp_aes_xts_decrypt()
|
/Linux-v5.4/include/linux/ |
D | crypto.h | 166 struct ablkcipher_request { struct 235 int (*encrypt)(struct ablkcipher_request *req); 236 int (*decrypt)(struct ablkcipher_request *req); 721 int (*encrypt)(struct ablkcipher_request *req); 722 int (*decrypt)(struct ablkcipher_request *req); 1073 struct ablkcipher_request *req) in crypto_ablkcipher_reqtfm() 1089 static inline int crypto_ablkcipher_encrypt(struct ablkcipher_request *req) in crypto_ablkcipher_encrypt() 1114 static inline int crypto_ablkcipher_decrypt(struct ablkcipher_request *req) in crypto_ablkcipher_decrypt() 1160 struct ablkcipher_request *req, struct crypto_ablkcipher *tfm) in ablkcipher_request_set_tfm() 1165 static inline struct ablkcipher_request *ablkcipher_request_cast( in ablkcipher_request_cast() [all …]
|
/Linux-v5.4/crypto/ |
D | ablkcipher.c | 92 static int ablkcipher_walk_next(struct ablkcipher_request *req, 95 int ablkcipher_walk_done(struct ablkcipher_request *req, in ablkcipher_walk_done() 137 static inline int ablkcipher_next_slow(struct ablkcipher_request *req, in ablkcipher_next_slow() 202 static inline int ablkcipher_next_fast(struct ablkcipher_request *req, in ablkcipher_next_fast() 213 static int ablkcipher_walk_next(struct ablkcipher_request *req, in ablkcipher_walk_next() 258 static int ablkcipher_walk_first(struct ablkcipher_request *req, in ablkcipher_walk_first() 287 int ablkcipher_walk_phys(struct ablkcipher_request *req, in ablkcipher_walk_phys()
|
D | crypto_engine.c | 224 struct ablkcipher_request *req) in crypto_transfer_ablkcipher_request_to_engine() 291 struct ablkcipher_request *req, int err) in crypto_finalize_ablkcipher_request()
|
/Linux-v5.4/drivers/crypto/ |
D | hifn_795x.c | 1436 static int hifn_cipher_walk(struct ablkcipher_request *req, in hifn_cipher_walk() 1521 static int hifn_setup_session(struct ablkcipher_request *req) in hifn_setup_session() 1663 static void hifn_process_ready(struct ablkcipher_request *req, int error) in hifn_process_ready() 1913 struct ablkcipher_request *req; in hifn_flush() 1977 static int hifn_handle_req(struct ablkcipher_request *req) in hifn_handle_req() 1997 static int hifn_setup_crypto_req(struct ablkcipher_request *req, u8 op, in hifn_setup_crypto_req() 2040 struct ablkcipher_request *req; in hifn_process_queue() 2066 static int hifn_setup_crypto(struct ablkcipher_request *req, u8 op, in hifn_setup_crypto() 2086 static inline int hifn_encrypt_aes_ecb(struct ablkcipher_request *req) in hifn_encrypt_aes_ecb() 2091 static inline int hifn_encrypt_aes_cbc(struct ablkcipher_request *req) in hifn_encrypt_aes_cbc() [all …]
|
D | atmel-tdes.c | 109 struct ablkcipher_request *req; 576 struct ablkcipher_request *req = dd->req; in atmel_tdes_finish_req() 586 struct ablkcipher_request *req) in atmel_tdes_handle_queue() 668 static int atmel_tdes_crypt(struct ablkcipher_request *req, unsigned long mode) in atmel_tdes_crypt() 805 static int atmel_tdes_ecb_encrypt(struct ablkcipher_request *req) in atmel_tdes_ecb_encrypt() 810 static int atmel_tdes_ecb_decrypt(struct ablkcipher_request *req) in atmel_tdes_ecb_decrypt() 815 static int atmel_tdes_cbc_encrypt(struct ablkcipher_request *req) in atmel_tdes_cbc_encrypt() 820 static int atmel_tdes_cbc_decrypt(struct ablkcipher_request *req) in atmel_tdes_cbc_decrypt() 824 static int atmel_tdes_cfb_encrypt(struct ablkcipher_request *req) in atmel_tdes_cfb_encrypt() 829 static int atmel_tdes_cfb_decrypt(struct ablkcipher_request *req) in atmel_tdes_cfb_decrypt() [all …]
|
D | atmel-aes.c | 504 struct ablkcipher_request *req = in atmel_aes_complete() 979 struct ablkcipher_request *req = ablkcipher_request_cast(dd->areq); in atmel_aes_start() 1009 struct ablkcipher_request *req = ablkcipher_request_cast(dd->areq); in atmel_aes_ctr_transfer() 1074 struct ablkcipher_request *req = ablkcipher_request_cast(dd->areq); in atmel_aes_ctr_start() 1090 static int atmel_aes_crypt(struct ablkcipher_request *req, unsigned long mode) in atmel_aes_crypt() 1155 static int atmel_aes_ecb_encrypt(struct ablkcipher_request *req) in atmel_aes_ecb_encrypt() 1160 static int atmel_aes_ecb_decrypt(struct ablkcipher_request *req) in atmel_aes_ecb_decrypt() 1165 static int atmel_aes_cbc_encrypt(struct ablkcipher_request *req) in atmel_aes_cbc_encrypt() 1170 static int atmel_aes_cbc_decrypt(struct ablkcipher_request *req) in atmel_aes_cbc_decrypt() 1175 static int atmel_aes_ofb_encrypt(struct ablkcipher_request *req) in atmel_aes_ofb_encrypt() [all …]
|
D | omap-des.c | 142 struct ablkcipher_request *req; 494 struct ablkcipher_request *req = dd->req; in omap_des_finish_req() 517 struct ablkcipher_request *req) in omap_des_handle_queue() 528 struct ablkcipher_request *req = container_of(areq, struct ablkcipher_request, base); in omap_des_prepare_req() 585 struct ablkcipher_request *req = container_of(areq, struct ablkcipher_request, base); in omap_des_crypt_req() 622 static int omap_des_crypt(struct ablkcipher_request *req, unsigned long mode) in omap_des_crypt() 685 static int omap_des_ecb_encrypt(struct ablkcipher_request *req) in omap_des_ecb_encrypt() 690 static int omap_des_ecb_decrypt(struct ablkcipher_request *req) in omap_des_ecb_decrypt() 695 static int omap_des_cbc_encrypt(struct ablkcipher_request *req) in omap_des_cbc_encrypt() 700 static int omap_des_cbc_decrypt(struct ablkcipher_request *req) in omap_des_cbc_decrypt()
|
D | omap-aes.c | 385 struct ablkcipher_request *req = dd->req; in omap_aes_finish_req() 406 struct ablkcipher_request *req) in omap_aes_handle_queue() 417 struct ablkcipher_request *req = container_of(areq, struct ablkcipher_request, base); in omap_aes_prepare_req() 472 struct ablkcipher_request *req = container_of(areq, struct ablkcipher_request, base); in omap_aes_crypt_req() 508 static int omap_aes_crypt(struct ablkcipher_request *req, unsigned long mode) in omap_aes_crypt() 574 static int omap_aes_ecb_encrypt(struct ablkcipher_request *req) in omap_aes_ecb_encrypt() 579 static int omap_aes_ecb_decrypt(struct ablkcipher_request *req) in omap_aes_ecb_decrypt() 584 static int omap_aes_cbc_encrypt(struct ablkcipher_request *req) in omap_aes_cbc_encrypt() 589 static int omap_aes_cbc_decrypt(struct ablkcipher_request *req) in omap_aes_cbc_decrypt() 594 static int omap_aes_ctr_encrypt(struct ablkcipher_request *req) in omap_aes_ctr_encrypt() [all …]
|
D | s5p-sss.c | 306 struct ablkcipher_request *req; 481 struct ablkcipher_request *req = dev->req; in s5p_sg_done() 501 static void s5p_aes_complete(struct ablkcipher_request *req, int err) in s5p_aes_complete() 663 struct ablkcipher_request *req; in s5p_aes_interrupt() 1873 struct ablkcipher_request *req) in s5p_set_indata_start() 1900 struct ablkcipher_request *req) in s5p_set_outdata_start() 1928 struct ablkcipher_request *req = dev->req; in s5p_aes_crypt_start() 2032 struct ablkcipher_request *req) in s5p_aes_handle_req() 2052 static int s5p_aes_crypt(struct ablkcipher_request *req, unsigned long mode) in s5p_aes_crypt() 2090 static int s5p_aes_ecb_encrypt(struct ablkcipher_request *req) in s5p_aes_ecb_encrypt() [all …]
|
D | mxs-dcp.c | 214 struct ablkcipher_request *req, int init) in mxs_dcp_run_aes() 277 struct ablkcipher_request *req = ablkcipher_request_cast(arq); in mxs_dcp_aes_block_crypt() 425 static int mxs_dcp_block_fallback(struct ablkcipher_request *req, int enc) in mxs_dcp_block_fallback() 447 static int mxs_dcp_aes_enqueue(struct ablkcipher_request *req, int enc, int ecb) in mxs_dcp_aes_enqueue() 471 static int mxs_dcp_aes_ecb_decrypt(struct ablkcipher_request *req) in mxs_dcp_aes_ecb_decrypt() 476 static int mxs_dcp_aes_ecb_encrypt(struct ablkcipher_request *req) in mxs_dcp_aes_ecb_encrypt() 481 static int mxs_dcp_aes_cbc_decrypt(struct ablkcipher_request *req) in mxs_dcp_aes_cbc_decrypt() 486 static int mxs_dcp_aes_cbc_encrypt(struct ablkcipher_request *req) in mxs_dcp_aes_cbc_encrypt()
|
D | sahara.c | 550 static int sahara_aes_process(struct ablkcipher_request *req) in sahara_aes_process() 633 static int sahara_aes_crypt(struct ablkcipher_request *req, unsigned long mode) in sahara_aes_crypt() 659 static int sahara_aes_ecb_encrypt(struct ablkcipher_request *req) in sahara_aes_ecb_encrypt() 681 static int sahara_aes_ecb_decrypt(struct ablkcipher_request *req) in sahara_aes_ecb_decrypt() 703 static int sahara_aes_cbc_encrypt(struct ablkcipher_request *req) in sahara_aes_cbc_encrypt() 725 static int sahara_aes_cbc_decrypt(struct ablkcipher_request *req) in sahara_aes_cbc_decrypt() 1074 struct ablkcipher_request *req = in sahara_queue_manage()
|
/Linux-v5.4/drivers/crypto/virtio/ |
D | virtio_crypto_algs.c | 34 struct ablkcipher_request *ablkcipher_req; 54 struct ablkcipher_request *req, 62 struct ablkcipher_request *ablk_req; in virtio_crypto_dataq_sym_callback() 345 struct ablkcipher_request *req, in __virtio_crypto_ablkcipher_do_req() 476 static int virtio_crypto_ablkcipher_encrypt(struct ablkcipher_request *req) in virtio_crypto_ablkcipher_encrypt() 496 static int virtio_crypto_ablkcipher_decrypt(struct ablkcipher_request *req) in virtio_crypto_ablkcipher_decrypt() 545 struct ablkcipher_request *req = container_of(vreq, struct ablkcipher_request, base); in virtio_crypto_ablkcipher_crypt_req() 563 struct ablkcipher_request *req, in virtio_crypto_ablkcipher_finalize_req()
|
/Linux-v5.4/drivers/crypto/chelsio/ |
D | chcr_crypto.h | 324 void chcr_add_cipher_src_ent(struct ablkcipher_request *req, 327 int chcr_cipher_dma_map(struct device *dev, struct ablkcipher_request *req); 328 void chcr_cipher_dma_unmap(struct device *dev, struct ablkcipher_request *req); 329 void chcr_add_cipher_dst_ent(struct ablkcipher_request *req,
|
/Linux-v5.4/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 95 static inline u32 create_ctx_hdr(struct ablkcipher_request *req, u32 enc, in create_ctx_hdr() 150 static inline u32 create_input_list(struct ablkcipher_request *req, u32 enc, in create_input_list() 165 static inline void store_cb_info(struct ablkcipher_request *req, in store_cb_info() 172 static inline void create_output_list(struct ablkcipher_request *req, in create_output_list() 192 static inline int cvm_enc_dec(struct ablkcipher_request *req, u32 enc) in cvm_enc_dec() 220 static int cvm_encrypt(struct ablkcipher_request *req) in cvm_encrypt() 225 static int cvm_decrypt(struct ablkcipher_request *req) in cvm_decrypt()
|
/Linux-v5.4/drivers/crypto/stm32/ |
D | stm32-cryp.c | 140 struct ablkcipher_request *req; 398 struct ablkcipher_request *req = cryp->req; in stm32_cryp_get_iv() 717 static int stm32_cryp_crypt(struct ablkcipher_request *req, unsigned long mode) in stm32_cryp_crypt() 821 static int stm32_cryp_aes_ecb_encrypt(struct ablkcipher_request *req) in stm32_cryp_aes_ecb_encrypt() 826 static int stm32_cryp_aes_ecb_decrypt(struct ablkcipher_request *req) in stm32_cryp_aes_ecb_decrypt() 831 static int stm32_cryp_aes_cbc_encrypt(struct ablkcipher_request *req) in stm32_cryp_aes_cbc_encrypt() 836 static int stm32_cryp_aes_cbc_decrypt(struct ablkcipher_request *req) in stm32_cryp_aes_cbc_decrypt() 841 static int stm32_cryp_aes_ctr_encrypt(struct ablkcipher_request *req) in stm32_cryp_aes_ctr_encrypt() 846 static int stm32_cryp_aes_ctr_decrypt(struct ablkcipher_request *req) in stm32_cryp_aes_ctr_decrypt() 871 static int stm32_cryp_des_ecb_encrypt(struct ablkcipher_request *req) in stm32_cryp_des_ecb_encrypt() [all …]
|
/Linux-v5.4/include/crypto/ |
D | engine.h | 87 struct ablkcipher_request *req); 97 struct ablkcipher_request *req, int err);
|
D | algapi.h | 250 int ablkcipher_walk_done(struct ablkcipher_request *req, 252 int ablkcipher_walk_phys(struct ablkcipher_request *req, 357 struct ablkcipher_request *request) in ablkcipher_enqueue_request() 362 static inline struct ablkcipher_request *ablkcipher_dequeue_request( in ablkcipher_dequeue_request() 368 static inline void *ablkcipher_request_ctx(struct ablkcipher_request *req) in ablkcipher_request_ctx()
|
/Linux-v5.4/drivers/crypto/mediatek/ |
D | mtk-aes.c | 417 struct ablkcipher_request *req = ablkcipher_request_cast(aes->areq); in mtk_aes_info_init() 555 struct ablkcipher_request *req = ablkcipher_request_cast(aes->areq); in mtk_aes_start() 574 struct ablkcipher_request *req = ablkcipher_request_cast(aes->areq); in mtk_aes_ctr_transfer() 623 struct ablkcipher_request *req = ablkcipher_request_cast(aes->areq); in mtk_aes_ctr_start() 664 static int mtk_aes_crypt(struct ablkcipher_request *req, u64 mode) in mtk_aes_crypt() 682 static int mtk_aes_ecb_encrypt(struct ablkcipher_request *req) in mtk_aes_ecb_encrypt() 687 static int mtk_aes_ecb_decrypt(struct ablkcipher_request *req) in mtk_aes_ecb_decrypt() 692 static int mtk_aes_cbc_encrypt(struct ablkcipher_request *req) in mtk_aes_cbc_encrypt() 697 static int mtk_aes_cbc_decrypt(struct ablkcipher_request *req) in mtk_aes_cbc_decrypt() 702 static int mtk_aes_ctr_encrypt(struct ablkcipher_request *req) in mtk_aes_ctr_encrypt() [all …]
|
/Linux-v5.4/drivers/crypto/qce/ |
D | ablkcipher.c | 20 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in qce_ablkcipher_done() 54 struct ablkcipher_request *req = ablkcipher_request_cast(async_req); in qce_ablkcipher_async_req_handle() 210 static int qce_ablkcipher_crypt(struct ablkcipher_request *req, int encrypt) in qce_ablkcipher_crypt() 240 static int qce_ablkcipher_encrypt(struct ablkcipher_request *req) in qce_ablkcipher_encrypt() 245 static int qce_ablkcipher_decrypt(struct ablkcipher_request *req) in qce_ablkcipher_decrypt()
|
/Linux-v5.4/drivers/crypto/qat/qat_common/ |
D | qat_crypto.h | 86 struct ablkcipher_request *ablkcipher_req;
|
/Linux-v5.4/include/crypto/internal/ |
D | skcipher.h | 156 static inline void ablkcipher_request_complete(struct ablkcipher_request *req, in ablkcipher_request_complete() 162 static inline u32 ablkcipher_request_flags(struct ablkcipher_request *req) in ablkcipher_request_flags()
|