From: Romain Perier Subject: Re: [PATCH] crypto: marvell - Don't copy hash operation twice into the SRAM Date: Fri, 2 Dec 2016 09:58:34 +0100 Message-ID: <064940be-9de0-ed74-a243-e8feb9bc5866@free-electrons.com> References: <20161201162157.14563-1-romain.perier@free-electrons.com> <87shq7iph2.fsf@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: Boris Brezillon , Arnaud Ebalard , linux-crypto@vger.kernel.org, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Thomas Petazzoni To: Gregory CLEMENT Return-path: Received: from mail.free-electrons.com ([62.4.15.54]:54547 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755825AbcLBI6h (ORCPT ); Fri, 2 Dec 2016 03:58:37 -0500 In-Reply-To: <87shq7iph2.fsf@free-electrons.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: Hi, Le 01/12/2016 à 17:27, Gregory CLEMENT a écrit : > Hi Romain, > > On jeu., déc. 01 2016, Romain Perier wrote: > >> No need to copy the template of an hash operation twice into the SRAM >> from the step function. >> > > Does this patch fix a bug ot it is jsute a cleanup/improvement? > > If it is a bug you should CC stable and add use the Fixes tag. > > Gregory No, it just removes a initialization that is done twice. I have checked, it cannot overwrite the context of the operation that was previously copied (by the for loop), so it does not fix anything. Romain