Skip to content

Introduce bulk mode for crypto engine framework

Baolin Wang dm-devel linux-crypto linux-raid lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 22 repliesIn review
  2. v14 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Modify the sg_is_contiguous() function.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4scatterlist: Introduce some helper functionsinclude/linux/scatterlist.h lib/scatterlist.c+102 -04 replies
2/4crypto: Introduce some helper functions to help to merge requestscrypto/ablk_helper.c include/crypto/ablk_helper.h include/linux/crypto.h+143 -00 replies
3/4crypto: Introduce the bulk mode for crypto engine frameworkcrypto/Kconfig crypto/crypto_engine.c drivers/crypto/omap-aes.c +1 more+143 -50 replies
4/4md: dm-crypt: Initialize the sector number for one requestdrivers/md/dm-crypt.c+1 -00 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/4] Introduce bulk mode for crypto engine framework

Now some cipher hardware engines prefer to handle bulk block by merging requests to increase the block size and thus increase the hardware engine processing speed.

This patchset introduces request bulk mode to help the crypto hardware drivers improve in efficiency.

Changes since v1:
- Modify the sg_is_contiguous() function.

Baolin Wang (4):
scatterlist: Introduce some helper functions
crypto: Introduce some helper functions to help to merge requests
crypto: Introduce the bulk mode for crypto engine framework
md: dm-crypt: Initialize the sector number for one request

 crypto/Kconfig               |    1 +
 crypto/ablk_helper.c         |  135 ++++++++++++++++++++++++++++++++++++++++++
 crypto/crypto_engine.c       |  122 +++++++++++++++++++++++++++++++++++++-
 drivers/crypto/omap-aes.c    |    2 +-
 drivers/md/dm-crypt.c        |    1 +
 include/crypto/ablk_helper.h |    3 +
 include/crypto/algapi.h      |   23 ++++++-
 include/linux/crypto.h       |    5 ++
 include/linux/scatterlist.h  |   33 +++++++++++
 lib/scatterlist.c            |   69 +++++++++++++++++++++
 10 files changed, 389 insertions(+), 5 deletions(-)
Signature · 1 line
1.7.9.5