Block layer patches for 2.4.0-rc2
[Qemu-devel] [PULL 1/1] crypto: Fix aes_decrypt_wrapper()
In reply to Kevin WolfCommit d3462e3 broke qcow2's encryption functionality by using encrypt instead of decrypt in the wrapper function it introduces. This was found by qemu-iotests case 134.
--- crypto/cipher-nettle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/cipher-nettle.c +1 -1
@@ -47,7 +47,7 @@ static void aes_encrypt_wrapper(cipher_ctx_t ctx, cipher_length_t length,static void aes_decrypt_wrapper (cipher_ctx_t ctx,cipher_length_t length,uint8_t *dst,const uint8_t *src) { -aes_encrypt (ctx, length, dst, src); +aes_decrypt (ctx, length, dst, src); } static void des_encrypt_wrapper(cipher_ctx_t ctx, cipher_length_t length,
Signature · 1 line
1.8.3.1
The following changes since commit 71358470eec668f5dc53def25e585ce250cea9bf:
Merge remote-tracking branch 'remotes/amit-virtio-rng/tags/vrng-2.4' into staging (2015-07-17 15:22:45 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git tags/for-upstream
for you to fetch changes up to bd09594603f1498e7623f0030988b62e2052f7da:
crypto: Fix aes_decrypt_wrapper() (2015-07-20 13:35:45 +0200)
----------------------------------------------------------------
Block layer patches for 2.4.0-rc2
----------------------------------------------------------------
Kevin Wolf (1):
crypto: Fix aes_decrypt_wrapper()
crypto/cipher-nettle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Peter Maydell
AppliedQuoted 9 lines · Kevin Wolf
The following changes since commit
71358470eec668f5dc53def25e585ce250cea9bf:Merge remote-tracking branch 'remotes/amit-virtio-rng/tags/vrng-2.4' into staging (2015-07-17 15:22:45 +0100)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.gittags/for-upstream
Quoted 8 lines
for you to fetch changes up to
bd09594603f1498e7623f0030988b62e2052f7da:crypto: Fix
aes_decrypt_wrapper()(2015-07-20 13:35:45 +0200)----------------------------------------------------------------
Block layer patches for 2.4.0-rc2----------------------------------------------------------------
Applied, thanks.
-- PMM