Re: [PATCH v3 12/18] crypto: switch af_alg_make_sg() to iov_iter

From
Stephan Mueller <hidden>
Date
2015-02-09 13:59:46
Also in
linux-crypto
Reply to
Al Viro, 2015-02-04
Am Mittwoch, 4. Februar 2015, 06:40:03 schrieb Al Viro:

Hi Al,
From: Al Viro <viro@zeniv.linux.org.uk>

With that, all ->sendmsg() instances are converted to iov_iter primitives
and are agnostic wrt the kind of iov_iter they are working with.
So's the last remaining ->recvmsg() instance that wasn't kind-agnostic yet.
All ->sendmsg() and ->recvmsg() advance ->msg_iter by the amount actually
copied and none of them modifies the underlying iovec, etc.
After testing this patch with the test application by simply executing 
[1]/test/test.sh, the hash and skcipher interface invocation hang in kernel 
space. Though, I am not sure where the problem is.

For individual invocations of the tests, you may look into [1]/test/kcapi-
main.c in the comments above cavs_sym or cavs_hash.

[1] http://www.chronox.de/libkcapi.html
-- 
Ciao
Stephan
Thread (80 messages) 80 messages, 6 authors, last reply 2015-02-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help