Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH v3 0/4] crypto: add precalculated hash for zero message length
@ 2015-12-15 13:00 LABBE Corentin
  2015-12-15 13:00 ` [PATCH v3 1/4] crypto: hash: add zero length message hash for shax and md5 LABBE Corentin
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: LABBE Corentin @ 2015-12-15 13:00 UTC (permalink / raw)
  To: clabbe.montjoie, davem, geert+renesas, herbert, luis,
	maxime.ripard, thomas.lendacky, vinod.koul
  Cc: linux-crypto, linux-kernel

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 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                |  2 ++
 drivers/crypto/ccp/Kconfig            |  2 ++
 drivers/crypto/ccp/ccp-ops.c          | 39 +++++++----------------------------
 drivers/crypto/n2_core.c              | 33 ++++++-----------------------
 drivers/crypto/ux500/Kconfig          |  1 +
 drivers/crypto/ux500/hash/hash_core.c | 20 ++----------------
 include/crypto/md5.h                  |  2 ++
 include/crypto/sha.h                  |  6 ++++++
 11 files changed, 58 insertions(+), 76 deletions(-)

-- 
2.4.10

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-17  8:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15 13:00 [PATCH v3 0/4] crypto: add precalculated hash for zero message length LABBE Corentin
2015-12-15 13:00 ` [PATCH v3 1/4] crypto: hash: add zero length message hash for shax and md5 LABBE Corentin
2015-12-15 13:00 ` [PATCH v3 2/4] crypto: niagara: Use precalculated hash from headers LABBE Corentin
2015-12-17  8:40   ` Herbert Xu
2015-12-17  8:48     ` LABBE Corentin
2015-12-17  8:51       ` Herbert Xu
2015-12-15 13:00 ` [PATCH v3 3/4] crypto: ccp: " LABBE Corentin
2015-12-15 13:00 ` [PATCH v3 4/4] crypto: ux500: " LABBE Corentin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox