bitcoin/src/crypto
fanquake 9952242c03
build: improve builtin_clz* detection
The way we currently test with AC_CHECK_DECLS do not work with Clang:
```bash
configure:21492: clang++-10 -std=c++11 -c -g -O2  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS conftest.cpp >&5
conftest.cpp💯10: error: builtin functions must be directly called
  (void) __builtin_clz;
         ^
1 error generated.
```

This also removes the __builtin_clz() check, as we don't actually use
it anywhere, and it's trvial to re-add detection if we do start using
it at some point.
2020-06-29 11:31:17 +08:00
..
ctaes Update ctaes 2016-12-08 17:09:07 -08:00
aes.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
aes.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
chacha20.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
chacha20.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
chacha_poly_aead.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
chacha_poly_aead.h Add ChaCha20Poly1305@Bitcoin AEAD implementation 2019-06-25 15:13:02 +02:00
common.h build: improve builtin_clz* detection 2020-06-29 11:31:17 +08:00
hkdf_sha256_32.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
hkdf_sha256_32.h Add HKDF HMAC_SHA256 L=32 implementations 2019-05-11 09:14:07 +02:00
hmac_sha256.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hmac_sha256.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hmac_sha512.cpp Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
hmac_sha512.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
poly1305.cpp Add Poly1305 implementation 2019-03-26 18:12:29 +01:00
poly1305.h Add Poly1305 implementation 2019-03-26 18:12:29 +01:00
ripemd160.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
ripemd160.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sha1.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
sha1.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sha256.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
sha256.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
sha256_avx2.cpp scripted-diff: Add missed copyright headers 2020-01-04 20:18:28 +02:00
sha256_shani.cpp Avoid non-trivial global constants in SHA-NI code 2020-04-07 13:57:34 -07:00
sha256_sse4.cpp Add SSE4 based SHA256 2017-07-20 09:03:53 -07:00
sha256_sse41.cpp scripted-diff: Add missed copyright headers 2020-01-04 20:18:28 +02:00
sha512.cpp scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
sha512.h scripted-diff: Bump copyright of files changed in 2019 2019-12-30 10:42:20 +13:00
siphash.cpp Extract CSipHasher to it's own file in crypto/ directory. 2018-11-05 09:25:15 -08:00
siphash.h Extract CSipHasher to it's own file in crypto/ directory. 2018-11-05 09:25:15 -08:00