]> the.earth.li Git - onak.git/commit
Use nettle for hashing when available rather than internal MD5/SHA1 routines
authorJonathan McDowell <noodles@earth.li>
Tue, 18 Oct 2011 14:20:43 +0000 (07:20 -0700)
committerJonathan McDowell <noodles@earth.li>
Tue, 18 Oct 2011 14:20:43 +0000 (07:20 -0700)
commit4860ab5af538fd20c7e92e01b883dbbc556863a5
treefc657d1499da5da956d91fce775f766df234e6fa
parenta241edc87bed49d6bc5dc3c4c99786a921ae7c8a
Use nettle for hashing when available rather than internal MD5/SHA1 routines

  Change the internal MD5/SHA1 routines to match nettle's name and
  calling convention and add suitable autoconf bits to auto-select
  nettle if it's available, otherwise fall back to the internal
  routines as usual.

  Not so much of an issue for MD5/SHA1 (though we might end up with
  more optimised routines in some instances), but allows easier use
  of other hashing/crypto functions in the future.
Makefile.in
configure.ac
debian/control
keyid.c
m4/ax_lib_nettle.m4 [new file with mode: 0644]
md5.c
md5.h
sha1.c
sha1.h