Skip to content

RFC Add inline encryption support for dm-crypt

Israel Rukshin dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1dm crypt: Add inline encryption supportblock/blk-crypto.c drivers/md/dm-crypt.c+180 -253 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [dm-devel] [RFC PATCH 0/1] Add inline encryption support for dm-crypt

Hi,

I am working to add support for inline encryption/decryption at storage protocols like nvmf over RDMA. The HW that I am working with is ConnecX-6 Dx, which supports inline crypto and can send the data on the fabric at the same time.

This patchset is based on v5.16-rc4 with Eric Biggers patches of the HW wrapped keys.
It can be retrieved from branch "wip-wrapped-keys" at
https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git

I tested this patch with modified nvme-rdma as the block device and created a DM crypt on top of it. I got performance enhancement compared to SW crypto. I tested the HW wrapped inline mode with the HW and the standard mode with a fallback algorithm.

Israel Rukshin (1):
dm crypt: Add inline encryption support

 block/blk-crypto.c    |   3 +
 drivers/md/dm-crypt.c | 202 ++++++++++++++++++++++++++++++++++++------
 2 files changed, 180 insertions(+), 25 deletions(-)
Signature · 6 lines
2.27.0

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel