On Mon, 2014-06-16 at 17:57 +0300, Eli Zaretskii wrote:
As the ABI broke anyway in 3.0, would it make sense to merge the nettle and hogweed libraries? Hogweed cannot be used without linking to libnettle, thus the advantage of the current split is only to applications that only use libnettle. Nevertheless, I don't think there are such applications.
Hogweed needs GMP, so if someone doesn't want to depend on it, they cannot build hogweed. Of course, if the merged library will build even when GMP is not present, just without some APIs, that's fine too.
There is a patch to use hogweed even without gmp, and is currently part of the openwrt nettle (2.7.1) package, thus one could avoid that dependency altogether and still have (slow) public key support.
regards, Nikos