aboutsummaryrefslogtreecommitdiff
path: root/mozilla-sha1
Commit message (Collapse)AuthorAge
* Fix constness of input in mozilla-sha1/sha1.c::SHA1_Update().Junio C Hamano2005-11-01
| | | | | | | Among the three of our own implementations, only this one lacked "const" from the second argument. Signed-off-by: Junio C Hamano <junkio@cox.net>
* Add support for alternate SHA1 library implementations.Linus Torvalds2005-04-21
This one includes the Mozilla SHA1 implementation sent in by Edgar Toernig. It's dual-licenced under MPL-1.1 or GPL, so in the context of git, we obviously use the GPL version. Side note: the Mozilla SHA1 implementation is about twice as fast as the default openssl one on my G5, but the default openssl one has optimized x86 assembly language on x86. So choose wisely.