AHASH_REQUEST_SET_CA(9) | Programming Interface | AHASH_REQUEST_SET_CA(9) |
NAME¶
ahash_request_set_callback - set asynchronous callback function
SYNOPSIS¶
void ahash_request_set_callback(struct ahash_request * req, u32 flags, crypto_completion_t compl, void * data);
ARGUMENTS¶
req
flags
compl
data
DESCRIPTION¶
This function allows setting the callback function that is triggered once the cipher operation completes.
The callback function is registered with the ahash_request handle and must comply with the following template
void callback_function(struct crypto_async_request *req, int error)
AUTHORS¶
Stephan Mueller <smueller@chronox.de>
Marek Vasut <marek@denx.de>
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.9. |