other versions
- stretch 4.9.168-1
AEAD_REQUEST_ALLOC(9) | Programming Interface | AEAD_REQUEST_ALLOC(9) |
NAME¶
aead_request_alloc - allocate request data structureSYNOPSIS¶
struct aead_request * aead_request_alloc(struct crypto_aead * tfm, gfp_t gfp);
ARGUMENTS¶
tfmcipher 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 AEAD encrypt and decrypt API calls. During the allocation, the provided aead handle is registered in the request data structure.RETURN¶
allocated request handle in case of success, or NULL if out of memoryAUTHORS¶
Stephan Mueller <smueller@chronox.de>Author.
Marek Vasut <marek@denx.de>
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |