rust-bitcoin-unsafe-fast/hashes/src
merge-script 0388930690
Merge rust-bitcoin/rust-bitcoin#3328: Add basic `miri` checks
bd8ad1f5e2 Add basic `miri` checks (Martin Habovstiak)
fb5971cc2b Fix UB in `siphash24` (Martin Habovstiak)

Pull request description:

  We have a bit of `unsafe` code in the crates which should really be checked with `miri`. Thus this adds a basic CI check that automatically determines which crates need `miri` checking and checks them. It also makes sure to enable all target features so that SIMD code can be checked as well.

  This doesn't try to do anything fancy with maintainer tools or run task for now, since I just want to test the basic idea.

  Closes #3192

ACKs for top commit:
  storopoli:
    ACK bd8ad1f5e2
  tcharding:
    ACK bd8ad1f5e2
  sanket1729:
    ACK bd8ad1f5e2
  apoelstra:
    ACK bd8ad1f5e2 successfully ran local tests; wow, good find!

Tree-SHA512: a0d33c7851d6d6b288ca8cc1a902f187814dd82e3528c6f8169fdc0ba71991b99451276aaba5e3b6cde6029e09158063d65e48a71d1e01ee20302b9f653584ef
2024-09-10 15:21:37 +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 2024-09-08 automated rustfmt nightly 2024-09-08 01:17:12 +00:00
hmac.rs Remove hashes io feature 2024-09-09 06:37:49 +10:00
impls.rs Remove hashes io feature 2024-09-09 06:37:49 +10:00
internal_macros.rs Remove hashes io feature 2024-09-09 06:37:49 +10:00
lib.rs Merge rust-bitcoin/rust-bitcoin#3128: hashes: Remove `io` feature 2024-09-09 19:28:51 +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 Deprecate `from_slice()` in sha256.rs 2024-09-06 12:33:52 +01: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 Fix UB in `siphash24` 2024-09-08 12:08:13 +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