From: Herbert Xu Subject: Re: [PATCH] crypto: talitos - fix ahash for multiple of blocksize Date: Wed, 16 Jun 2010 15:29:25 +1000 Message-ID: <20100616052925.GA18745@gondor.apana.org.au> References: <1276232130-19759-1-git-send-email-lee.nipper@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-crypto@vger.kernel.org To: Lee Nipper Return-path: Received: from ringil.hengli.com.au ([216.59.3.182]:58110 "EHLO arnor.apana.org.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753622Ab0FPF3a (ORCPT ); Wed, 16 Jun 2010 01:29:30 -0400 Content-Disposition: inline In-Reply-To: <1276232130-19759-1-git-send-email-lee.nipper@gmail.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: On Fri, Jun 11, 2010 at 04:55:30AM +0000, Lee Nipper wrote: > Correct ahash_process_req() to properly handle cases > where the total hash amount is a multiple of the blocksize. > The SEC must have some data to hash during the very last > descriptor operation; so up to one whole blocksize > of data is buffered until the final hash. > > Signed-off-by: Lee Nipper Patch applied. Thanks Lee! -- 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