Re: huge problems with cryptoloop...

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

 



Steve Wray wrote:
> 1. am I going to need a patched losetup? The one on mandrake 9.
> doesn't seem to like the -I option.
> The one that comes with Mandrake 9 is;
> losetup-2.11u-1mdk

That version is intended to be used with loop-AES versions v1.7b or later,
but it should work ok with older versions too. Some losetup/mount options
may be missing from Mandrake shipped losetup/mount. "make tests" requires -I
option so that will not work with that Mandrake losetup. OK, so don't run
"make tests", or apply included patch and then run "make tests".

> 2. I don't think that running 'make' should do any installation
> work... 'make install' after 'make' is preferable.

Yes, "make install" would be better. However, there was a problem getting
all supported kernel Makefiles to jump back to build directory with correct
make definitions. If I remember correctly, 2.2.x kernels were the troubled
ones. It made more sense to make all behave the same way.

Regards,
Jari Ruusu <jari.ruusu@xxxxxxxxxx>


--- Makefile.old	Fri Jan 17 17:50:29 2003
+++ Makefile	Sun Mar 16 19:01:17 2003
@@ -126,31 +126,22 @@
 	make test-part2 CT=twofish128 LOINIT=0 MD=1bbe4e390506e708069908488aef6b89
 	make test-part2 CT=twofish192 LOINIT=0 MD=f559e00063037915f6954bfadbc69895
 	make test-part2 CT=twofish256 LOINIT=0 MD=a723114923e3a47a38dc24d9a254514a
-	make test-part2 CT=twofish128 LOINIT=1 MD=170c0a2beb5b4c89134f33ccb091a007
-	make test-part2 CT=twofish192 LOINIT=1 MD=0b60d13abd281d614ecee0bc4c900093
-	make test-part2 CT=twofish256 LOINIT=1 MD=745b32fcb8dc700d26134d4fa8785063
 	modprobe loop_serpent
 	make test-part2 CT=serpent128 LOINIT=0 MD=b650d1b582e406907ce6e5ebf31e9c94
 	make test-part2 CT=serpent192 LOINIT=0 MD=883ca73b8454968860b4f1400acc2c51
 	make test-part2 CT=serpent256 LOINIT=0 MD=4eea7d7e4115de8ced74db11cd5098b7
-	make test-part2 CT=serpent128 LOINIT=1 MD=ca1e8d1d69f6cb6e925f460209f4ef3e
-	make test-part2 CT=serpent192 LOINIT=1 MD=986744ffa90f742a18de11d12ba0df8c
-	make test-part2 CT=serpent256 LOINIT=1 MD=0d95a28ce0dce2a7732bf4c3cf647058
 	modprobe loop_blowfish
 	make test-part2 CT=blowfish128 LOINIT=0 MD=588b29ee55b8a608a69364d749d4df39
 	make test-part2 CT=blowfish192 LOINIT=0 MD=a0cc2776d49b9cce019041cf829b1f18
 	make test-part2 CT=blowfish256 LOINIT=0 MD=c854e1cac80e0a94505b65031b2cb426
-	make test-part2 CT=blowfish128 LOINIT=1 MD=cb93ab6a0f8d9f58b4e4ab6ec5e271b3
-	make test-part2 CT=blowfish192 LOINIT=1 MD=ae35ed6ae17c554546facf4477baf4be
-	make test-part2 CT=blowfish256 LOINIT=1 MD=9f86ad1bd89ae7ccb9ed4d5e5661e059
 	rm -f test-file[1234]
 	@echo "*** Test results ok ***"
 
 test-part2:
-	echo 12345678901234567890 | losetup -p 0 -e $(CT) -I $(LOINIT) $(TLD) test-file1
+	echo 12345678901234567890 | losetup -p 0 -e $(CT) $(TLD) test-file1
 	dd if=/dev/zero of=$(TLD) bs=1024 count=10 conv=notrunc
 	losetup -d $(TLD)
-	echo 12345678901234567890 | losetup -p 0 -e $(CT) -I $(LOINIT) $(TLD) test-file1
+	echo 12345678901234567890 | losetup -p 0 -e $(CT) $(TLD) test-file1
 	dd if=$(TLD) of=test-file4 bs=10240 count=1
 	losetup -d $(TLD)
 	md5sum test-file1 >test-file2

-
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