Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a596999b authored by Tadeusz Struk's avatar Tadeusz Struk Committed by David S. Miller
Browse files

crypto: algif - change algif_skcipher to be asynchronous


The way the algif_skcipher works currently is that on sendmsg/sendpage it
builds an sgl for the input data and then on read/recvmsg it sends the job
for encryption putting the user to sleep till the data is processed.
This way it can only handle one job at a given time.
This patch changes it to be asynchronous by adding AIO support.

Signed-off-by: default avatarTadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 66db3739
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment