diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-03-19 08:13:54 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-03-19 08:13:58 +0100 |
commit | 10c585a92d05538fbd3936d9d81bd4296b7e3f8d (patch) | |
tree | 9998fe54423e2fe62200655daaa7f01199cc3580 /m4/hooks.m4 | |
parent | 7b4d1f763a2b2476074c903f3ab059f53dcdddc0 (diff) | |
download | gnutls-10c585a92d05538fbd3936d9d81bd4296b7e3f8d.tar.gz |
The HMAC subsystem can now be used for other MAC algorithms, like UMAC. UMAC-96 and UMAC-128 were conditionally added.
Diffstat (limited to 'm4/hooks.m4')
-rw-r--r-- | m4/hooks.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4 index 19d1515501..8911e869b8 100644 --- a/m4/hooks.m4 +++ b/m4/hooks.m4 @@ -101,6 +101,8 @@ else AC_MSG_RESULT(no) fi AM_CONDITIONAL(ENABLE_NETTLE, test "$cryptolib" = "nettle") + + AC_CHECK_LIB([nettle], [nettle_umac_aes_set_key], [AC_DEFINE([HAVE_UMAC], [], [UMAC detected in nettle])]) AC_ARG_WITH(included-libtasn1, AS_HELP_STRING([--with-included-libtasn1], [use the included libtasn1]), |