Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1293680

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

From LABBE Corentin <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 2/4] crypto: niagara: Use precalculated hash from headers
Date 2015-12-17 09:50 +0100
Message-ID <qGCq7-5pv-25@gated-at.bofh.it> (permalink)
References <qFXwC-4x8-19@gated-at.bofh.it> <qFXwE-4x8-65@gated-at.bofh.it> <qGCq7-5pv-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <clabbe.montjoie@gmail.com>
> > ---
> >  drivers/crypto/Kconfig   |  2 ++
> >  drivers/crypto/n2_core.c | 33 ++++++---------------------------
> >  2 files changed, 8 insertions(+), 27 deletions(-)
> > 
> > diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
> > index b9ec295..dea754b 100644
> > --- a/drivers/crypto/Kconfig
> > +++ b/drivers/crypto/Kconfig
> > @@ -194,6 +194,8 @@ config CRYPTO_DEV_NIAGARA2
> >         select CRYPTO_DES
> >         select CRYPTO_BLKCIPHER
> >         select CRYPTO_HASH
> > +       select CRYPTO_MD5
> > +       select CRYPTO_SHA1
> 
> Don't we need CRYPTO_SHA256 as well?
> 
> Thanks,

Hello

You are right, I missed it also in ccp/ux500.

Regards

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] crypto: add precalculated hash for zero message length LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-15 14:10 +0100
  [PATCH v3 4/4] crypto: ux500: Use precalculated hash from headers LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-15 14:10 +0100
  [PATCH v3 2/4] crypto: niagara: Use precalculated hash from headers LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-15 14:10 +0100
    Re: [PATCH v3 2/4] crypto: niagara: Use precalculated hash from  headers LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-17 09:50 +0100
      Re: [PATCH v3 2/4] crypto: niagara: Use precalculated hash from  headers Herbert Xu <herbert@gondor.apana.org.au> - 2015-12-17 10:00 +0100
    Re: [PATCH v3 2/4] crypto: niagara: Use precalculated hash from  headers Herbert Xu <herbert@gondor.apana.org.au> - 2015-12-17 09:50 +0100

csiph-web