All of lore.kernel.org
 help / color / mirror / Atom feed
* [v3 00/10] Support generic Luks encryption
@ 2023-12-25  5:26 Hyman Huang
  2023-12-25  5:26 ` [v3 01/10] crypto: Introduce option and structure for detached LUKS header Hyman Huang
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Hyman Huang @ 2023-12-25  5:26 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, Daniel P . Berrangé, Hanna Reitz, Eric Blake,
	Markus Armbruster, Hyman Huang

v3:
- Rebase on master
- Add a test case for detached LUKS header
- Adjust the design to honour preallocation of the payload device
- Adjust the design to honour the payload offset from the header,
  even when detached
- Support detached LUKS header creation using qemu-img
- Support detached LUKS header querying
- Do some code clean

Hyman Huang (10):
  crypto: Introduce option and structure for detached LUKS header
  crypto: Support generic LUKS encryption
  qapi: Make parameter 'file' optional for BlockdevCreateOptionsLUKS
  crypto: Introduce creation option and structure for detached LUKS
    header
  crypto: Mark the payload_offset_sector invalid for detached LUKS
    header
  block: Support detached LUKS header creation using blockdev-create
  block: Support detached LUKS header creation using qemu-img
  crypto: Introduce 'detached-header' field in QCryptoBlockInfoLUKS
  tests: Add detached LUKS header case
  MAINTAINERS: Add section "Detached LUKS header"

 MAINTAINERS                                   |   5 +
 block.c                                       |   5 +-
 block/crypto.c                                | 146 ++++++++++--
 block/crypto.h                                |   8 +
 crypto/block-luks.c                           |  49 +++-
 crypto/block.c                                |   1 +
 crypto/blockpriv.h                            |   3 +
 qapi/block-core.json                          |  14 +-
 qapi/crypto.json                              |  13 +-
 tests/qemu-iotests/210.out                    |   4 +
 tests/qemu-iotests/tests/luks-detached-header | 214 ++++++++++++++++++
 .../tests/luks-detached-header.out            |   5 +
 12 files changed, 436 insertions(+), 31 deletions(-)
 create mode 100755 tests/qemu-iotests/tests/luks-detached-header
 create mode 100644 tests/qemu-iotests/tests/luks-detached-header.out

-- 
2.39.1



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

end of thread, other threads:[~2023-12-25  5:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-25  5:26 [v3 00/10] Support generic Luks encryption Hyman Huang
2023-12-25  5:26 ` [v3 01/10] crypto: Introduce option and structure for detached LUKS header Hyman Huang
2023-12-25  5:26 ` [v3 02/10] crypto: Support generic LUKS encryption Hyman Huang
2023-12-25  5:26 ` [v3 03/10] qapi: Make parameter 'file' optional for BlockdevCreateOptionsLUKS Hyman Huang
2023-12-25  5:26 ` [v3 04/10] crypto: Introduce creation option and structure for detached LUKS header Hyman Huang
2023-12-25  5:26 ` [v3 05/10] crypto: Mark the payload_offset_sector invalid " Hyman Huang
2023-12-25  5:26 ` [v3 06/10] block: Support detached LUKS header creation using blockdev-create Hyman Huang
2023-12-25  5:26 ` [v3 07/10] block: Support detached LUKS header creation using qemu-img Hyman Huang
2023-12-25  5:26 ` [v3 08/10] crypto: Introduce 'detached-header' field in QCryptoBlockInfoLUKS Hyman Huang
2023-12-25  5:26 ` [v3 09/10] tests: Add detached LUKS header case Hyman Huang
2023-12-25  5:27 ` [v3 10/10] MAINTAINERS: Add section "Detached LUKS header" Hyman Huang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.