From 4382e216107d2a70109424478c6b3b5bdf24b921 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Sat, 19 Mar 2011 00:17:22 +0000 Subject: [PATCH] Use plain64 IV in loopAES v1 mode. git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@475 36d66b0a-2a48-0410-832c-cd162a569da5 --- lib/loopaes/loopaes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/loopaes/loopaes.c b/lib/loopaes/loopaes.c index 94ab396..b317c8a 100644 --- a/lib/loopaes/loopaes.c +++ b/lib/loopaes/loopaes.c @@ -195,7 +195,7 @@ int LOOPAES_activate(struct crypt_device *cd, return r; if (keys_count == 1) - r = asprintf(&cipher, "%s-%s", base_cipher, "cbc-plain"); + r = asprintf(&cipher, "%s-%s", base_cipher, "cbc-plain64"); else r = asprintf(&cipher, "%s:%d-%s", base_cipher, 64, "cbc-lmk"); if (r < 0) -- 2.7.4