diff options
author | Daiki Ueno <ueno@gnu.org> | 2020-04-26 19:27:05 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2020-05-04 14:26:39 +0200 |
commit | dda0d7717f648c155b6f94610aafa591a7d5ade2 (patch) | |
tree | f33935caaee282968bd9113d2b550eb629144741 /configure.ac | |
parent | a8493e2f024f25c36d519347dec71c2998a479b2 (diff) | |
download | gnutls-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.ac | 7 |
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" |