DES code in the kernel

Kernel Mailing List (
Mon, 15 Jul 1996 22:53:54 -0700 (PDT)

I recently desired to set up an encrypted file system in a file via the
loop device. I downloaded the package des.1.tar.gz and followed the
instructions for installing it in my 2.0.0 kernel including touching the
files mentioned (des.c and des.h) problem is it doesn't compilein, I took
a look back at des.c and saw that it did not have a des.o file after
building so I added des.o to the list of object files to link into
kernel.o in the kernel dirctories Makefile. This time remaking the kernel
generated a .o file in that directory however attempting to execute
something like:

losetup -e des /dev/loop0 test
on a 1 meg file called test full of nulls gives:
Init (up to 16 hex digits):
ioctl: LOOP_SET_STATUS: Invalid argument

i enter the password and initialization digits but no banana. The same
procedure without -e des works (of course the file system is not block
ciphered like I'd like it)