[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 3/7] crypto: Modify the qcrypto_block_create to support cr
|
From: |
Daniel P . Berrangé |
|
Subject: |
Re: [PATCH v4 3/7] crypto: Modify the qcrypto_block_create to support creation flags |
|
Date: |
Wed, 31 Jan 2024 10:59:44 +0000 |
|
User-agent: |
Mutt/2.2.12 (2023-09-09) |
On Tue, Jan 30, 2024 at 01:37:21PM +0800, yong.huang@smartx.com wrote:
> From: Hyman Huang <yong.huang@smartx.com>
>
> Expand the signature of qcrypto_block_create to enable the
> formation of LUKS volumes with detachable headers. To accomplish
> that, introduce QCryptoBlockCreateFlags to instruct the creation
> process to set the payload_offset_sector to 0.
>
> Signed-off-by: Hyman Huang <yong.huang@smartx.com>
> ---
> block/crypto.c | 1 +
> block/qcow.c | 2 +-
> block/qcow2.c | 2 +-
> crypto/block-luks.c | 28 +++++++++++++++++++++-------
> crypto/block.c | 4 +++-
> crypto/blockpriv.h | 2 ++
> include/crypto/block.h | 11 +++++++++++
> tests/unit/test-crypto-block.c | 2 ++
> 8 files changed, 42 insertions(+), 10 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v4 0/7] Support generic Luks encryption, yong . huang, 2024/01/30
- [PATCH v4 1/7] crypto: Support LUKS volume with detached header, yong . huang, 2024/01/30
- [PATCH v4 2/7] qapi: Make parameter 'file' optional for BlockdevCreateOptionsLUKS, yong . huang, 2024/01/30
- [PATCH v4 3/7] crypto: Modify the qcrypto_block_create to support creation flags, yong . huang, 2024/01/30
- Re: [PATCH v4 3/7] crypto: Modify the qcrypto_block_create to support creation flags,
Daniel P . Berrangé <=
- [PATCH v4 4/7] block: Support detached LUKS header creation using blockdev-create, yong . huang, 2024/01/30
- [PATCH v4 5/7] block: Support detached LUKS header creation using qemu-img, yong . huang, 2024/01/30
- [PATCH v4 6/7] crypto: Introduce 'detached-header' field in QCryptoBlockInfoLUKS, yong . huang, 2024/01/30
- [PATCH v4 7/7] tests: Add case for LUKS volume with detached header, yong . huang, 2024/01/30