Adds an *unaudited* SHA-256 implementation to llvm/Support. The ongoing lld-macho effort needs this to emit an adhoc code signature for macho files on macOS Big Sur.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
@mehdi_amini Thanks for the review. I don't have commit rights. I'd be great if someone could commit this!
I'll wait a couple of days to see if anyone has a concern with this, ping me on Monday if I forget :)
Can you also add the motivation in the description? What are you planning to use this for?
I'll wait a couple of days to see if anyone has a concern with this, ping me on Monday if I forget :)
Will do :)
Can you also add the motivation in the description? What are you planning to use this for?
SHA-256 hashing is required for https://reviews.llvm.org/D96164 (lld needs this to emit an adhoc code signature for macho files on macOS Big Sur).
clang-tidy: warning: header guard does not follow preferred style [llvm-header-guard]
not useful