ahash_request_alloc (9) - Linux Manuals
ahash_request_alloc: allocate request data structure
NAME
ahash_request_alloc - allocate request data structure
SYNOPSIS
-
struct ahash_request * ahash_request_alloc(struct crypto_ahash
* tfm, gfp_tgfp);
ARGUMENTS
tfm
-
- cipher handle to be registered with the request
gfp
- memory allocation flag that is handed to kmalloc by the API call.
DESCRIPTION
Allocate the request data structure that must be used with the ahash message digest API calls. During the allocation, the provided ahash handle is registered in the request data structure.
RETURN
allocated request handle in case of success, or NULL if out of memory
AUTHORS
Stephan Mueller <smueller [at] chronox.de>
- Author.
Marek Vasut <marek [at] denx.de>
- Author.
COPYRIGHT