[Top][All Lists]

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

Camellia block cipher don't work on current developers' releases 2.3.x.

From: Yoshisato YANAGISAWA
Subject: Camellia block cipher don't work on current developers' releases 2.3.x.
Date: Tue, 29 Apr 2008 18:19:05 +0900
User-agent: Thunderbird (Windows/20080213)


I noticed two problems that prevent camellia block cipher working.
One problem is that it becomes invalid cipher even with camellia-enabled
gnutls.  To repeat the problem, just you execute gnutls-cli with:
% gnutls-cli --ciphers camellia -p 5556
You will see following error:
| *** Fatal error: GnuTLS internal error.
| *** Handshake has failed
| GNUTLS ERROR: GnuTLS internal error.
It is cauesd by a bug in lgl/gc-libgcrypt.c.

I put the patch to fix the problem:

The other problem is that camellia block cipher is disabled by configure
script even if the user using libgcrypt with camellia block cipher and
configured with --enable-camellia option.  You can repeat the problem by
installing libgcrypt to no default directory such as /tmp/test, and then
pointing the directory with --with-libgcrypt-prefix=/tmp/test as option
of the configure script.

I found the workaround to avoid the problem.  It is just set
CFLAGS="`/tmp/test/bin/libgcrypt-config --cflags`" before executing
configure script.
However, is this right way to avoid the problem?  I suppose that this
kind of CFLAGS settings should be done inside configure script.

Yoshisato Yanagisawa.

Yoshisato Yanagisawa (Dr.Sc.) <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]