Re: SKB dst field is NULL when AEAD request complete() is called

2016-05-26 Thread Denis B
The bug was: return value of my driver's encrypt() function should have been -EINPROGRESS to support asynchronous operation. Thanks. On Thu, May 26, 2016 at 12:29 PM, Herbert Xu wrote: > Denis B wrote: >> Working with kernel 3.12.14, in AEAD mode, I register my crypto driver >> and the givencry

Re: SKB dst field is NULL when AEAD request complete() is called

2016-05-26 Thread Herbert Xu
Denis B wrote: > Working with kernel 3.12.14, in AEAD mode, I register my crypto driver > and the givencrypt() method in the driver gets called when I send > IPSec traffic. I store the request, and later call its complete() > method from a work queue. There is no actual encryption happening at > t

SKB dst field is NULL when AEAD request complete() is called

2016-05-24 Thread Denis B
Working with kernel 3.12.14, in AEAD mode, I register my crypto driver and the givencrypt() method in the driver gets called when I send IPSec traffic. I store the request, and later call its complete() method from a work queue. There is no actual encryption happening at the moment, I'm just testin