2
0
mirror of https://github.com/boostorg/hash2.git synced 2026-02-01 08:32:11 +00:00
Commit Graph

306 Commits

Author SHA1 Message Date
Peter Dimov
aa0b35d202 Remove constexpr from pointer overloads; these are never constexpr, even if rewritten with bit_cast 2024-11-03 20:28:48 +02:00
Peter Dimov
5a81d36da5 Update test/append_byte_sized_cx.cpp 2024-11-03 20:21:27 +02:00
Peter Dimov
cda21bb01b Disable constexpr hash_append tests under GCC 5 2024-11-03 20:16:39 +02:00
Peter Dimov
b6bf6449de Initialize Flavor f; to keep GCC 7 happy 2024-11-03 20:00:03 +02:00
Peter Dimov
96abdb3555 Add test/append_floating_point_cx.cpp 2024-11-03 19:58:10 +02:00
Peter Dimov
9b31fc2068 Add test/append_character_cx.cpp 2024-11-03 19:10:35 +02:00
Peter Dimov
afe7e61efe Add test/append_integer_cx.cpp 2024-11-03 19:03:31 +02:00
Peter Dimov
4b3600fed0 Mark default constructors in fnv1a.hpp as constexpr for msvc-14.1 2024-11-03 17:39:29 +02:00
Peter Dimov
6ae5db5b41 Avoid uninitialized variables in constexpr functions 2024-11-03 17:35:00 +02:00
Peter Dimov
ebd2f4120d Move is_contiguously_hashable check into hash_append 2024-11-03 17:10:23 +02:00
Peter Dimov
8669a782d0 Add test/append_byte_sized_cx.cpp 2024-11-03 17:03:03 +02:00
Peter Dimov
414ec5b8ef Constexpr-ify sha1.hpp 2024-11-02 20:46:00 +02:00
Peter Dimov
1f6d363347 Remove local CXX14_CONSTEXPR configuration macros 2024-11-02 20:10:52 +02:00
Peter Dimov
b7d36e0e50 Make all helper functions constexpr under C++14 and noexcept; add detail::memcmp; use it in digest.hpp 2024-11-02 19:40:05 +02:00
Peter Dimov
6a785a49d3 Add test/digest.cpp 2024-11-02 19:00:54 +02:00
Peter Dimov
728e205dfe Update signature of to_chars 2024-11-02 18:29:49 +02:00
Peter Dimov
781752bb89 Remove MSVC-specific intrinsic use in detail/rot.hpp; it's unnecessary 2024-11-02 02:47:20 +02:00
Peter Dimov
31677e4621 Fix constexpr-ness of md5_128::transform 2024-11-01 22:20:00 +02:00
Peter Dimov
736f75c646 constexpr digest requires C++14 2024-11-01 21:59:58 +02:00
Peter Dimov
da486ccaa3 Avoid signed/unsigned compare 2024-11-01 21:53:28 +02:00
Peter Dimov
591b007912 Add hash2/digest.hpp, use it in md5_128 2024-11-01 21:35:51 +02:00
Peter Dimov
9d6ed3b89e Constexpr-ify md5.hpp 2024-11-01 20:34:15 +02:00
Peter Dimov
3292abba30 Constexpr-ify siphash.hpp 2024-10-29 21:44:40 +02:00
Peter Dimov
433ae9cf0d Add detail/config.hpp 2024-10-29 21:23:58 +02:00
Peter Dimov
d51e2aa462 Constexpr-ify xxhash.hpp 2024-10-29 20:50:47 +02:00
Peter Dimov
1555ec02fa Work around msvc-14.1 failures 2024-10-29 19:59:23 +02:00
Peter Dimov
4b7075d818 Condition nonzero seed tests on the presence of is_constant_evaluated 2024-10-29 19:12:18 +02:00
Peter Dimov
c7b61ebb84 Work around GCC <9 deduction failures 2024-10-29 19:08:10 +02:00
Peter Dimov
48f23102f6 Add detail/is_constant_evaluated.hpp; make detail::write functions constexpr 2024-10-29 18:55:19 +02:00
Peter Dimov
0d49640adb Make fnv1a_32, 64 constexpr (using default seed) 2024-10-29 18:35:52 +02:00
Peter Dimov
be20c2abb8 Remove size_type from documentation 2024-10-28 00:39:07 +02:00
Peter Dimov
dc47070fc8 Remove size_type from hash algorithms 2024-10-28 00:36:42 +02:00
Peter Dimov
0122eaa24f Disable C4307 under msvc-14.0, 14.1 2024-10-27 21:22:23 +02:00
Peter Dimov
6bd6764bd2 Use in-class initialization in ripemd_160 2024-10-27 21:08:59 +02:00
Peter Dimov
eaf6152767 Use in-class initialization in sha1_160 2024-10-27 21:01:55 +02:00
Peter Dimov
956ed86bb9 Use in-class initialization in md5_128 2024-10-27 20:58:43 +02:00
Peter Dimov
d4fac8fa32 Use in-class initialization in siphash_32 2024-10-27 20:41:58 +02:00
Peter Dimov
a47a9ad763 Use in-class initialization in siphash_64 2024-10-27 20:36:29 +02:00
Peter Dimov
f1d8b6e8a4 Use in-class initialization in xxhash_64 2024-10-27 20:28:09 +02:00
Peter Dimov
097f6fd796 Use in-class initialization in xxhash_32 2024-10-27 20:18:43 +02:00
Peter Dimov
f87f8d49db Use in-class initialization in fnv1a.hpp 2024-10-27 20:12:17 +02:00
Peter Dimov
36eb74cc61 Bytes should only be reversed for scalar types 2024-10-27 11:04:46 +02:00
Peter Dimov
ae749580ec Add test/append_tag_invoke_3.cpp 2024-10-27 01:58:50 +03:00
Peter Dimov
aea188468e Add missing includes 2024-10-27 01:57:50 +03:00
Peter Dimov
28426aab9e Remove extra whitespace 2024-10-26 21:44:54 +03:00
Peter Dimov
2c58dafabb Update CMakeLists.txt 2024-10-26 21:10:42 +03:00
Peter Dimov
afd58649f9 Avoid -Wmissing-field-initializers under GCC 4.8 2024-10-26 21:08:59 +03:00
Peter Dimov
1f0f81fd90 Update test/hash_append_5.cpp 2024-10-26 20:33:41 +03:00
Peter Dimov
4c84d6f8ca Remove extra indentation 2024-10-26 20:28:42 +03:00
Peter Dimov
18ac1da62d Add support for classes with tag_invoke 2024-10-26 20:27:28 +03:00