<< | Thread Index | >> ]    [ << | Date Index | >> ]

To: alexej.davidov,AT,gmx,DOT,net
Subject: Re: build problems
From: Pierre POMES <ppomes,AT,reservit,DOT,com>
Date: Sat, 17 Apr 2004 04:21:52 +0200
Cc: cipe-l,AT,inka,DOT,de
In-reply-to: <200404162040.06988.alexej.davidov@gmx.net>
References: <200404162040.06988.alexej.davidov@gmx.net>

Hi,

I tried your patch and I confirm that my 2.6.4 box with this CVS patched version of cipe is able to establish a tunnel with another box running redhat 7.3 with the included rpm cipe package.

Thanks !
Pierre

Hi,

I've just checked out todays CIPE from CVS and there seem to be some
problems:

1) Makefile.CVS: it says "autoconf -l conf" ('l' as in list). This should be
"autoconf -I conf" ('I' as in India), i presume?

2) configure.in: The trick with setting the BUILD variable does not work for
my autoconf (version 2.57). That means, config.h is created in / and has to
be copied manually to the appropriate directory.

3) lebf.c: It seems that the the cryptoapi interface has changed. So
cryptoapi.h doesn't match with <linux/crypto.h> (I use kernel 2.6.5). I've
attached a little patch for lebf.c, making it work with the kernel. NB: the
patch doesn't fix cryptoapi.h, so it just works, if the kernel's cryptoapi is
used.

Kind regards
Alexej




------------------------------------------------------------------------

--- cipe-linux/cipe/lebf.c      2004-03-06 23:16:41.000000000 +0100
+++ cipe-linux-fixed/cipe/lebf.c        2004-04-16 20:04:47.000000000 +0200
@@ -46,14 +46,14 @@
    .cra_blocksize = 8,
    .cra_ctxsize = sizeof(Blowfish_Key),
    .cra_name = "cipe-le-blowfish-internal",
-    .cra_cipher = {
-    .cia_ivsize = 8,
+    .cra_u = { .cipher = {
    .cia_setkey = lebf_cra_setkey,
    .cia_encrypt = lebf_encrypt,
    .cia_decrypt = lebf_decrypt,
-    },
+    }}
};
static struct cipher_tfm LEBF_CIPHER = {
+    .cit_ivsize = 8,
    .cit_setkey = lebf_cit_setkey,
};





<< | Thread Index | >> ]    [ << | Date Index | >> ]