Re: Tinkering....

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

 



Thanks for the help.

Midstream...as I work on util-linux....

1 fish, 2 fish, FISH2, TWOFISH, DUMMY ?

>From linux/cypto.h:

What is CIPHER_FISH2 and what is CIPHER_TWOFISH?
Are they the same, like CIPHER_AES and CIPHER_RIJNDAEL are?

#define CIPHER_NONE     0
#define CIPHER_XOR      1
#define CIPHER_DES      2
#define CIPHER_FISH2    3
#define CIPHER_BLOWFISH 4
#define CIPHER_CAST128  5
#define CIPHER_IDEA     6
#define CIPHER_SERPENT  7
#define CIPHER_MARS     8
#define CIPHER_TWOFISH  9
#define CIPHER_SKIPJACK 10
#define CIPHER_RC6      11
#define CIPHER_DES_EDE3 12
#define CIPHER_E2       13
#define CIPHER_CAST256  14
#define CIPHER_DFC      15
#define CIPHER_RIJNDAEL 16
#define CIPHER_RC5      17
#define CIPHER_AES      18
#define MAX_CIPHER      20
#define CIPHER_CBC    0x00010000

And then from linux/loop.h, 9 is DUMMY and 18 (AES) is not listed:

#define LO_CRYPT_NONE     0
#define LO_CRYPT_XOR      1
#define LO_CRYPT_DES      2
#define LO_CRYPT_FISH2    3
#define LO_CRYPT_BLOW     4
#define LO_CRYPT_CAST128  5
#define LO_CRYPT_IDEA     6
#define LO_CRYPT_SERPENT  7
#define LO_CRYPT_MARS     8
#define LO_CRYPT_DUMMY    9
#define LO_CRYPT_SKIPJACK 10
#define LO_CRYPT_RC6      11
#define LO_CRYPT_DES_EDE3 12
#define LO_CRYPT_E2       13
#define LO_CRYPT_CAST256  14
#define LO_CRYPT_DFC      15
#define LO_CRYPT_RIJNDAEL 16
#define LO_CRYPT_RC5      17
#define MAX_LO_CRYPT    20

DUMMY does not look appetizing, but the module name is twofish.o, not
fish2.o

Currently lomount.c uses LO_CRYPT_FISH2, but that fails, so perhaps I
will try DUMMY...

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