Am Freitag, 29. Mai 2015, 23:39:03 schrieb Stephan Mueller:

Hi Herbert,

> Am Donnerstag, 28. Mai 2015, 22:08:03 schrieb Herbert Xu:
> 
> Hi Herbert,
> 
> > This patch converts rfc4106-gcm-aesni to the new AEAD interface.
> > The low-level interface remains as is for now because we can't
> > touch it until cryptd itself is upgraded.
> 
> Not sure what goes wrong, but when using algif_aead with the new code, I
> get:

Maybe the following observation can help pinpoint the issue: using the src/dst 
buffer allocated as follows, the kernel code works flawless:

        outbuf = calloc(1, outbuflen);

Using aligned src/dst buffers created with the following code causes the bug:

        if (posix_memalign((void *)&outbuf, PAGE_SIZE, outbuflen))

-- 
Ciao
Stephan
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to