summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-04-26 19:27:05 +0200
committerDaiki Ueno <ueno@gnu.org>2020-05-04 14:26:39 +0200
commitdda0d7717f648c155b6f94610aafa591a7d5ade2 (patch)
treef33935caaee282968bd9113d2b550eb629144741 /configure.ac
parenta8493e2f024f25c36d519347dec71c2998a479b2 (diff)
downloadgnutls-dda0d7717f648c155b6f94610aafa591a7d5ade2.tar.gz
nettle: vendor in SIV-CMAC implementation
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 600a83819f..7bac929ce0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -670,6 +670,13 @@ AC_CHECK_FUNCS([nettle_chacha_set_counter],
LIBS=$save_LIBS
AM_CONDITIONAL(NEED_CHACHA, [test "$have_chacha_set_counter" != "yes"])
+# Check for SIV-CMAC
+save_LIBS=$LIBS
+LIBS="$LIBS $NETTLE_LIBS"
+AC_CHECK_FUNCS(nettle_siv_cmac_aes128_set_key)
+LIBS=$save_LIBS
+AM_CONDITIONAL(NEED_SIV, [test "$ac_cv_func_nettle_siv_cmac_aes128_set_key" != "yes"])
+
# Check sonames of the linked libraries needed for FIPS selftests.
save_LIBS=$LIBS
LIBS="$LIBS $GMP_LIBS"