On Tue, Dec 23, 2014 at 09:14:43AM +0100, Stephan Mueller wrote:
- the check aead_readable() immediately before this check implements the
blocking if we do not have sufficient data *and* more data is to be expected
Good point.
In fact AEAD is rather awkward because you need to do everything
in one go. Perhaps we could adapt our kernel interface to allow
partial AEAD operations?
I want to be very careful before we pin down our user-space
interface since that's something that we cannot easily change
while the kernel interface can be modified at any time.
Thanks,
--
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt