Re: [PATCH] Possible bug in AUTHENC

2010-05-20 Thread Herbert Xu
On Thu, May 20, 2010 at 11:26:00AM +0200, Shikhar wrote: > crypto: authenc - Fix "cryptlen" calculation. > > This patch (applied against 2.6.34) fixes the calculation of the > length of the ABLKCIPHER decrypt request ("cryptlen") after an > asynchronous hash request has been completed in the AUTHE

Re: [PATCH] Possible bug in AUTHENC

2010-05-20 Thread Shikhar
crypto: authenc - Fix "cryptlen" calculation. This patch (applied against 2.6.34) fixes the calculation of the length of the ABLKCIPHER decrypt request ("cryptlen") after an asynchronous hash request has been completed in the AUTHENC interface. Signed-off-by: Shikhar Khattar diff -pu linux-2.6

Re: Possible bug in AUTHENC

2010-05-19 Thread Herbert Xu
On Wed, May 19, 2010 at 03:24:24PM +0200, Shikhar wrote: > Hi, > > I am currently working on a driver for our crypto HW and the initial > aim was to offload IPSec (ESP for now) to HW. I did this by > registering the cipher and hash algorithms (both asynchronous) > separately (AES-CBC, HMAC-SHA1 on

Possible bug in AUTHENC

2010-05-19 Thread Shikhar
Hi, I am currently working on a driver for our crypto HW and the initial aim was to offload IPSec (ESP for now) to HW. I did this by registering the cipher and hash algorithms (both asynchronous) separately (AES-CBC, HMAC-SHA1 only for now) and let the API handle the request using the AUTHENC inte