Re: error in libkcapi 1.0.3 for aead aio

2018-02-28 Thread Harsh Jain
On 28-02-2018 14:28, Stephan Mueller wrote: > Am Mittwoch, 28. Februar 2018, 08:34:21 CET schrieb Harsh Jain: > > Hi Harsh, > >> Try with gdb. AIO(-x 10) works fine with step by step debugging. Also >> verified by adding print in "af_alg_async_cb" for received err value. >> Driver is sending -7

Re: error in libkcapi 1.0.3 for aead aio

2018-02-28 Thread Stephan Mueller
Am Mittwoch, 28. Februar 2018, 08:34:21 CET schrieb Harsh Jain: Hi Harsh, > Try with gdb. AIO(-x 10) works fine with step by step debugging. Also > verified by adding print in "af_alg_async_cb" for received err value. > Driver is sending -74 here. I am unable to reproduce the issue. Both comma

Re: error in libkcapi 1.0.3 for aead aio

2018-02-27 Thread Harsh Jain
On 28-02-2018 10:29, Harsh Jain wrote: > > On 27-02-2018 20:09, Stephan Müller wrote: >> Am Sonntag, 25. Februar 2018, 06:25:06 CET schrieb Harsh Jain: >> >> Hi Harsh, >> >>> Hi Stephan, >>> >>> 1 of the test mentioned in test.sh is failing for AEAD AIO operation even >>> thought driver is return

Re: error in libkcapi 1.0.3 for aead aio

2018-02-27 Thread Harsh Jain
On 27-02-2018 20:09, Stephan Müller wrote: > Am Sonntag, 25. Februar 2018, 06:25:06 CET schrieb Harsh Jain: > > Hi Harsh, > >> Hi Stephan, >> >> 1 of the test mentioned in test.sh is failing for AEAD AIO operation even >> thought driver is returning EBADMSG(as expected) to af_alg with latest >> c

Re: error in libkcapi 1.0.3 for aead aio

2018-02-27 Thread Stephan Müller
Am Sonntag, 25. Februar 2018, 06:25:06 CET schrieb Harsh Jain: Hi Harsh, > Hi Stephan, > > 1 of the test mentioned in test.sh is failing for AEAD AIO operation even > thought driver is returning EBADMSG(as expected) to af_alg with latest > cryptodev tree. > > Debug log and strace attached. > >

error in libkcapi 1.0.3 for aead aio

2018-02-24 Thread Harsh Jain
Hi Stephan, 1 of the test mentioned in test.sh is failing for AEAD AIO operation even thought driver is returning EBADMSG(as expected) to af_alg with latest cryptodev tree. Debug log and strace attached. Command : strace -o strace.log ../bin/kcapi   -x 10   -c "gcm(aes)" -i 7815d4b06ae50c9c5