Andrew Chow 4d828ef427
Merge bitcoin/bitcoin#28085: refactor: use Span for SipHash::Write
7d92b1430a6fd42c4438810640576830d0ff8d13 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 7d92b1430a6fd42c4438810640576830d0ff8d13
  MarcoFalke:
    lgtm ACK 7d92b1430a6fd42c4438810640576830d0ff8d13
  achow101:
    ACK 7d92b1430a6fd42c4438810640576830d0ff8d13

Tree-SHA512: f17a27013c942aead4b09f5a64e0c3ff8dbc7e83fe63eb9a2e3ace8be9921c9cbba3ec67e3e83fbe3332ca941c42370efd059e702c060f9b508307e9657c66f2
2023-07-19 16:27:08 -04:00
..
2020-12-31 09:45:41 +01:00
2021-12-30 19:36:57 +02:00
2020-09-06 18:35:23 -07:00
2022-12-24 23:49:50 +00:00
2022-02-17 03:42:08 +09:00