Thread (22 messages) 22 messages, 2 authors, 2015-06-01

Re: [PATCH 8/10] crypto: aesni - Convert top-level rfc4106 algorithm to new interface

From: Stephan Mueller <hidden>
Date: 2015-05-29 21:50:38

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,
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help