Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge rust-bitcoin#3129: hashes:: Rename const_hash functions
e7762e0 hashes:: Rename const_hash functions (Tobin C. Harding) Pull request description: There are a number of issues with the two `const_hash` functions in the `sha256` module: - The two `const_hash` functions in the `sha256` module differ slightly, one finalizes the hash and one is for computing the midstate. - They are inefficient and provided for usage for const context only. Fix both issues by renaming the functions as discussed in rust-bitcoin#3075. Close: rust-bitcoin#3075 ACKs for top commit: Kixunil: ACK e7762e0 apoelstra: ACK e7762e0 successfully ran local tests Tree-SHA512: 2b765bbbaa596d060a555495582b24175f660bf630de489cf0e0199f1c589f13f46dde5c9735bffece10a1ff116a70472f821df66c62a97fffb424f16e5568f9
- Loading branch information