Skip to content

Implementation of an async interface for sha1-mb

Megha Dey linux-crypto lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

rename shash_ahash_mcryptd* functions to ahash_mcryptd_* removed the export_symbols for the shash_ahash_mcryptd_* functions use ahash_interfaces instead of touching the crypto_ahash_request directly

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: sha1-mb - stylistic cleanuparch/x86/crypto/sha-mb/sha1_mb.c+74 -361 reply
2/2crypto : async implementation for sha1-mbarch/x86/crypto/sha-mb/sha1_mb.c crypto/ahash.c crypto/mcryptd.c +3 more+193 -1642 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/2] Implementation of an async interface for sha1-mb

From: Megha Dey <[email protected]>

Currently, sha1-mb uses an async interface for the outer algorithm and a sync interface for the inner algorithm.
Herbert wants the sha1-mb algorithm to have an async implementation:
https://lkml.org/lkml/2016/4/5/286.
This patch introduces a async interface for even the inner algorithm. Additionally, there are several checkpatch warnings in the sha1_mb.c file:
'WARNING: line over 80 characters' in the sha1_mb.c file. Also, the syntax of some multi-line comments are not correct. This patchset fixes these issues.

changes V1->V2
rename shash_ahash_mcryptd* functions to ahash_mcryptd_* removed the export_symbols for the shash_ahash_mcryptd_* functions use ahash_interfaces instead of touching the crypto_ahash_request directly

Megha Dey (2):
crypto: sha1-mb - stylistic cleanup
crypto : async implementation for sha1-mb

 arch/x86/crypto/sha-mb/sha1_mb.c | 292 ++++++++++++++++++++++++---------------
 crypto/ahash.c                   |   6 -
 crypto/mcryptd.c                 | 131 +++++++++---------
 include/crypto/hash.h            |   6 +
 include/crypto/internal/hash.h   |  16 +--
 include/crypto/mcryptd.h         |   8 +-
 6 files changed, 263 insertions(+), 196 deletions(-)
Signature · 1 line
1.9.1