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


Groups > linux.kernel > #1293856

[PATCH v4 0/4] crypto: add precalculated hash for zero message length

From LABBE Corentin <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v4 0/4] crypto: add precalculated hash for zero message length
Date 2015-12-17 13:50 +0100
Message-ID <qGGal-7Vm-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello

Some crypto drivers cannot process empty data message and so rely on
precalculated hash.
This patch series add precalculated hash in headers and
make the drivers use them.

Changes since v3
- Added missing Kconfig depends on SHA256

Changes since v2
- Added missing Kconfig depends on MD5/SHA1

Changes since v1
- Moved arrays from headers to c file and made them EXPORT.

LABBE Corentin (4):
  crypto: hash: add zero length message hash for shax and md5
  crypto: niagara: Use precalculated hash from headers
  crypto: ccp: Use precalculated hash from headers
  crypto: ux500: Use precalculated hash from headers

 crypto/md5.c                          |  6 ++++++
 crypto/sha1_generic.c                 |  7 +++++++
 crypto/sha256_generic.c               | 16 ++++++++++++++
 drivers/crypto/Kconfig                |  3 +++
 drivers/crypto/ccp/Kconfig            |  2 ++
 drivers/crypto/ccp/ccp-ops.c          | 39 +++++++----------------------------
 drivers/crypto/n2_core.c              | 33 ++++++-----------------------
 drivers/crypto/ux500/Kconfig          |  2 ++
 drivers/crypto/ux500/hash/hash_core.c | 20 ++----------------
 include/crypto/md5.h                  |  2 ++
 include/crypto/sha.h                  |  6 ++++++
 11 files changed, 60 insertions(+), 76 deletions(-)

-- 
2.4.10

--
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 | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/4] crypto: add precalculated hash for zero message length LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-17 13:50 +0100
  [PATCH v4 2/4] crypto: niagara: Use precalculated hash from headers LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-17 13:50 +0100
  [PATCH v4 3/4] crypto: ccp: Use precalculated hash from headers LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-17 13:50 +0100
  [PATCH v4 1/4] crypto: hash: add zero length message hash for shax and md5 LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-17 13:50 +0100
  [PATCH v4 4/4] crypto: ux500: Use precalculated hash from headers LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-17 13:50 +0100
  Re: [PATCH v4 0/4] crypto: add precalculated hash for zero message  length Herbert Xu <herbert@gondor.apana.org.au> - 2015-12-22 14:30 +0100

csiph-web