Skip to contentSkip to conversation

DES encryption in loop device (kernel 2.2.1)

DISCUSSION [email protected] 2 participants 2 messages Jan 31, 1999

lore
Share & tools
lore
#0 lore raw

In trying to DES encrypt a loop mounted ext2 file system, I get the following errors:

losetup -e des /dev/loop4 MYFILE3
Password: xxxxxxxxxxxxxxx
Init (up to 16 hex digits): xxxxxxxxxxxxx
ioctl: LOOP_SET_STATUS: Invalid argument

Using XOR works but we all know XOR isn't secure. Is there a patch to fix this?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Followup to:  <[email protected]>
By author:    [email protected]
In newsgroup: linux.dev.kernel
Quoted 4 lines

In trying to DES encrypt a loop mounted ext2 file system, I get the following errors:

Quoted 8 lines

losetup -e des /dev/loop4 MYFILE3
Password: xxxxxxxxxxxxxxx
Init (up to 16 hex digits): xxxxxxxxxxxxx
ioctl: LOOP_SET_STATUS: Invalid argument

Using XOR works but we all know XOR isn't secure. Is there a patch to fix this?

Have you included the international kernel patch from kerneli.org? Otherwise, you're getting a crypto-less kernel.

-hpa

Signature · 9 lines
"Linux is a very complete and sophisticated operating system.  There
are, and will be, large numbers of applications available for it."
    -- Paul Maritz, Group Vice President for Platforms And Applications,
       Microsoft Corporation [Reference at: http://www.kernel.org/~hpa/ms.html]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/