Home
last modified time | relevance | path

Searched refs:ahash_request (Results 1 – 20 of 20) sorted by relevance

/linux-4.19.296/include/crypto/
Dhash.h54 struct ahash_request { struct
68 char __##name##_desc[sizeof(struct ahash_request) + \ argument
70 struct ahash_request *name = (void *)__##name##_desc
134 int (*init)(struct ahash_request *req);
135 int (*update)(struct ahash_request *req);
136 int (*final)(struct ahash_request *req);
137 int (*finup)(struct ahash_request *req);
138 int (*digest)(struct ahash_request *req);
139 int (*export)(struct ahash_request *req, void *out);
140 int (*import)(struct ahash_request *req, const void *in);
[all …]
Dmcryptd.h64 struct ahash_request areq;
70 struct ahash_request *mcryptd_ahash_desc(struct ahash_request *req);
Dengine.h98 struct ahash_request *req);
108 struct ahash_request *req, int err);
Dcryptd.h63 struct shash_desc *cryptd_shash_desc(struct ahash_request *req);
/linux-4.19.296/include/crypto/internal/
Dhash.h19 struct ahash_request;
56 int crypto_hash_walk_first(struct ahash_request *req,
58 int crypto_ahash_walk_first(struct ahash_request *req,
119 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc);
120 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc);
121 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc);
170 static inline void ahash_request_complete(struct ahash_request *req, int err) in ahash_request_complete()
175 static inline u32 ahash_request_flags(struct ahash_request *req) in ahash_request_flags()
187 struct ahash_request *request) in ahash_enqueue_request()
192 static inline struct ahash_request *ahash_dequeue_request( in ahash_dequeue_request()
/linux-4.19.296/include/scsi/
Dlibiscsi_tcp.h29 struct ahash_request;
41 struct ahash_request *hash;
76 struct ahash_request *rx_hash;
114 struct ahash_request *hash);
120 struct ahash_request *hash);
123 extern void iscsi_tcp_dgst_header(struct ahash_request *hash, const void *hdr,
/linux-4.19.296/crypto/
Dahash.c134 int crypto_hash_walk_first(struct ahash_request *req, in crypto_hash_walk_first()
152 int crypto_ahash_walk_first(struct ahash_request *req, in crypto_ahash_walk_first()
235 static int ahash_save_req(struct ahash_request *req, crypto_completion_t cplt) in ahash_save_req()
292 static void ahash_restore_req(struct ahash_request *req, int err) in ahash_restore_req()
311 static void ahash_notify_einprogress(struct ahash_request *req) in ahash_notify_einprogress()
323 struct ahash_request *areq = req->data; in ahash_op_unaligned_done()
346 static int ahash_op_unaligned(struct ahash_request *req, in ahash_op_unaligned()
347 int (*op)(struct ahash_request *)) in ahash_op_unaligned() argument
364 static int crypto_ahash_op(struct ahash_request *req, in crypto_ahash_op()
365 int (*op)(struct ahash_request *)) in crypto_ahash_op() argument
[all …]
Dmcryptd.c314 static int mcryptd_hash_enqueue(struct ahash_request *req, in mcryptd_hash_enqueue()
336 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_init()
338 struct ahash_request *desc = &rctx->areq; in mcryptd_hash_init()
356 static int mcryptd_hash_init_enqueue(struct ahash_request *req) in mcryptd_hash_init_enqueue()
363 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_update()
383 static int mcryptd_hash_update_enqueue(struct ahash_request *req) in mcryptd_hash_update_enqueue()
390 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_final()
410 static int mcryptd_hash_final_enqueue(struct ahash_request *req) in mcryptd_hash_final_enqueue()
417 struct ahash_request *req = ahash_request_cast(req_async); in mcryptd_hash_finup()
437 static int mcryptd_hash_finup_enqueue(struct ahash_request *req) in mcryptd_hash_finup_enqueue()
[all …]
Dshash.c242 static int shash_async_init(struct ahash_request *req) in shash_async_init()
253 int shash_ahash_update(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_update()
266 static int shash_async_update(struct ahash_request *req) in shash_async_update()
271 static int shash_async_final(struct ahash_request *req) in shash_async_final()
276 int shash_ahash_finup(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_finup()
297 static int shash_async_finup(struct ahash_request *req) in shash_async_finup()
308 int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc) in shash_ahash_digest()
333 static int shash_async_digest(struct ahash_request *req) in shash_async_digest()
344 static int shash_async_export(struct ahash_request *req, void *out) in shash_async_export()
349 static int shash_async_import(struct ahash_request *req, const void *in) in shash_async_import()
Dcryptd.c701 static int cryptd_hash_enqueue(struct ahash_request *req, in cryptd_hash_enqueue()
715 static void cryptd_hash_complete(struct ahash_request *req, int err) in cryptd_hash_complete()
734 struct ahash_request *req = ahash_request_cast(req_async); in cryptd_hash_init()
752 static int cryptd_hash_init_enqueue(struct ahash_request *req) in cryptd_hash_init_enqueue()
759 struct ahash_request *req = ahash_request_cast(req_async); in cryptd_hash_update()
775 static int cryptd_hash_update_enqueue(struct ahash_request *req) in cryptd_hash_update_enqueue()
782 struct ahash_request *req = ahash_request_cast(req_async); in cryptd_hash_final()
796 static int cryptd_hash_final_enqueue(struct ahash_request *req) in cryptd_hash_final_enqueue()
803 struct ahash_request *req = ahash_request_cast(req_async); in cryptd_hash_finup()
817 static int cryptd_hash_finup_enqueue(struct ahash_request *req) in cryptd_hash_finup_enqueue()
[all …]
Dauthenc.c134 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in authenc_geniv_ahash_done()
155 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_genicv()
252 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt_tail()
302 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ictx->reqoff); in crypto_authenc_decrypt()
356 sizeof(struct ahash_request), in crypto_authenc_init_tfm()
Dcrypto_engine.c268 struct ahash_request *req) in crypto_transfer_hash_request_to_engine()
338 struct ahash_request *req, int err) in crypto_finalize_hash_request()
Dauthencesn.c143 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_genicv()
290 struct ahash_request *ahreq = (void *)(areq_ctx->tail + ctx->reqoff); in crypto_authenc_esn_decrypt()
374 sizeof(struct ahash_request), in crypto_authenc_esn_init_tfm()
Dalgif_hash.c34 struct ahash_request req;
241 struct ahash_request *req = &ctx->req; in hash_accept()
Dgcm.c76 struct ahash_request ahreq;
230 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash_update()
248 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash_len()
423 struct ahash_request *ahreq = &pctx->u.ahreq; in gcm_hash()
571 sizeof(struct ahash_request) + in crypto_gcm_init_tfm()
Dtcrypt.c710 static inline int do_one_ahash_op(struct ahash_request *req, int ret) in do_one_ahash_op()
720 struct ahash_request *req;
911 static int test_ahash_jiffies_digest(struct ahash_request *req, int blen, in test_ahash_jiffies_digest()
931 static int test_ahash_jiffies(struct ahash_request *req, int blen, in test_ahash_jiffies()
963 static int test_ahash_cycles_digest(struct ahash_request *req, int blen, in test_ahash_cycles_digest()
1001 static int test_ahash_cycles(struct ahash_request *req, int blen, in test_ahash_cycles()
1063 struct ahash_request *req; in test_ahash_speed_common()
Dchacha20poly1305.c50 struct ahash_request req; /* must be last member */
562 sizeof(struct ahash_request) + in chachapoly_init()
Dtestmgr.c190 static int ahash_partial_update(struct ahash_request **preq, in ahash_partial_update()
196 struct ahash_request *req; in ahash_partial_update()
278 struct ahash_request *req; in __test_hash()
/linux-4.19.296/include/target/iscsi/
Discsi_target_core.h586 struct ahash_request *conn_rx_hash;
587 struct ahash_request *conn_tx_hash;
/linux-4.19.296/include/net/
Dtcp.h1566 struct ahash_request *md5_req;