diff options
| author | bors <bors@rust-lang.org> | 2013-10-27 21:36:31 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-27 21:36:31 -0700 |
| commit | 9293a4127bffe08f6a6e2fbbec9e52229291c58c (patch) | |
| tree | d98502523443d61b9b97731e7fef61cf2c1a179f /src/rt/sync/rust_thread.cpp | |
| parent | d664ca26357fad84b4bc48f903f4795d491ccfd1 (diff) | |
| parent | 2d5cb5d99a68d9b603675b1c4284dbe37333332c (diff) | |
| download | rust-9293a4127bffe08f6a6e2fbbec9e52229291c58c.tar.gz rust-9293a4127bffe08f6a6e2fbbec9e52229291c58c.zip | |
auto merge of #9744 : DaGenix/rust/remove-crypto, r=alexcrichton
Remove the Sha1, Sha2, MD5, and MD4 algorithms. SipHash is also cryptographically secure hash function and IsaacRng is a cryptographically secure RNG - I left those alone but removed comments that implied they were suitable for cryptographic use. I thought that MD4 was used for something by the compiler, but everything still seems to work with it removed, so, I guess not. One thing that I'm not sure about - workcache.rs and workcache_support.rs (in librustpkg) both depend on Sha1. Without Sha1, the only hash function left is SipHash, so I switched that code over to use SipHash. The output size of SipHash is only 64-bits, however - much less than 160 for Sha1. I'm not sure this is a problem. Without other cryptographic hashes in the tree, I'm not sure what else to do. I considered moved Sha1 into librustpkg, but I don't know if that makes sense. If merged, this closes #9300.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions
