Re: build problems

Pierre POMES <[email protected]> Sat, 17 Apr 2004 04:21:52 +0200
Newsgroups gmane.comp.encryption.cipe
Message-ID <[email protected]>
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,
> };
> 
>  
>



--
Message sent by the [email protected] mailing list.
Unsubscribe: mail [email protected], "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>