[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 5/6] block: convert qcrypto_block_encrypt|dec
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v4 5/6] block: convert qcrypto_block_encrypt|decrypt to take bytes offset |
Date: |
Wed, 27 Sep 2017 22:50:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 2017-09-27 14:53, Daniel P. Berrange wrote:
> Instead of sector offset, take the bytes offset when encrypting
> or decrypting data.
>
> Signed-off-by: Daniel P. Berrange <address@hidden>
> ---
> block/crypto.c | 12 ++++--------
> block/qcow.c | 11 +++++++----
> block/qcow2-cluster.c | 8 +++-----
> block/qcow2.c | 4 ++--
> crypto/block-luks.c | 12 ++++++++----
> crypto/block-qcow.c | 12 ++++++++----
> crypto/block.c | 20 ++++++++++++++------
> crypto/blockpriv.h | 4 ++--
> include/crypto/block.h | 14 ++++++++------
> 9 files changed, 56 insertions(+), 41 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v4 0/6] Misc improvements to crypto block driver, Daniel P. Berrange, 2017/09/27
- [Qemu-devel] [PATCH v4 1/6] block: use 1 MB bounce buffers for crypto instead of 16KB, Daniel P. Berrange, 2017/09/27
- [Qemu-devel] [PATCH v4 2/6] crypto: expose encryption sector size in APIs, Daniel P. Berrange, 2017/09/27
- [Qemu-devel] [PATCH v4 3/6] block: fix data type casting for crypto payload offset, Daniel P. Berrange, 2017/09/27
- [Qemu-devel] [PATCH v4 6/6] block: support passthrough of BDRV_REQ_FUA in crypto driver, Daniel P. Berrange, 2017/09/27
- [Qemu-devel] [PATCH v4 5/6] block: convert qcrypto_block_encrypt|decrypt to take bytes offset, Daniel P. Berrange, 2017/09/27
- [Qemu-devel] [PATCH v4 4/6] block: convert crypto driver to bdrv_co_preadv|pwritev, Daniel P. Berrange, 2017/09/27
- Re: [Qemu-devel] [PATCH v4 0/6] Misc improvements to crypto block driver, Max Reitz, 2017/09/27