Hi,
I now literally read every single thread about crypto api in all Linux/Slackware forums I know, but still, IT DOESN'T WORK
When I try to create an encrypted partition I get this error after entering a password:
ioctl: LOOP_SET_STATUS: Invalid argument
I'm using Kernel 2.4.22 and want to encrypt partitions. From what I've read, 2.4.22 has built-in crypto api support, but lacks cryptoloop. Ok, following this Thread (linuxquestions.org/questions/showthread.php?s=&threadid=113905), I downloaded and applied this patch: kernel.org/pub/linux/kernel/people/hvr/testing/patch-cryptoloop-jari-2.4.22.0
After doing that I compiled a new kernel, but that was hopeless as I realized 30 minutes later. When going through the "make menuconfig" options, there is no new option for cryptoloop, but I guess there should be one. These are my options in .config:
#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=y
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_TEST=m
There SHOULD also be these options, but they aren't there:
CONFIG_CRYPTO=y
CONFIG_CRYPTODEV=y
CONFIG_CRYPTOLOOP=y
CONFIG_CRYPTOLOOP_ATOMIC=y
WTF?! I mean, what the hell am I doing wrong?!?
The patch's purpose is to add cryptoloop, so why's it not there? I applied the patch like that:
cat patch-cryptoloop-jari-2.4.22.0 | patch -p1
I'm really stuck, ANY help is greatly appreciated