/linux-5.19.10/include/crypto/ |
D | hash.h | 49 struct ahash_request { struct 135 int (*init)(struct ahash_request *req); 136 int (*update)(struct ahash_request *req); 137 int (*final)(struct ahash_request *req); 138 int (*finup)(struct ahash_request *req); 139 int (*digest)(struct ahash_request *req); 140 int (*export)(struct ahash_request *req, void *out); 141 int (*import)(struct ahash_request *req, const void *in); 225 int (*init)(struct ahash_request *req); 226 int (*update)(struct ahash_request *req); [all …]
|
/linux-5.19.10/drivers/crypto/allwinner/sun4i-ss/ |
D | sun4i-ss.h | 201 int sun4i_hash_init(struct ahash_request *areq); 202 int sun4i_hash_update(struct ahash_request *areq); 203 int sun4i_hash_final(struct ahash_request *areq); 204 int sun4i_hash_finup(struct ahash_request *areq); 205 int sun4i_hash_digest(struct ahash_request *areq); 206 int sun4i_hash_export_md5(struct ahash_request *areq, void *out); 207 int sun4i_hash_import_md5(struct ahash_request *areq, const void *in); 208 int sun4i_hash_export_sha1(struct ahash_request *areq, void *out); 209 int sun4i_hash_import_sha1(struct ahash_request *areq, const void *in);
|
D | sun4i-ss-hash.c | 47 int sun4i_hash_init(struct ahash_request *areq) in sun4i_hash_init() 62 int sun4i_hash_export_md5(struct ahash_request *areq, void *out) in sun4i_hash_export_md5() 85 int sun4i_hash_import_md5(struct ahash_request *areq, const void *in) in sun4i_hash_import_md5() 104 int sun4i_hash_export_sha1(struct ahash_request *areq, void *out) in sun4i_hash_export_sha1() 128 int sun4i_hash_import_sha1(struct ahash_request *areq, const void *in) in sun4i_hash_import_sha1() 177 static int sun4i_hash(struct ahash_request *areq) in sun4i_hash() 508 int sun4i_hash_final(struct ahash_request *areq) in sun4i_hash_final() 516 int sun4i_hash_update(struct ahash_request *areq) in sun4i_hash_update() 525 int sun4i_hash_finup(struct ahash_request *areq) in sun4i_hash_finup() 534 int sun4i_hash_digest(struct ahash_request *areq) in sun4i_hash_digest()
|
/linux-5.19.10/drivers/crypto/marvell/cesa/ |
D | hash.c | 28 struct ahash_request *req) in mv_cesa_ahash_req_iter_init() 94 static inline void mv_cesa_ahash_dma_last_cleanup(struct ahash_request *req) in mv_cesa_ahash_dma_last_cleanup() 101 static inline void mv_cesa_ahash_dma_cleanup(struct ahash_request *req) in mv_cesa_ahash_dma_cleanup() 110 static inline void mv_cesa_ahash_cleanup(struct ahash_request *req) in mv_cesa_ahash_cleanup() 118 static void mv_cesa_ahash_last_cleanup(struct ahash_request *req) in mv_cesa_ahash_last_cleanup() 158 static void mv_cesa_ahash_std_step(struct ahash_request *req) in mv_cesa_ahash_std_step() 284 static int mv_cesa_ahash_std_process(struct ahash_request *req, u32 status) in mv_cesa_ahash_std_process() 295 static inline void mv_cesa_ahash_dma_prepare(struct ahash_request *req) in mv_cesa_ahash_dma_prepare() 303 static void mv_cesa_ahash_std_prepare(struct ahash_request *req) in mv_cesa_ahash_std_prepare() 311 static void mv_cesa_ahash_dma_step(struct ahash_request *req) in mv_cesa_ahash_dma_step() [all …]
|
/linux-5.19.10/arch/x86/crypto/ |
D | ghash-clmulni-intel_glue.c | 160 static int ghash_async_init(struct ahash_request *req) in ghash_async_init() 164 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_init() 173 static int ghash_async_update(struct ahash_request *req) in ghash_async_update() 175 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_update() 191 static int ghash_async_final(struct ahash_request *req) in ghash_async_final() 193 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_final() 209 static int ghash_async_import(struct ahash_request *req, const void *in) in ghash_async_import() 211 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_import() 221 static int ghash_async_export(struct ahash_request *req, void *out) in ghash_async_export() 223 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_export() [all …]
|
/linux-5.19.10/include/crypto/internal/ |
D | hash.h | 14 struct ahash_request; 63 int crypto_hash_walk_first(struct ahash_request *req, 126 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc); 127 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc); 128 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc); 172 static inline void ahash_request_complete(struct ahash_request *req, int err) in ahash_request_complete() 177 static inline u32 ahash_request_flags(struct ahash_request *req) in ahash_request_flags() 189 struct ahash_request *request) in ahash_enqueue_request() 194 static inline struct ahash_request *ahash_dequeue_request( in ahash_dequeue_request()
|
/linux-5.19.10/include/scsi/ |
D | libiscsi_tcp.h | 18 struct ahash_request; 30 struct ahash_request *hash; 65 struct ahash_request *rx_hash; 103 struct ahash_request *hash); 109 struct ahash_request *hash); 112 extern void iscsi_tcp_dgst_header(struct ahash_request *hash, const void *hdr,
|
/linux-5.19.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss.h | 259 struct ahash_request fallback_req; 318 int sun8i_ss_hash_init(struct ahash_request *areq); 319 int sun8i_ss_hash_export(struct ahash_request *areq, void *out); 320 int sun8i_ss_hash_import(struct ahash_request *areq, const void *in); 321 int sun8i_ss_hash_final(struct ahash_request *areq); 322 int sun8i_ss_hash_update(struct ahash_request *areq); 323 int sun8i_ss_hash_finup(struct ahash_request *areq); 324 int sun8i_ss_hash_digest(struct ahash_request *areq);
|
/linux-5.19.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce.h | 300 struct ahash_request fallback_req; 367 int sun8i_ce_hash_init(struct ahash_request *areq); 368 int sun8i_ce_hash_export(struct ahash_request *areq, void *out); 369 int sun8i_ce_hash_import(struct ahash_request *areq, const void *in); 370 int sun8i_ce_hash(struct ahash_request *areq); 371 int sun8i_ce_hash_final(struct ahash_request *areq); 372 int sun8i_ce_hash_update(struct ahash_request *areq); 373 int sun8i_ce_hash_finup(struct ahash_request *areq); 374 int sun8i_ce_hash_digest(struct ahash_request *areq);
|
D | sun8i-ce-hash.c | 74 int sun8i_ce_hash_init(struct ahash_request *areq) in sun8i_ce_hash_init() 88 int sun8i_ce_hash_export(struct ahash_request *areq, void *out) in sun8i_ce_hash_export() 100 int sun8i_ce_hash_import(struct ahash_request *areq, const void *in) in sun8i_ce_hash_import() 112 int sun8i_ce_hash_final(struct ahash_request *areq) in sun8i_ce_hash_final() 135 int sun8i_ce_hash_update(struct ahash_request *areq) in sun8i_ce_hash_update() 150 int sun8i_ce_hash_finup(struct ahash_request *areq) in sun8i_ce_hash_finup() 175 static int sun8i_ce_hash_digest_fb(struct ahash_request *areq) in sun8i_ce_hash_digest_fb() 200 static bool sun8i_ce_hash_need_fallback(struct ahash_request *areq) in sun8i_ce_hash_need_fallback() 233 int sun8i_ce_hash_digest(struct ahash_request *areq) in sun8i_ce_hash_digest() 326 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in sun8i_ce_hash_run()
|
/linux-5.19.10/drivers/crypto/inside-secure/ |
D | safexcel_hash.c | 224 static int safexcel_ahash_enqueue(struct ahash_request *areq); 232 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_req_result() 314 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send_req() 523 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_inv_result() 571 struct ahash_request *areq = ahash_request_cast(async); in safexcel_handle_result() 592 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send_inv() 610 struct ahash_request *areq = ahash_request_cast(async); in safexcel_ahash_send() 664 static int safexcel_ahash_cache(struct ahash_request *areq) in safexcel_ahash_cache() 689 static int safexcel_ahash_enqueue(struct ahash_request *areq) in safexcel_ahash_enqueue() 742 static int safexcel_ahash_update(struct ahash_request *areq) in safexcel_ahash_update() [all …]
|
/linux-5.19.10/arch/arm/crypto/ |
D | ghash-ce-glue.c | 199 static int ghash_async_init(struct ahash_request *req) in ghash_async_init() 203 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_init() 212 static int ghash_async_update(struct ahash_request *req) in ghash_async_update() 214 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_update() 230 static int ghash_async_final(struct ahash_request *req) in ghash_async_final() 232 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_final() 248 static int ghash_async_digest(struct ahash_request *req) in ghash_async_digest() 252 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_digest() 269 static int ghash_async_import(struct ahash_request *req, const void *in) in ghash_async_import() 271 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_import() [all …]
|
/linux-5.19.10/drivers/crypto/ |
D | atmel-authenc.h | 36 int atmel_sha_authenc_schedule(struct ahash_request *req, 40 int atmel_sha_authenc_init(struct ahash_request *req, 45 int atmel_sha_authenc_final(struct ahash_request *req, 49 void atmel_sha_authenc_abort(struct ahash_request *req);
|
D | atmel-sha.c | 144 struct ahash_request *req; 286 struct ahash_request *req = dd->req; in atmel_sha_complete() 426 static int atmel_sha_init(struct ahash_request *req) in atmel_sha_init() 877 struct ahash_request *req = dd->req; in atmel_sha_update_req() 898 struct ahash_request *req = dd->req; in atmel_sha_final_req() 922 static void atmel_sha_copy_hash(struct ahash_request *req) in atmel_sha_copy_hash() 953 static void atmel_sha_copy_ready_hash(struct ahash_request *req) in atmel_sha_copy_ready_hash() 984 static int atmel_sha_finish(struct ahash_request *req) in atmel_sha_finish() 998 static void atmel_sha_finish_req(struct ahash_request *req, int err) in atmel_sha_finish_req() 1055 struct ahash_request *req) in atmel_sha_handle_queue() [all …]
|
/linux-5.19.10/crypto/ |
D | ahash.c | 119 int crypto_hash_walk_first(struct ahash_request *req, in crypto_hash_walk_first() 199 static int ahash_save_req(struct ahash_request *req, crypto_completion_t cplt) in ahash_save_req() 256 static void ahash_restore_req(struct ahash_request *req, int err) in ahash_restore_req() 275 static void ahash_notify_einprogress(struct ahash_request *req) in ahash_notify_einprogress() 287 struct ahash_request *areq = req->data; in ahash_op_unaligned_done() 310 static int ahash_op_unaligned(struct ahash_request *req, in ahash_op_unaligned() 311 int (*op)(struct ahash_request *)) in ahash_op_unaligned() argument 328 static int crypto_ahash_op(struct ahash_request *req, in crypto_ahash_op() 329 int (*op)(struct ahash_request *)) in crypto_ahash_op() argument 340 int crypto_ahash_final(struct ahash_request *req) in crypto_ahash_final() [all …]
|
D | shash.c | 257 static int shash_async_init(struct ahash_request *req) in shash_async_init() 267 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_update() 280 static int shash_async_update(struct ahash_request *req) in shash_async_update() 285 static int shash_async_final(struct ahash_request *req) in shash_async_final() 290 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_finup() 311 static int shash_async_finup(struct ahash_request *req) in shash_async_finup() 321 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_digest() 345 static int shash_async_digest(struct ahash_request *req) in shash_async_digest() 355 static int shash_async_export(struct ahash_request *req, void *out) in shash_async_export() 360 static int shash_async_import(struct ahash_request *req, const void *in) in shash_async_import()
|
/linux-5.19.10/fs/verity/ |
D | hash_algs.c | 91 sizeof(struct ahash_request) + in fsverity_get_hash_alg() 123 struct ahash_request *fsverity_alloc_hash_request(struct fsverity_hash_alg *alg, in fsverity_alloc_hash_request() 126 struct ahash_request *req = mempool_alloc(&alg->req_pool, gfp_flags); in fsverity_alloc_hash_request() 139 struct ahash_request *req) in fsverity_free_hash_request() 160 struct ahash_request *req = NULL; in fsverity_prepare_hash_state() 235 struct ahash_request *req, struct page *page, u8 *out) in fsverity_hash_page() 284 struct ahash_request *req; in fsverity_hash_buffer()
|
D | fsverity_private.h | 20 struct ahash_request; 85 struct ahash_request *fsverity_alloc_hash_request(struct fsverity_hash_alg *alg, 88 struct ahash_request *req); 93 struct ahash_request *req, struct page *page, u8 *out);
|
/linux-5.19.10/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 19 static int zero_message_process(struct ahash_request *req) in zero_message_process() 49 struct ahash_request *req = ahash_request_cast(dev->async_req); in rk_ahash_reg_init() 80 static int rk_ahash_init(struct ahash_request *req) in rk_ahash_init() 93 static int rk_ahash_update(struct ahash_request *req) in rk_ahash_update() 108 static int rk_ahash_final(struct ahash_request *req) in rk_ahash_final() 122 static int rk_ahash_finup(struct ahash_request *req) in rk_ahash_finup() 139 static int rk_ahash_import(struct ahash_request *req, const void *in) in rk_ahash_import() 152 static int rk_ahash_export(struct ahash_request *req, void *out) in rk_ahash_export() 165 static int rk_ahash_digest(struct ahash_request *req) in rk_ahash_digest() 196 struct ahash_request *req = ahash_request_cast(dev->async_req); in rk_ahash_start() [all …]
|
/linux-5.19.10/drivers/crypto/keembay/ |
D | keembay-ocs-hcu-core.c | 164 static struct ocs_hcu_dev *kmb_ocs_hcu_find_dev(struct ahash_request *req) in kmb_ocs_hcu_find_dev() 187 static void kmb_ocs_hcu_dma_cleanup(struct ahash_request *req, in kmb_ocs_hcu_dma_cleanup() 227 static int kmb_ocs_dma_prepare(struct ahash_request *req) in kmb_ocs_dma_prepare() 357 static void kmb_ocs_hcu_secure_cleanup(struct ahash_request *req) in kmb_ocs_hcu_secure_cleanup() 365 static int kmb_ocs_hcu_handle_queue(struct ahash_request *req) in kmb_ocs_hcu_handle_queue() 375 static int prepare_ipad(struct ahash_request *req) in prepare_ipad() 413 struct ahash_request *req = container_of(areq, struct ahash_request, in kmb_ocs_hcu_do_one_request() 561 static int kmb_ocs_hcu_init(struct ahash_request *req) in kmb_ocs_hcu_init() 615 static int kmb_ocs_hcu_update(struct ahash_request *req) in kmb_ocs_hcu_update() 651 static int kmb_ocs_hcu_fin_common(struct ahash_request *req) in kmb_ocs_hcu_fin_common() [all …]
|
/linux-5.19.10/drivers/crypto/ccp/ |
D | ccp-crypto-aes-cmac.c | 26 struct ahash_request *req = ahash_request_cast(async_req); in ccp_aes_cmac_complete() 55 static int ccp_do_cmac_update(struct ahash_request *req, unsigned int nbytes, in ccp_do_cmac_update() 183 static int ccp_aes_cmac_init(struct ahash_request *req) in ccp_aes_cmac_init() 194 static int ccp_aes_cmac_update(struct ahash_request *req) in ccp_aes_cmac_update() 199 static int ccp_aes_cmac_final(struct ahash_request *req) in ccp_aes_cmac_final() 204 static int ccp_aes_cmac_finup(struct ahash_request *req) in ccp_aes_cmac_finup() 209 static int ccp_aes_cmac_digest(struct ahash_request *req) in ccp_aes_cmac_digest() 220 static int ccp_aes_cmac_export(struct ahash_request *req, void *out) in ccp_aes_cmac_export() 239 static int ccp_aes_cmac_import(struct ahash_request *req, const void *in) in ccp_aes_cmac_import()
|
D | ccp-crypto-sha.c | 29 struct ahash_request *req = ahash_request_cast(async_req); in ccp_sha_complete() 58 static int ccp_do_sha_update(struct ahash_request *req, unsigned int nbytes, in ccp_do_sha_update() 182 static int ccp_sha_init(struct ahash_request *req) in ccp_sha_init() 206 static int ccp_sha_update(struct ahash_request *req) in ccp_sha_update() 211 static int ccp_sha_final(struct ahash_request *req) in ccp_sha_final() 216 static int ccp_sha_finup(struct ahash_request *req) in ccp_sha_finup() 221 static int ccp_sha_digest(struct ahash_request *req) in ccp_sha_digest() 232 static int ccp_sha_export(struct ahash_request *req, void *out) in ccp_sha_export() 253 static int ccp_sha_import(struct ahash_request *req, const void *in) in ccp_sha_import()
|
/linux-5.19.10/drivers/md/ |
D | dm-verity.h | 96 static inline struct ahash_request *verity_io_hash_req(struct dm_verity *v, in verity_io_hash_req() 99 return (struct ahash_request *)(io + 1); in verity_io_hash_req() 126 extern int verity_hash(struct dm_verity *v, struct ahash_request *req,
|
/linux-5.19.10/drivers/crypto/caam/ |
D | caamhash.c | 116 int (*update)(struct ahash_request *req) ____cacheline_aligned; 117 int (*final)(struct ahash_request *req); 118 int (*finup)(struct ahash_request *req); 128 int (*update)(struct ahash_request *req); 129 int (*final)(struct ahash_request *req); 130 int (*finup)(struct ahash_request *req); 544 struct ahash_request *req, int dst_len) in ahash_unmap() 564 struct ahash_request *req, int dst_len, u32 flag) in ahash_unmap_ctx() 578 struct ahash_request *req = context; in ahash_done_cpy() 629 struct ahash_request *req = context; in ahash_done_switch() [all …]
|
/linux-5.19.10/drivers/scsi/ |
D | iscsi_tcp.h | 39 struct ahash_request *tx_hash; /* CRC32C (Tx) */ 40 struct ahash_request *rx_hash; /* CRC32C (Rx) */
|