rust-bitcoin-unsafe-fast/hashes/src
merge-script 4700fe7fb2
Merge rust-bitcoin/rust-bitcoin#3982: hashes: Move from_engine functions
b98c489066 hashes: Move from_engine functions (Tobin C. Harding)

Pull request description:

  In order to use the `general_hash_type` macro the must exist a standalone `from_engine` function. Currently this function is in different places in different modules. In an effort to make the `hashes` code easier to reason about put the functions right below the macro.

  Code move only, no other changes.

ACKs for top commit:
  Kixunil:
    ACK b98c489066
  apoelstra:
    ACK b98c489066e8916a383099e5037e5a24832548ba; successfully ran local tests

Tree-SHA512: 8dfbf2b422d078d687708fa94a478ca597fae141f5c1f0a318a36152ca33f4760bb0545ab67523c558a8c3b8d258356975c5e357600d0ac980d473250a2af20e
2025-02-02 03:19:45 +00:00
..
cmp.rs Remove the SliceIndex implementation from hash types 2024-10-02 10:18:45 +10:00
error.rs Remove usage of impl_from_infallible in leaf crates 2025-01-02 07:51:21 +11:00
hash160.rs hashes: Move from_engine functions 2025-01-30 10:51:08 +11:00
hkdf.rs Remove test_ prefix from unit tests 2025-01-02 10:06:50 +11:00
hmac.rs Add a Hmac::engine function 2025-01-31 11:15:42 +11:00
internal_macros.rs hashes: Make hex dependency optional 2024-11-14 09:36:55 +11:00
lib.rs Remove unnecessary doc(hidden) 2025-01-20 17:23:12 +11:00
macros.rs hashes: Hide both macros 2024-12-29 08:23:39 +11:00
ripemd160.rs Merge rust-bitcoin/rust-bitcoin#3584: Standardize constructor type function docs 2024-11-06 16:05:24 +00:00
sha1.rs Merge rust-bitcoin/rust-bitcoin#3584: Standardize constructor type function docs 2024-11-06 16:05:24 +00:00
sha256.rs hashes: Add additional must_use 2024-12-10 10:58:11 +11:00
sha256d.rs hashes: Move from_engine functions 2025-01-30 10:51:08 +11:00
sha256t.rs hashes: Remove sha256t::Hash Default impl 2025-01-29 12:27:48 +11:00
sha384.rs Replace `creates` with `constructs` 2024-11-05 12:47:28 +00:00
sha512.rs Merge rust-bitcoin/rust-bitcoin#3584: Standardize constructor type function docs 2024-11-06 16:05:24 +00:00
sha512_256.rs Replace `creates` with `constructs` 2024-11-05 12:47:28 +00:00
siphash24.rs Remove test_ prefix from unit tests 2025-01-02 10:06:50 +11:00