skcipher_request_alloc(9) - phpMan
SKCIPHER_REQUEST_ALL(9) Programming Interface SKCIPHER_REQUEST_ALL(9)
NAME
skcipher_request_alloc - allocate request data structure
SYNOPSIS
struct skcipher_request * skcipher_request_alloc(struct crypto_skcipher * 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.
DESCRIPTION
Allocate the request data structure that must be used with the skcipher encrypt and
decrypt API calls. During the allocation, the provided skcipher 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
Kernel Hackers Manual 4.8. January 2017 SKCIPHER_REQUEST_ALL(9)
|