[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 2/7] crypto: expose encryption sector size in
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v3 2/7] crypto: expose encryption sector size in APIs |
Date: |
Mon, 18 Sep 2017 08:53:22 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 09/12/2017 06:28 AM, Daniel P. Berrange wrote:
> While current encryption schemes all have a fixed sector size of
> 512 bytes, this is not guaranteed to be the case in future. Expose
> the sector size in the APIs so the block layer can remove assumptions
> about fixed 512 byte sectors.
>
> Signed-off-by: Daniel P. Berrange <address@hidden>
> ---
> crypto/block-luks.c | 6 ++++--
> crypto/block-qcow.c | 1 +
> crypto/block.c | 6 ++++++
> crypto/blockpriv.h | 1 +
> include/crypto/block.h | 15 +++++++++++++++
> 5 files changed, 27 insertions(+), 2 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v3 0/7] Misc improvements to crypto block driver, Daniel P. Berrange, 2017/09/12
- [Qemu-devel] [PATCH v3 2/7] crypto: expose encryption sector size in APIs, Daniel P. Berrange, 2017/09/12
- [Qemu-devel] [PATCH v3 3/7] block: fix data type casting for crypto payload offset, Daniel P. Berrange, 2017/09/12
- [Qemu-devel] [PATCH v3 1/7] block: use 1 MB bounce buffers for crypto instead of 16KB, Daniel P. Berrange, 2017/09/12
- [Qemu-devel] [PATCH v3 4/7] block: don't use constant 512 as sector size in crypto driver, Daniel P. Berrange, 2017/09/12
- [Qemu-devel] [PATCH v3 5/7] block: convert crypto driver to bdrv_co_preadv|pwritev, Daniel P. Berrange, 2017/09/12