----- "Christoph Hellwig" <hch@xxxxxxxxxxxxx> wrote: > On Tue, Sep 07, 2010 at 10:34:25AM -0400, Miloslav Trmac wrote: > > - Don't use a FD for associated data that is limited to 16? bytes > > > > - Don't use file descriptors for input data at all, if it makes the > interface so complex. > > Calling into the kernel for 16 bytes of crypto is a braindead idea to > start with. To preve3nt idiots like you 1) It was Herbert who used AEAD as an example 2) That's how AEAD works: One large input stream, one very small. Mirek -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html