On Fri, 11 Jul 2003 15:46:55 +0200, Andries.Brouwer@cwi.nl said:
> Try util-linux 2.12, available in 60 hours.
(using this version from ftp.kernel.org/pub/linux/utils/util-linux:
-rw-r--r-- 1 korg korg 1285674 Jul 13 22:09 util-linux-2.12pre.tar.bz2
Umm.. OK... I'll bite. How do I get 2.12pre to actually use cryptoloop?
losetup -e aes /dev/loop yadd yadda says 'Unknown encryption type aes',
mostly because of this code in lomount.c:
struct crypt_type_struct {
int id;
char *name;
} crypt_type_tbl[] = {
{ LO_CRYPT_NONE, "no" },
{ LO_CRYPT_NONE, "none" },
{ LO_CRYPT_XOR, "xor" },
{ LO_CRYPT_DES, "DES" },
{ -1, NULL }
};
static int
crypt_type (const char *name) {
int i;
if (name) {
for (i = 0; crypt_type_tbl[i].id != -1; i++)
if (!strcasecmp (name, crypt_type_tbl[i].name))
return crypt_type_tbl[i].id;
}
return -1;
}
none, xor, DES. Those are the choices - and yes, aes.o is built and in-kernel.
This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:59 EST