qcow2: make qcow2_encrypt_sectors encrypt in place
Instead of requiring separate input/output buffers for encrypting data, change qcow2_encrypt_sectors() to assume use of a single buffer, encrypting in place. The current callers all used the same buffer for input/output already. Signed-off-by:Daniel P. Berrange <berrange@redhat.com> Message-id: 20170623162419.26068-11-berrange@redhat.com Reviewed-by:
Alberto Garcia <berto@igalia.com> Signed-off-by:
Max Reitz <mreitz@redhat.com>
Loading
Please register or sign in to comment