Christian Mazakas
|
cc3dec0bd7
|
clean up sha-3 constexpr tests
|
2025-02-04 15:17:47 -08:00 |
|
Peter Dimov
|
f2c2f01b9e
|
Update test/sha2_cx.cpp
|
2025-02-03 18:47:20 +02:00 |
|
Peter Dimov
|
00b38b78c9
|
Update test values, broken by the addition of the missing m_ = 0; in keccak_base<>::result
|
2025-02-03 06:52:03 +02:00 |
|
Peter Dimov
|
a45b906453
|
Add extended output tests to test/shake.cpp
|
2025-02-03 06:27:31 +02:00 |
|
Peter Dimov
|
a4ae099274
|
Define and use get_digest_result in test/shake.cpp
|
2025-02-03 04:50:52 +02:00 |
|
Peter Dimov
|
fbce20ea9e
|
Update test/shake.cpp
|
2025-02-03 03:23:00 +02:00 |
|
Peter Dimov
|
7139289542
|
Split test/shake.cpp from test/sha3.cpp
|
2025-02-03 02:50:59 +02:00 |
|
Peter Dimov
|
754842334e
|
Update test/sha3.cpp
|
2025-02-02 19:28:26 +02:00 |
|
Peter Dimov
|
fa518de879
|
Update test/sha3.cpp
|
2025-02-02 19:19:53 +02:00 |
|
Peter Dimov
|
93c316c805
|
Update test/sha3.cpp
|
2025-02-02 19:10:26 +02:00 |
|
Peter Dimov
|
3e44c8c799
|
Guard definition of iota_rc_holder<>::data with BOOST_NO_CXX17_INLINE_VARIABLES
|
2025-02-02 18:08:48 +02:00 |
|
Peter Dimov
|
bb462a3ec3
|
Supply a definition of keccak_base<>::block_size
|
2025-02-02 18:00:54 +02:00 |
|
Peter Dimov
|
f53c69df8d
|
Update test/sha3.cpp
|
2025-02-02 16:46:49 +02:00 |
|
Peter Dimov
|
aa1956339d
|
Work around msvc-14.1 failures in sha3_384_cx and sha3_512_cx
|
2025-02-02 06:44:31 +02:00 |
|
Peter Dimov
|
1a2764642c
|
Split sha3_cx.cpp; reenable sha3_cx_2.cpp on msvc-14.2
|
2025-02-02 02:57:51 +02:00 |
|
Peter Dimov
|
50064d39ff
|
Revert to unsigned char state_[200] to enable constexpr
|
2025-02-02 02:33:40 +02:00 |
|
Peter Dimov
|
9ce244a084
|
Reenable commented out tests
|
2025-02-01 06:18:16 +02:00 |
|
Peter Dimov
|
424fc76113
|
Remove redundant tests from benchmark/buffer.cpp
|
2025-02-01 06:16:45 +02:00 |
|
Peter Dimov
|
fa62475604
|
Restore benchmark/buffer.cpp
|
2025-02-01 06:14:56 +02:00 |
|
Peter Dimov
|
45b1b2a3cc
|
Add sha3_512, shake_128, shake_256 to benchmark/buffer.cpp
|
2025-02-01 05:41:34 +02:00 |
|
Peter Dimov
|
b9c328ae5f
|
Extract iota_rc constants into a dummy class to preserve constexpr
|
2025-02-01 05:27:22 +02:00 |
|
Peter Dimov
|
0b40ec74a5
|
Unroll rho & pi loop
|
2025-02-01 04:55:56 +02:00 |
|
Peter Dimov
|
da717ac602
|
Unroll inner loops in chi
|
2025-02-01 04:40:04 +02:00 |
|
Peter Dimov
|
132756e8f8
|
Unroll inner loops in theta
|
2025-02-01 03:51:13 +02:00 |
|
Peter Dimov
|
22dc818b98
|
Switch loops in theta
|
2025-02-01 03:35:03 +02:00 |
|
Peter Dimov
|
af1b09596c
|
Use the precomputed iota constants instead of lfsr
|
2025-02-01 03:26:59 +02:00 |
|
Peter Dimov
|
cb887e354e
|
Temporarily enable just sha2_256 and sha3_256 in benchmark/buffer.cpp
|
2025-02-01 03:20:55 +02:00 |
|
Peter Dimov
|
0cbc312a13
|
Add test/detail_keccak.cpp
|
2025-02-01 03:01:25 +02:00 |
|
Christian Mazakas
|
4534d6e02a
|
first round of speedups
|
2025-01-31 12:18:50 -08:00 |
|
Christian Mazakas
|
62b46a8792
|
implement sha-3 and shake
|
2025-01-29 11:46:20 -08:00 |
|
Peter Dimov
|
41fe81afd7
|
Merge pull request #32 from cmazakas/feature/sha-512-perf
unroll sha-512 implementation
|
2025-01-09 03:01:44 +02:00 |
|
Christian Mazakas
|
2bbc7e29e1
|
unroll sha-512 implementation
|
2025-01-08 10:23:20 -08:00 |
|
Peter Dimov
|
1168816bbe
|
Merge pull request #31 from cmazakas/feature/sha-256-perf
sha-256 perf
|
2024-12-31 03:10:13 +02:00 |
|
Christian Mazakas
|
81510288a2
|
add first round of optimizations to sha-256 impl
|
2024-12-30 09:46:37 -08:00 |
|
Peter Dimov
|
911d1aed45
|
Update test/cmake_subdir_test
|
2024-12-22 17:32:40 +02:00 |
|
Peter Dimov
|
cde36afe86
|
Update ci.yml
|
2024-12-22 17:31:22 +02:00 |
|
Peter Dimov
|
7a25f85186
|
Add back includes to the std::hash examples
|
2024-12-09 03:52:16 +02:00 |
|
Peter Dimov
|
006346e56b
|
Update documentation
|
2024-12-09 03:50:07 +02:00 |
|
Peter Dimov
|
ecc605c827
|
Merge pull request #27 from Lastique/patch-1
Fix typos in the docs
|
2024-12-09 03:47:44 +02:00 |
|
Andrey Semashev
|
e1ac6ab1fe
|
Add a missing type for the constant in example.
|
2024-12-09 03:51:02 +03:00 |
|
Andrey Semashev
|
6f09bf29f3
|
Add missing parenthesis in examples.
|
2024-12-09 03:21:17 +03:00 |
|
Andrey Semashev
|
4244d130a9
|
Fix a typo in the docs.
|
2024-12-09 03:14:28 +03:00 |
|
Peter Dimov
|
26b16023dc
|
Add CMake main project support
boost-review
|
2024-12-03 22:26:40 +02:00 |
|
Peter Dimov
|
f91854437d
|
Update hashing_objects.adoc
|
2024-12-02 22:02:13 +02:00 |
|
Peter Dimov
|
6ace57087a
|
Update hashing_bytes.adoc
|
2024-12-02 21:41:32 +02:00 |
|
Peter Dimov
|
c58416ccc7
|
Merge pull request #25 from sdarwin/feature/gha
GHA: hosted nodejs
|
2024-12-02 20:02:47 +02:00 |
|
Peter Dimov
|
40093c3558
|
Link tests to Boost::endian
|
2024-12-02 19:23:51 +02:00 |
|
Peter Dimov
|
413eea3e07
|
Add -I example to CI
|
2024-12-02 18:28:57 +02:00 |
|
Peter Dimov
|
50628f4bf2
|
Add Result Extension example to examples.adoc
|
2024-12-02 18:25:09 +02:00 |
|
Peter Dimov
|
acfc309f72
|
Add example/xxh128_from_xxh64.cpp
|
2024-12-02 18:11:07 +02:00 |
|