Re: cryptoloop 2.6: encrypting /dev/hdaX broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 22, 2003 at 11:01:33AM -0400, mike@xxxxxxxx wrote:
[..]
> Linux 2.6.0-test2-bk6's cryptoloop.  I am able to create a loopback
[..]
> Any ideas?
yeah, try again with some never snapshot, that includes the loop.c fix as below:

--- a/drivers/block/loop.c Thu Aug 7 02:25:24 2003
+++ b/drivers/block/loop.c Mon Aug 18 22:28:54 2003
@@ -513,6 +513,7 @@
 					from_bvec->bv_len, IV);
 		kunmap(from_bvec->bv_page);
 		kunmap(to_bvec->bv_page);
+		IV += from_bvec->bv_len >> 9;
 	}
 	return ret; 

regards,
-- 
Herbert Valerio Riedel       /    Phone: (EUROPE) +43-1-58801-18840
Email: hvr@xxxxxxxxxx       /    Finger hvr@xxxxxxx for GnuPG Public Key
GnuPG Key Fingerprint: 7BB9 2D6C D485 CE64 4748  5F65 4981 E064 883F 4142
-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux