Re: [Qemu-devel] [PATCH v5 08/18] qcow: make encrypt_sectors encrypt in place

2017-02-23 Thread Kevin Wolf
Am 21.02.2017 um 12:55 hat Daniel P. Berrange geschrieben: > Instead of requiring separate input/output buffers for > encrypting data, change encrypt_sectors() to assume > use of a single buffer, encrypting in place. One current > caller uses the same buffer for input/output already > and the

[Qemu-devel] [PATCH v5 08/18] qcow: make encrypt_sectors encrypt in place

2017-02-21 Thread Daniel P. Berrange
Instead of requiring separate input/output buffers for encrypting data, change encrypt_sectors() to assume use of a single buffer, encrypting in place. One current caller uses the same buffer for input/output already and the other two callers are easily converted to do so. Reviewed-by: Alberto