]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
Add support for alternate SHA1 library implementations.
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 19:33:22 +0000 (12:33 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 21 Apr 2005 19:33:22 +0000 (12:33 -0700)
commitcef661fc799a3a13ffdea4a3f69f1acd295de53d
tree690494557d393ca78f69a8569880ed4a3aeda276
parentcc1ad5c8309fbace11e3a68e3ec8ffcbded442a6
Add support for alternate SHA1 library implementations.

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.
Makefile
cache.h
mozilla-sha1/sha1.c [new file with mode: 0644]
mozilla-sha1/sha1.h [new file with mode: 0644]