Andrew Chow
4d828ef427
Merge bitcoin/bitcoin#28085 : refactor: use Span for SipHash::Write
...
7d92b1430a refactor: use Span for SipHash::Write (Sebastian Falbesoner)
Pull request description:
This simple refactoring PR changes the interface for the `SipHash` arbitrary-data `Write` method to take a `Span<unsigned char>` instead of having to pass data and length. (`Span<std::byte>` seems to be more modern, but vectors of `unsigned char` are still used prety much everywhere where SipHash is called, and I didn't find it very appealing having to clutter the code with `Make(Writable)ByteSpan` helpers).
ACKs for top commit:
sipa:
utACK 7d92b1430a
MarcoFalke:
lgtm ACK 7d92b1430a
achow101:
ACK 7d92b1430a
Tree-SHA512: f17a27013c942aead4b09f5a64e0c3ff8dbc7e83fe63eb9a2e3ace8be9921c9cbba3ec67e3e83fbe3332ca941c42370efd059e702c060f9b508307e9657c66f2
2023-07-19 16:27:08 -04:00
..
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-07-19 16:27:08 -04:00
2022-12-24 23:49:50 +00:00
2023-07-13 20:37:14 +02:00
2023-01-13 09:40:57 +00:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-05-05 06:03:17 -06:00
2022-12-24 23:49:50 +00:00
2023-03-21 13:04:21 +00:00
2023-07-13 20:37:14 +02:00
2023-02-03 10:33:31 -05:00
2023-07-13 20:37:14 +02:00
2023-07-12 22:43:55 -04:00
2023-07-07 17:16:27 -04:00
2023-07-07 17:16:27 -04:00
2023-07-12 22:43:55 -04:00
2023-07-17 13:27:46 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2022-12-13 15:08:24 -05:00
2023-03-21 13:54:11 +01:00
2023-07-13 20:37:05 +02:00
2023-07-13 20:37:14 +02:00
2023-07-17 09:39:52 +02:00
2023-07-17 13:27:46 +02:00
2023-07-13 20:37:14 +02:00
2023-01-13 09:40:57 +00:00
2023-02-17 13:34:40 -05:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-17 19:16:09 -04:00
2022-12-24 23:49:50 +00:00
2023-07-13 20:37:14 +02:00
2023-06-05 11:02:47 -04:00
2023-05-26 13:41:07 -03:00
2022-12-24 23:49:50 +00:00
2023-07-13 20:37:14 +02:00
2023-04-04 18:33:08 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-03-23 19:38:38 +01:00
2023-07-13 20:37:14 +02:00
2023-01-26 10:44:05 +01:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-01-13 09:40:57 +00:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:05 +02:00
2022-12-13 15:08:24 -05:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2022-12-13 15:08:24 -05:00
2023-01-13 09:40:57 +00:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-06-09 14:58:49 -04:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-01-26 10:44:05 +01:00
2023-01-26 10:44:05 +01:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2022-12-24 23:49:50 +00:00
2023-05-09 15:49:19 +02:00
2023-07-13 20:37:14 +02:00
2023-06-03 15:37:11 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00