crypto: switch af_alg_make_sg() to iov_iter
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 28 Nov 2014 21:39:25 +0000 (16:39 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Feb 2015 06:34:15 +0000 (01:34 -0500)
commit1d10eb2f156f5fc83cf6c7ce60441592e66eadb3
treeb330398099f3da04395326250a747399495dc906
parent31a25fae85956e3a9c778141d29e5e803fb0b124
crypto: switch af_alg_make_sg() to iov_iter

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.

Cc: linux-crypto@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
crypto/af_alg.c
crypto/algif_hash.c
crypto/algif_skcipher.c
include/crypto/if_alg.h