Re: [PATCH v3 2/4] crypto: niagara: Use precalculated hash from headers

2015-12-17 Thread Herbert Xu
On Thu, Dec 17, 2015 at 09:48:24AM +0100, LABBE Corentin wrote: > > You are right, I missed it also in ccp/ux500. I think you need it for all three drivers. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To

Re: [PATCH v3 2/4] crypto: niagara: Use precalculated hash from headers

2015-12-17 Thread LABBE Corentin
On Thu, Dec 17, 2015 at 04:40:18PM +0800, Herbert Xu wrote: > On Tue, Dec 15, 2015 at 02:00:21PM +0100, LABBE Corentin wrote: > > Precalculated hash for empty message are now present in hash headers. > > This patch just use them. > > > > Signed-off-by: LABBE Corentin > > --- > > drivers/crypto/K

Re: [PATCH v3 2/4] crypto: niagara: Use precalculated hash from headers

2015-12-17 Thread Herbert Xu
On Tue, Dec 15, 2015 at 02:00:21PM +0100, LABBE Corentin wrote: > Precalculated hash for empty message are now present in hash headers. > This patch just use them. > > Signed-off-by: LABBE Corentin > --- > drivers/crypto/Kconfig | 2 ++ > drivers/crypto/n2_core.c | 33 ++--

[PATCH v3 2/4] crypto: niagara: Use precalculated hash from headers

2015-12-15 Thread LABBE Corentin
Precalculated hash for empty message are now present in hash headers. This patch just use them. Signed-off-by: LABBE Corentin --- drivers/crypto/Kconfig | 2 ++ drivers/crypto/n2_core.c | 33 ++--- 2 files changed, 8 insertions(+), 27 deletions(-) diff --git a/dri