rust-bitcoin-unsafe-fast/hashes/src/sha512
Tobin C. Harding e1bac7da55
Bound HmacEngine on HashEngine
We would like to do away with the `GeneralHash` trait. Currently we
bound `Hmac` and `HmacEngine` on it but this is unnecessary now that we
have added `HashEngine::finalize` and `HashEngine::Hash`.

Bound the `HmacEngine` on `HashEngine` (which has an associated `Hash`
type returned by `finilalize`).

Bound `Hmac` type on `T::Hash` where `T` is `HashEngine`.

Includes some minor shortening of local variable names around hmac
engine usage.

Note this means that `Hmac` no longer implements `GeneralHash`.
2025-03-06 11:47:26 +11:00
..
benches.rs hashes: Move bench and test code into files 2025-02-06 07:10:02 +11:00
crypto.rs hashes: Pull crypto out into submodule 2025-02-06 07:10:02 +11:00
mod.rs Bound HmacEngine on HashEngine 2025-03-06 11:47:26 +11:00
tests.rs Add missing hex feature gate 2025-02-14 11:44:55 +00:00