[dm-devel] [PATCH 2/2] fix IV type in dm-crypt status method

Christophe Saout christophe at saout.de
Tue Feb 10 12:26:20 UTC 2004


Fix IV type returnd in status method.

[Christophe Saout]
--- linux.orig/drivers/md/dm-crypt.c	2004-02-10 18:12:15.646561920 +0100
+++ linux/drivers/md/dm-crypt.c	2004-02-10 18:12:39.659911336 +0100
@@ -715,7 +715,7 @@
 
 		switch(cc->tfm->crt_u.cipher.cit_mode) {
 		case CRYPTO_TFM_MODE_CBC:
-			mode = "cbc";
+			mode = "plain";
 			break;
 		case CRYPTO_TFM_MODE_ECB:
 			mode = "ecb";




More information about the dm-devel mailing list