Linux block layer
 help / color / mirror / Atom feed
* [PATCH v3 0/3] dm-inlinecrypt: add target for inline block device encryption
@ 2026-04-30  9:52 Linlin Zhang
  2026-04-30  9:52 ` [PATCH v3 1/3] block: export blk-crypto symbols required by dm-inlinecrypt Linlin Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Linlin Zhang @ 2026-04-30  9:52 UTC (permalink / raw)
  To: linux-block, ebiggers, mpatocka, gmazyland, bmarzins
  Cc: linux-kernel, adrianvovk, dm-devel, quic_mdalam, israelr, hch,
	axboe

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 1671 bytes --]

This patch series is based on Eric’s work posted at:
https://lore.kernel.org/all/ecbb7ea8-11f6-30c1-ad77-bd984c52ca33@quicinc.com/

Eric’s patches introduce a new dm target, dm-inlinecrypt, to support inline
block-device encryption. The implementation builds on the work previously done
in Android’s dm-default-key, but intentionally drops passthrough support,
as that functionality does not appear likely to be accepted upstream in the
near future. With this limitation, dm-inlinecrypt is positioned as a
practical replacement for dm-crypt, rather than a general passthrough
mechanism.

On top of Eric’s series, keyring key support is added in dm-inlinecrypt. Thus,
both keyring key and hex key are feasible for dm-inlinecrypt. In addition,
dm-inlinecrypt.rst is added as the user-guide of dm-inlinecrypt.

V2:
https://lore.kernel.org/all/20260410134031.2880675-1-linlin.zhang@oss.qualcomm.com/

V1:
https://lore.kernel.org/all/20260304121729.1532469-1-linlin.zhang@oss.qualcomm.com/

Eric Biggers (2):
  block: export blk-crypto symbols required by dm-inlinecrypt
  dm-inlinecrypt: add target for inline block device encryption

Linlin Zhang (1):
  dm: add documentation for dm-inlinecrypt target

 .../device-mapper/dm-inlinecrypt.rst          | 123 ++++
 block/blk-crypto.c                            |   3 +
 drivers/md/Kconfig                            |  11 +
 drivers/md/Makefile                           |   1 +
 drivers/md/dm-inlinecrypt.c                   | 596 ++++++++++++++++++
 5 files changed, 734 insertions(+)
 create mode 100644 Documentation/admin-guide/device-mapper/dm-inlinecrypt.rst
 create mode 100644 drivers/md/dm-inlinecrypt.c

-- 
2.34.1


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

end of thread, other threads:[~2026-05-06 15:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30  9:52 [PATCH v3 0/3] dm-inlinecrypt: add target for inline block device encryption Linlin Zhang
2026-04-30  9:52 ` [PATCH v3 1/3] block: export blk-crypto symbols required by dm-inlinecrypt Linlin Zhang
2026-04-30  9:52 ` [PATCH v3 2/3] dm-inlinecrypt: add target for inline block device encryption Linlin Zhang
2026-04-30  9:52 ` [PATCH v3 3/3] dm: add documentation for dm-inlinecrypt target Linlin Zhang
2026-05-06 15:53 ` [PATCH v3 0/3] dm-inlinecrypt: add target for inline block device encryption Mikulas Patocka

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