/linux-6.6.21/include/crypto/ |
D | hash.h | 72 struct ahash_request { struct 159 int (*init)(struct ahash_request *req); 160 int (*update)(struct ahash_request *req); 161 int (*final)(struct ahash_request *req); 162 int (*finup)(struct ahash_request *req); 163 int (*digest)(struct ahash_request *req); 164 int (*export)(struct ahash_request *req, void *out); 165 int (*import)(struct ahash_request *req, const void *in); 253 int (*init)(struct ahash_request *req); 254 int (*update)(struct ahash_request *req); [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/arch/x86/crypto/ |
D | ghash-clmulni-intel_glue.c | 179 static int ghash_async_init(struct ahash_request *req) in ghash_async_init() 183 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_init() 192 static int ghash_async_update(struct ahash_request *req) in ghash_async_update() 194 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_update() 210 static int ghash_async_final(struct ahash_request *req) in ghash_async_final() 212 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_final() 228 static int ghash_async_import(struct ahash_request *req, const void *in) in ghash_async_import() 230 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_import() 240 static int ghash_async_export(struct ahash_request *req, void *out) in ghash_async_export() 242 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_export() [all …]
|
/linux-6.6.21/drivers/crypto/rockchip/ |
D | rk3288_crypto_ahash.c | 27 static bool rk_ahash_need_fallback(struct ahash_request *req) in rk_ahash_need_fallback() 44 static int rk_ahash_digest_fb(struct ahash_request *areq) in rk_ahash_digest_fb() 65 static int zero_message_process(struct ahash_request *req) in zero_message_process() 87 static void rk_ahash_reg_init(struct ahash_request *req, in rk_ahash_reg_init() 120 static int rk_ahash_init(struct ahash_request *req) in rk_ahash_init() 133 static int rk_ahash_update(struct ahash_request *req) in rk_ahash_update() 148 static int rk_ahash_final(struct ahash_request *req) in rk_ahash_final() 162 static int rk_ahash_finup(struct ahash_request *req) in rk_ahash_finup() 179 static int rk_ahash_import(struct ahash_request *req, const void *in) in rk_ahash_import() 192 static int rk_ahash_export(struct ahash_request *req, void *out) in rk_ahash_export() [all …]
|
/linux-6.6.21/include/crypto/internal/ |
D | hash.h | 14 struct ahash_request; 63 int crypto_hash_walk_first(struct ahash_request *req, 132 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc); 133 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc); 134 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc); 200 static inline void *ahash_request_ctx_dma(struct ahash_request *req) in ahash_request_ctx_dma() 210 static inline void ahash_request_complete(struct ahash_request *req, int err) in ahash_request_complete() 215 static inline u32 ahash_request_flags(struct ahash_request *req) in ahash_request_flags() 227 struct ahash_request *request) in ahash_enqueue_request() 232 static inline struct ahash_request *ahash_dequeue_request( in ahash_dequeue_request()
|
/linux-6.6.21/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-6.6.21/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss.h | 251 struct ahash_request fallback_req; 309 int sun8i_ss_hash_init(struct ahash_request *areq); 310 int sun8i_ss_hash_export(struct ahash_request *areq, void *out); 311 int sun8i_ss_hash_import(struct ahash_request *areq, const void *in); 312 int sun8i_ss_hash_final(struct ahash_request *areq); 313 int sun8i_ss_hash_update(struct ahash_request *areq); 314 int sun8i_ss_hash_finup(struct ahash_request *areq); 315 int sun8i_ss_hash_digest(struct ahash_request *areq);
|
/linux-6.6.21/crypto/ |
D | ahash.c | 112 int crypto_hash_walk_first(struct ahash_request *req, in crypto_hash_walk_first() 186 static int ahash_save_req(struct ahash_request *req, crypto_completion_t cplt, in ahash_save_req() 192 struct ahash_request *subreq; in ahash_save_req() 239 static void ahash_restore_req(struct ahash_request *req, int err) in ahash_restore_req() 241 struct ahash_request *subreq = req->priv; in ahash_restore_req() 254 struct ahash_request *areq = data; in ahash_op_unaligned_done() 267 static int ahash_op_unaligned(struct ahash_request *req, in ahash_op_unaligned() 268 int (*op)(struct ahash_request *), in ahash_op_unaligned() argument 286 static int crypto_ahash_op(struct ahash_request *req, in crypto_ahash_op() 287 int (*op)(struct ahash_request *), in crypto_ahash_op() argument [all …]
|
D | shash.c | 289 static int shash_async_init(struct ahash_request *req) in shash_async_init() 299 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_update() 312 static int shash_async_update(struct ahash_request *req) in shash_async_update() 317 static int shash_async_final(struct ahash_request *req) in shash_async_final() 322 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_finup() 343 static int shash_async_finup(struct ahash_request *req) in shash_async_finup() 353 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_digest() 377 static int shash_async_digest(struct ahash_request *req) in shash_async_digest() 387 static int shash_async_export(struct ahash_request *req, void *out) in shash_async_export() 392 static int shash_async_import(struct ahash_request *req, const void *in) in shash_async_import()
|
/linux-6.6.21/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-6.6.21/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce.h | 296 struct ahash_request fallback_req; 362 int sun8i_ce_hash_init(struct ahash_request *areq); 363 int sun8i_ce_hash_export(struct ahash_request *areq, void *out); 364 int sun8i_ce_hash_import(struct ahash_request *areq, const void *in); 365 int sun8i_ce_hash_final(struct ahash_request *areq); 366 int sun8i_ce_hash_update(struct ahash_request *areq); 367 int sun8i_ce_hash_finup(struct ahash_request *areq); 368 int sun8i_ce_hash_digest(struct ahash_request *areq);
|
D | sun8i-ce-hash.c | 72 int sun8i_ce_hash_init(struct ahash_request *areq) in sun8i_ce_hash_init() 86 int sun8i_ce_hash_export(struct ahash_request *areq, void *out) in sun8i_ce_hash_export() 98 int sun8i_ce_hash_import(struct ahash_request *areq, const void *in) in sun8i_ce_hash_import() 110 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() 178 static int sun8i_ce_hash_digest_fb(struct ahash_request *areq) in sun8i_ce_hash_digest_fb() 206 static bool sun8i_ce_hash_need_fallback(struct ahash_request *areq) in sun8i_ce_hash_need_fallback() 239 int sun8i_ce_hash_digest(struct ahash_request *areq) in sun8i_ce_hash_digest() 332 struct ahash_request *areq = container_of(breq, struct ahash_request, base); in sun8i_ce_hash_run()
|
/linux-6.6.21/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-6.6.21/drivers/crypto/intel/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-6.6.21/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-6.6.21/drivers/crypto/aspeed/ |
D | aspeed-hace-hash.c | 118 struct ahash_request *req = hash_engine->req; in aspeed_ahash_dma_prepare() 167 struct ahash_request *req = hash_engine->req; in aspeed_ahash_dma_prepare_sg() 274 struct ahash_request *req = hash_engine->req; in aspeed_ahash_complete() 292 struct ahash_request *req = hash_engine->req; in aspeed_ahash_transfer() 315 struct ahash_request *req = hash_engine->req; in aspeed_hace_ahash_trigger() 349 struct ahash_request *req = hash_engine->req; in aspeed_ahash_hmac_resume() 408 struct ahash_request *req = hash_engine->req; in aspeed_ahash_req_final() 456 struct ahash_request *req = hash_engine->req; in aspeed_ahash_update_resume_sg() 487 struct ahash_request *req = hash_engine->req; in aspeed_ahash_update_resume() 504 struct ahash_request *req = hash_engine->req; in aspeed_ahash_req_update() [all …]
|
/linux-6.6.21/drivers/md/ |
D | dm-verity.h | 105 static inline struct ahash_request *verity_io_hash_req(struct dm_verity *v, in verity_io_hash_req() 108 return (struct ahash_request *)(io + 1); in verity_io_hash_req() 129 extern int verity_hash(struct dm_verity *v, struct ahash_request *req,
|
/linux-6.6.21/arch/arm/crypto/ |
D | ghash-ce-glue.c | 216 static int ghash_async_init(struct ahash_request *req) in ghash_async_init() 220 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_init() 229 static int ghash_async_update(struct ahash_request *req) in ghash_async_update() 231 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_update() 247 static int ghash_async_final(struct ahash_request *req) in ghash_async_final() 249 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_final() 265 static int ghash_async_digest(struct ahash_request *req) in ghash_async_digest() 269 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_digest() 286 static int ghash_async_import(struct ahash_request *req, const void *in) in ghash_async_import() 288 struct ahash_request *cryptd_req = ahash_request_ctx(req); in ghash_async_import() [all …]
|
/linux-6.6.21/drivers/crypto/caam/ |
D | caamhash.c | 121 int (*update)(struct ahash_request *req) ____cacheline_aligned; 122 int (*final)(struct ahash_request *req); 123 int (*finup)(struct ahash_request *req); 133 int (*update)(struct ahash_request *req); 134 int (*final)(struct ahash_request *req); 135 int (*finup)(struct ahash_request *req); 553 struct ahash_request *req, int dst_len) in ahash_unmap() 573 struct ahash_request *req, int dst_len, u32 flag) in ahash_unmap_ctx() 587 struct ahash_request *req = context; in ahash_done_cpy() 638 struct ahash_request *req = context; in ahash_done_switch() [all …]
|
/linux-6.6.21/drivers/scsi/ |
D | iscsi_tcp.h | 44 struct ahash_request *tx_hash; /* CRC32C (Tx) */ 45 struct ahash_request *rx_hash; /* CRC32C (Rx) */
|
/linux-6.6.21/drivers/crypto/qce/ |
D | sha.c | 39 struct ahash_request *req = ahash_request_cast(async_req); in qce_ahash_done() 77 struct ahash_request *req = ahash_request_cast(async_req); in qce_ahash_async_req_handle() 133 static int qce_ahash_init(struct ahash_request *req) in qce_ahash_init() 148 static int qce_ahash_export(struct ahash_request *req, void *out) in qce_ahash_export() 165 static int qce_ahash_import(struct ahash_request *req, const void *in) in qce_ahash_import() 183 static int qce_ahash_update(struct ahash_request *req) in qce_ahash_update() 276 static int qce_ahash_final(struct ahash_request *req) in qce_ahash_final() 303 static int qce_ahash_digest(struct ahash_request *req) in qce_ahash_digest() 335 struct ahash_request *req; in qce_ahash_hmac_setkey()
|