Home
last modified time | relevance | path

Searched refs:mcryptd_hash_request_ctx (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/x86/crypto/sha1-mb/
Dsha1_mb.c80 static inline struct mcryptd_hash_request_ctx
86 return container_of(areq, struct mcryptd_hash_request_ctx, areq); in cast_hash_to_mcryptd_ctx()
90 *cast_mcryptd_ctx_to_req(struct mcryptd_hash_request_ctx *ctx) in cast_mcryptd_ctx_to_req()
95 static void req_ctx_init(struct mcryptd_hash_request_ctx *rctx, in req_ctx_init()
373 static int sha1_mb_set_results(struct mcryptd_hash_request_ctx *rctx) in sha1_mb_set_results()
385 static int sha_finish_walk(struct mcryptd_hash_request_ctx **ret_rctx, in sha_finish_walk()
390 struct mcryptd_hash_request_ctx *rctx = *ret_rctx; in sha_finish_walk()
434 static int sha_complete_job(struct mcryptd_hash_request_ctx *rctx, in sha_complete_job()
440 struct mcryptd_hash_request_ctx *req_ctx; in sha_complete_job()
481 static void sha1_mb_add_list(struct mcryptd_hash_request_ctx *rctx, in sha1_mb_add_list()
[all …]
/Linux-v4.19/arch/x86/crypto/sha256-mb/
Dsha256_mb.c80 static inline struct mcryptd_hash_request_ctx
86 return container_of(areq, struct mcryptd_hash_request_ctx, areq); in cast_hash_to_mcryptd_ctx()
90 *cast_mcryptd_ctx_to_req(struct mcryptd_hash_request_ctx *ctx) in cast_mcryptd_ctx_to_req()
95 static void req_ctx_init(struct mcryptd_hash_request_ctx *rctx, in req_ctx_init()
372 static int sha256_mb_set_results(struct mcryptd_hash_request_ctx *rctx) in sha256_mb_set_results()
384 static int sha_finish_walk(struct mcryptd_hash_request_ctx **ret_rctx, in sha_finish_walk()
389 struct mcryptd_hash_request_ctx *rctx = *ret_rctx; in sha_finish_walk()
433 static int sha_complete_job(struct mcryptd_hash_request_ctx *rctx, in sha_complete_job()
439 struct mcryptd_hash_request_ctx *req_ctx; in sha_complete_job()
480 static void sha256_mb_add_list(struct mcryptd_hash_request_ctx *rctx, in sha256_mb_add_list()
[all …]
/Linux-v4.19/arch/x86/crypto/sha512-mb/
Dsha512_mb.c80 static inline struct mcryptd_hash_request_ctx
86 return container_of(areq, struct mcryptd_hash_request_ctx, areq); in cast_hash_to_mcryptd_ctx()
90 *cast_mcryptd_ctx_to_req(struct mcryptd_hash_request_ctx *ctx) in cast_mcryptd_ctx_to_req()
95 static void req_ctx_init(struct mcryptd_hash_request_ctx *rctx, in req_ctx_init()
401 static int sha512_mb_set_results(struct mcryptd_hash_request_ctx *rctx) in sha512_mb_set_results()
413 static int sha_finish_walk(struct mcryptd_hash_request_ctx **ret_rctx, in sha_finish_walk()
418 struct mcryptd_hash_request_ctx *rctx = *ret_rctx; in sha_finish_walk()
462 static int sha_complete_job(struct mcryptd_hash_request_ctx *rctx, in sha_complete_job()
468 struct mcryptd_hash_request_ctx *req_ctx; in sha_complete_job()
510 static void sha512_mb_add_list(struct mcryptd_hash_request_ctx *rctx, in sha512_mb_add_list()
[all …]
/Linux-v4.19/crypto/
Dmcryptd.c102 struct mcryptd_hash_request_ctx *rctx) in mcryptd_enqueue_request()
286 sizeof(struct mcryptd_hash_request_ctx) + in mcryptd_hash_init_tfm()
319 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_enqueue()
337 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_init()
364 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_update()
391 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_final()
418 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_finup()
447 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_digest()
473 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_export()
480 struct mcryptd_hash_request_ctx *rctx = ahash_request_ctx(req); in mcryptd_hash_import()
[all …]
/Linux-v4.19/include/crypto/
Dmcryptd.h57 struct mcryptd_hash_request_ctx { struct