Re: [PATCH v5 3/8] crypto: AF_ALG: add AEAD support
From: Herbert Xu
Date: Tue Dec 23 2014 - 06:56:44 EST
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 <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/