From: Herbert Xu Subject: Re: HIFN+IPsec crashes in current -git Date: Tue, 19 Feb 2008 14:23:23 +0800 Message-ID: References: <47B2EDF9.6020900@trash.net> Cc: linux-crypto@vger.kernel.org, johnpol@2ka.mipt.ru To: kaber@trash.net (Patrick McHardy) Return-path: Received: from rhun.apana.org.au ([64.62.148.172]:33739 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752518AbYBSGXa (ORCPT ); Tue, 19 Feb 2008 01:23:30 -0500 In-Reply-To: <47B2EDF9.6020900@trash.net> Sender: linux-crypto-owner@vger.kernel.org List-ID: Patrick McHardy wrote: > > I couldn't figure out where in the crypto code the > nbytes decrement by 12 bytes compared to the length > seen when setting up the crypto operation happens > or I might have tried to properly fix it myself. > I'll happily test patches in case someone more > familiar with the code does a proper fix. The usual ICV is 12 bytes long so that could be where it's coming from. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt