lkml.org 
[lkml]   [2006]   [Sep]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateWed, 6 Sep 2006 16:15:53 +1000
SubjectRe: 2.6.18-rc4-mm3 crypto issues with encrypted disks
FromHerbert Xu <>
On Mon, Sep 04, 2006 at 04:02:28PM +0000, Valdis.Kletnieks@vt.edu wrote:
> Sorry for not catching this one earlier..  Sometime between 2.6.18-rc4-mm2
> and -mm3, something crept into the git-cryptodev.patch that breaks mounting
> encrypted disks.  What I have in /etc/fstab:
Thanks for the report!  I set the wrong default when I changed the
cryptoloop init code.  This patch should fix the problem.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
diff --git a/drivers/block/cryptoloop.c b/drivers/block/cryptoloop.c
index c6bbdbe..4053503 100644
--- a/drivers/block/cryptoloop.c
+++ b/drivers/block/cryptoloop.c
@@ -67,7 +67,7 @@ cryptoloop_init(struct loop_device *lo, 
 	}
 
 	if (!mode_len) {
-		mode = "ecb";
+		mode = "cbc";
 		mode_len = 3;
 	}
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-09-06 06:19    [W:0.358 / U:0.010 seconds]
©2003-2008 Jasper Spaans