mozilla/rust — pull request #3047 by dgryski (2012-07-28 21:39:57+00:00)
Title: Switch sha1 to siphash

This patch updates the use of sha1 in the compiler to use the new faster siphash implementation. It only seems to be used for the hashing types.

I created a hash::streaming interface that matched the existing sha1 interface and added a siphash implementation. Then, the one use of std::sha1::sha1 in the tree was replaced to use hash::streaming instead, and I renamed a bunch of variables that all assumed they were working with sha1s.

This should fix #859.