aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2024-04-04 19:56:21 +0000
committerCory Fields <cory-nospam-@coryfields.com>2024-04-05 15:44:21 +0000
commit2d1819455cb4c516f6cdf81c11e869a23dee3e6b (patch)
tree271378393fc130df4b22f933b9bb7cc92a14820b /configure.ac
parent23ba39470c3d155a65f0616f8848ada730658301 (diff)
downloadbitcoin-2d1819455cb4c516f6cdf81c11e869a23dee3e6b.tar.xz
crypto: chacha20: always use our fallback timingsafe_bcmp rather than libc's
Looking at apple/freebsd/openbsd sources, their implementations match our naive fallback. It's not worth the hassle of using a platform-specific function for no gain.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 964b7d0942..19a60dfbcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -968,8 +968,6 @@ AC_CHECK_DECLS([setsid])
AC_CHECK_DECLS([pipe2])
-AC_CHECK_FUNCS([timingsafe_bcmp])
-
AC_MSG_CHECKING([for __builtin_clzl])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ]], [[
(void) __builtin_clzl(0);