rust-bitcoin-unsafe-fast/hashes/src
merge-script 9233eb2fa3
Merge rust-bitcoin/rust-bitcoin#3275: Enforce that `Hash::Bytes` is an array
be13397570 Make hmac & hkdf more robust against buggy `Hash` (Martin Habovstiak)
94c0614bda Enforce that `Hash::Bytes` is an array (Martin Habovstiak)

Pull request description:

  This makes sure `Hash::Bytes` is an array. We've discussed this somewhere but I don't remember where.

  I'm not sure if the second commit is actually valuable but hopefully shouldn't make things worse.

ACKs for top commit:
  apoelstra:
    ACK be13397570 successfully ran local tests; yep, this looks like an improvement. Agreed that the second commit has questionable value but doe not make things worse
  tcharding:
    ACK be13397570

Tree-SHA512: 0fed982084f0f98927c2b4a275cec81cb4bbc0efbf01551a0a4a8b6b39a4504830243ee8d55a5c0418d81b5d4babc7b22332dbacc0609ced8fada84d2961ae71
2024-09-02 00:42:39 +00:00
..
cmp.rs hashes: Introduce SPDX license identifiers 2023-05-01 09:26:36 +10:00
hash160.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
hkdf.rs Merge rust-bitcoin/rust-bitcoin#3275: Enforce that `Hash::Bytes` is an array 2024-09-02 00:42:39 +00:00
hmac.rs Merge rust-bitcoin/rust-bitcoin#3275: Enforce that `Hash::Bytes` is an array 2024-09-02 00:42:39 +00:00
impls.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
internal_macros.rs Merge rust-bitcoin/rust-bitcoin#3275: Enforce that `Hash::Bytes` is an array 2024-09-02 00:42:39 +00:00
lib.rs Merge rust-bitcoin/rust-bitcoin#3275: Enforce that `Hash::Bytes` is an array 2024-09-02 00:42:39 +00:00
ripemd160.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
serde_macros.rs Change `T::from_str(s)` to `s.parse::<T>()` 2024-08-27 17:31:00 +01:00
sha1.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
sha256.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
sha256d.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
sha256t.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
sha384.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
sha512.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
sha512_256.rs don't enable std by default when testing 2024-08-26 21:08:23 +02:00
siphash24.rs remove unnecessary slicing 2024-08-26 17:22:08 +02:00
util.rs Merge rust-bitcoin/rust-bitcoin#3275: Enforce that `Hash::Bytes` is an array 2024-09-02 00:42:39 +00:00