ablkcipher_request_alloc(9)

ablkcipher_request_alloc9

Allocate request data structure

Usage

struct ablkcipher_request * ablkcipher_request_alloc(struct crypto_ablkcipher * tfm, gfp_t gfp);

Arguments

tfm

cipher handle to be registered with the request

gfp

memory allocation flag that is handed to kmalloc by the API call.

Overview

Allocate the request data structure that must be used with the ablkcipher encrypt and decrypt API calls. During the allocation, the provided ablkcipher 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 <[email protected]>

Author.

Marek Vasut <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.