Re: AEAD x86 assembler crash

2015-06-01 Thread Stephan Mueller
Am Montag, 1. Juni 2015, 17:15:51 schrieb Herbert Xu: Hi Herbert, > On Mon, Jun 01, 2015 at 11:12:45AM +0200, Stephan Mueller wrote: > > another crash with all of the latest patches and using gcm_base(ctr(aes- > > asm),ghash-generic) using the standard AEAD interface and performing > > encryption

Re: AEAD x86 assembler crash

2015-06-01 Thread Herbert Xu
On Mon, Jun 01, 2015 at 11:12:45AM +0200, Stephan Mueller wrote: > > another crash with all of the latest patches and using gcm_base(ctr(aes- > asm),ghash-generic) using the standard AEAD interface and performing > encryption. Can you send me the patch of libkcapi against b1e885f64f7b7f6cbc34faa

Re: AEAD x86 assembler crash

2015-06-01 Thread Herbert Xu
On Mon, Jun 01, 2015 at 11:27:42AM +0200, Stephan Mueller wrote: > > Just a question: is the new API without an IV generator to be used > differently > when using the new API with an IV generator? Sorry I'm totally confused by your question :) Please give an example using actual code. Thanks,

Re: AEAD x86 assembler crash

2015-06-01 Thread Stephan Mueller
Am Montag, 1. Juni 2015, 17:17:45 schrieb Herbert Xu: Hi Herbert, > On Mon, Jun 01, 2015 at 11:12:45AM +0200, Stephan Mueller wrote: > > [ 599.243227] [] old_crypt+0xc5/0xe0 > > [ 599.243229] [] old_encrypt+0x1d/0x20 > > [ 599.243233] [] kccavs_aead_encdec+0x53/0x80 > > [kcapi_cavs] [ 599.

Re: AEAD x86 assembler crash

2015-06-01 Thread Herbert Xu
On Mon, Jun 01, 2015 at 11:12:45AM +0200, Stephan Mueller wrote: > > [ 599.243227] [] old_crypt+0xc5/0xe0 > [ 599.243229] [] old_encrypt+0x1d/0x20 > [ 599.243233] [] kccavs_aead_encdec+0x53/0x80 [kcapi_cavs] > [ 599.243235] [] kccavs_test_aead+0x23a/0x3e0 [kcapi_cavs] > [ 599.243238] [] k

AEAD x86 assembler crash

2015-06-01 Thread Stephan Mueller
Hi Herbert, another crash with all of the latest patches and using gcm_base(ctr(aes- asm),ghash-generic) using the standard AEAD interface and performing encryption. [ 599.243110] [ cut here ] [ 599.243113] kernel BUG at crypto/scatterwalk.c:37! [ 599.243115] invalid