From: Herbert Xu Subject: Re: crypto: marvell/CESA: Issues with non cache-line aligned buffers Date: Sat, 4 Jul 2015 15:37:17 +0800 Message-ID: <20150704073717.GA6539@gondor.apana.org.au> References: <20150703114305.15611807@bbrezillon> <20150704073355.GA6451@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Thomas Petazzoni , Russell King - ARM Linux , Arnaud Ebalard , Will Deacon , "linux-crypto@vger.kernel.org" , Gregory CLEMENT , "linux-arm-kernel@lists.infradead.org" To: Boris Brezillon Return-path: Content-Disposition: inline In-Reply-To: <20150704073355.GA6451@gondor.apana.org.au> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org List-Id: linux-crypto.vger.kernel.org On Sat, Jul 04, 2015 at 03:33:55PM +0800, Herbert Xu wrote: > Note that I don't think we have a suitable helper for DMA-aligned > processing of SG lists. The ablkcipher_walk_* interface is mostly > identical to the blkcipher_walk_* interface. Actually I take that back. The ablkcipher_walk_* should work even if may be a bit unwieldy. Patches to improve it are of course welcome :) Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt