I just checked in nettle.pc.in and hogweed.pc.in. configure then
generates nettle.pc and hogweed.pc, for use wiith pkg-config.
I don't have any previous experience with pkg-config, so comments are
much appreciated.
Not yet any make rules to install them. I don't know if installation
should be unconditional, or if one should first check, somehow, if
pkg-config is installed. (And then hogweed.pc should be installed only if the
hogweed library is built and installed).
Apparantly, at least one user wants pkg-config support, see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634294
Regards,
/Niels
--
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
I'm working towards adding ECDH and ECDSA support to gnutls.
I've currently ported libtomcrypt to use gmp directly and nettle's
types. The code is under development, and can be found at:
http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=tree;f=lib/nettle;h=23d9…
The ECC functionality is confined to the ecc* files. It would be nice if
nettle included it or something similar.
btw. Is there any plan on an 2.2 release?
regards,
Nikos
I'm happy to announce a new version of GNU Nettle, a low-level
cryptographic library. Unlike earlier releases, nettle is now licenced
under the LGPL, rather then the GPL. The nettle home page can be found
at http://www.lysator.liu.se/~nisse/nettle/
NEWS for the 2.2 release
Licensing change:
* Relicensed as LGPL v2.1 or later (user's option).
* Replaced blowfish and serpent implementation. New code is
based on the LGPLed code in libgcrypt.
New features:
* Support for Galois/Counter Mode (GCM).
* New interface for enumerating (most) available algorithms,
contributed by Daniel Kahn Gillmor.
* New tool nettle-hash. Can generate hash digests using any
supported hash function, with output compatible with md5sum
and friends from GNU coreutils. Checking (like md5sum -c)
not yet implemented.
Bug fixes:
* The old serpent code had a byte order bug (introduced by
yours truly about ten years ago). New serpent implementation
does not interoperate with earlier versions of nettle.
* Fixed ABI-dependent libdir default for Linux-based systems
which do not follow the Linux File Hierarchy Standard, e.g.,
Debian GNU/Linux.
Optimizations:
* x86_64 implemention of serpent.
* x86_64 implemention of camellia.
* Optimized memxor using word rather than byte operations.
Both generic C and x86_64 assembler.
* Eliminated a memcpy for in-place CBC decrypt.
Miscellaneous:
* In command line tools, no longer support -? for requesting
help, since using it without shell quoting is a dangerous
habit. Use long option --help instead.
The shared library names are libnettle.so.4.1 and
libhogweed.so.2.1, with sonames libnettle.so.4 and
libhogweed.so.2.
Available at
http://www.lysator.liu.se/~nisse/archive/nettle-2.2.tar.gzftp://ftp.gnu.org/gnu/nettle/nettle-2.2.tar.gz
Happy hacking,
/Niels Möller
--
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
Hello Niels,
nettle-stdint.h conflicts with gnulib's stdint.h on solaris. Is there
any real reason for nettle to define the uint_t types in the exported
API? Even if it wasn't for gnulib I would expect most applications
to define those types if not available, thus a conflict would anyway occur.
---------- Forwarded message ----------
From: Dagobert Michelsen <dam(a)opencsw.org>
Date: Wed, Jun 29, 2011 at 5:10 PM
Subject: Problem compiling gnutls 2.12.7 on Solaris 9
To: gnutls-devel(a)gnu.org
Hi,
I am trying to compile gnutls 2.12.7 with libnettle 2.1 on Solaris 9 Sparc with
Sun Studio 12 and get the following error:
gmake[6]: Entering directory
`/home/dam/mgar/pkg/gnutls/trunk/work/solaris9-sparc/build-isa-sparcv8/gnutls-2.12.7/lib/nettle'
CC pk.lo
"/opt/csw/include/nettle/nettle-stdint.h", line 237: identifier
redeclared: gl_int_fast8_t
current : signed char
previous: long : "./../gl/stdint.h", line 241
"/opt/csw/include/nettle/nettle-stdint.h", line 238: warning:
modification of typedef with "int" ignored
"/opt/csw/include/nettle/nettle-stdint.h", line 238: identifier
redeclared: gl_int_fast16_t
current : int
previous: long : "./../gl/stdint.h", line 243
"/opt/csw/include/nettle/nettle-stdint.h", line 239: warning:
modification of typedef with "int" ignored
"/opt/csw/include/nettle/nettle-stdint.h", line 239: identifier
redeclared: gl_int_fast32_t
current : int
previous: long : "./../gl/stdint.h", line 245
"/opt/csw/include/nettle/nettle-stdint.h", line 241: warning: typedef
redeclared: int64_t
"/opt/csw/include/nettle/nettle-stdint.h", line 244: identifier
redeclared: gl_uint_fast8_t
current : unsigned char
previous: unsigned long : "./../gl/stdint.h", line 242
"/opt/csw/include/nettle/nettle-stdint.h", line 245: identifier
redeclared: gl_uint_fast16_t
current : unsigned int
previous: unsigned long : "./../gl/stdint.h", line 244
"/opt/csw/include/nettle/nettle-stdint.h", line 246: identifier
redeclared: gl_uint_fast32_t
current : unsigned int
previous: unsigned long : "./../gl/stdint.h", line 246
"/opt/csw/include/nettle/nettle-stdint.h", line 248: warning: typedef
redeclared: uint64_t
cc: acomp failed for pk.c
It looks like a gnulib incompatibility.
Best regards
-- Dago
--
"You don't become great by trying to be great, you become great by
wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
_______________________________________________
Gnutls-devel mailing list
Gnutls-devel(a)gnu.org
https://lists.gnu.org/mailman/listinfo/gnutls-devel