On Thu, Mar 16, 2017 at 09:55:17AM +0100, Stephan Müller wrote: > > With this approach I thought that the while loop could be a thing of the > past, > considering that this is also the approach taken in skcipher_recvmsg_async > that is present in the current upstream code base.
The reason there is a limit is so that user-space doesn't pin down unlimited amounts of memory. How is this addressed under your scheme? Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt