Re: [Cryptodev-linux-devel] tests/cipher-gcm crashes kernel

2017-03-21 Thread Cristian Stoica
Hi Phil, In the next couple of weeks I'm busy with another project and I can't allocate this issue the time it deserves. I'll get back to you after I setup a test with this kernel and have a better look at the code. Thanks, Cristian S. From: Phil Sutt

[Cryptodev-linux-devel] tests/cipher-gcm crashes kernel

2017-03-20 Thread Phil Sutter
Hi, Testing cryptodev on a recent kernel (4.10.0), I get an oops when running tests/cipher-gcm. It fails with the last entry in aes_gcm_vectors (the one with auth data). I couldn't find out yet where the problem comes from, but looking at cryptodev_cipher_auth(), it seems like we miss attaching a