Searched refs:areq (Results 1 – 3 of 3) sorted by relevance
/arch/x86/crypto/sha256-mb/ |
D | sha256_mb.c | 83 struct ahash_request *areq; in cast_hash_to_mcryptd_ctx() local 85 areq = container_of((void *) hash_ctx, struct ahash_request, __ctx); in cast_hash_to_mcryptd_ctx() 86 return container_of(areq, struct mcryptd_hash_request_ctx, areq); in cast_hash_to_mcryptd_ctx() 96 struct ahash_request *areq) in req_ctx_init() argument 373 static int sha256_mb_init(struct ahash_request *areq) in sha256_mb_init() argument 375 struct sha256_hash_ctx *sctx = ahash_request_ctx(areq); in sha256_mb_init() 396 struct sha256_hash_ctx *sctx = ahash_request_ctx(&rctx->areq); in sha256_mb_set_results() 428 ahash_request_ctx(&rctx->areq); in sha_finish_walk() 520 static int sha256_mb_update(struct ahash_request *areq) in sha256_mb_update() argument 523 container_of(areq, struct mcryptd_hash_request_ctx, areq); in sha256_mb_update() [all …]
|
/arch/x86/crypto/sha1-mb/ |
D | sha1_mb.c | 83 struct ahash_request *areq; in cast_hash_to_mcryptd_ctx() local 85 areq = container_of((void *) hash_ctx, struct ahash_request, __ctx); in cast_hash_to_mcryptd_ctx() 86 return container_of(areq, struct mcryptd_hash_request_ctx, areq); in cast_hash_to_mcryptd_ctx() 96 struct ahash_request *areq) in req_ctx_init() argument 378 static int sha1_mb_init(struct ahash_request *areq) in sha1_mb_init() argument 380 struct sha1_hash_ctx *sctx = ahash_request_ctx(areq); in sha1_mb_init() 398 struct sha1_hash_ctx *sctx = ahash_request_ctx(&rctx->areq); in sha1_mb_set_results() 430 ahash_request_ctx(&rctx->areq); in sha_finish_walk() 522 static int sha1_mb_update(struct ahash_request *areq) in sha1_mb_update() argument 525 container_of(areq, struct mcryptd_hash_request_ctx, areq); in sha1_mb_update() [all …]
|
/arch/x86/crypto/sha512-mb/ |
D | sha512_mb.c | 83 struct ahash_request *areq; in cast_hash_to_mcryptd_ctx() local 85 areq = container_of((void *) hash_ctx, struct ahash_request, __ctx); in cast_hash_to_mcryptd_ctx() 86 return container_of(areq, struct mcryptd_hash_request_ctx, areq); in cast_hash_to_mcryptd_ctx() 96 struct ahash_request *areq) in req_ctx_init() argument 405 static int sha512_mb_init(struct ahash_request *areq) in sha512_mb_init() argument 407 struct sha512_hash_ctx *sctx = ahash_request_ctx(areq); in sha512_mb_init() 428 struct sha512_hash_ctx *sctx = ahash_request_ctx(&rctx->areq); in sha512_mb_set_results() 460 ahash_request_ctx(&rctx->areq); in sha_finish_walk() 554 static int sha512_mb_update(struct ahash_request *areq) in sha512_mb_update() argument 557 container_of(areq, struct mcryptd_hash_request_ctx, in sha512_mb_update() [all …]
|