Add block-sha1 in favour of the mozilla routines
commit5dddf7c855f9c8e43954a99a6f85c098dfc7ed41
authorAndreas Ericsson <ae@op5.se>
Wed, 14 Apr 2010 18:41:57 +0000 (14 20:41 +0200)
committerAndreas Ericsson <ae@op5.se>
Wed, 14 Apr 2010 18:44:22 +0000 (14 20:44 +0200)
treeb92ae7738d06508c5fbfd1f2d08fb5190343ffc8
parentd15e94c0d4eb0fe06dd1e25d7e9e3c4940417f56
Add block-sha1 in favour of the mozilla routines

Since block-sha1 from git.git has such excellent performance, we
can also get rid of the openssl dependency. It's rather simple
to add it back later as an optional extra, but we really needn't
bother to pull in the entire ssl library and have to deal with
linking issues now that we have the portable and, performance-wise,
truly excellent block-sha1 code to fall back on.

Since this requires a slight revamp of the build rules anyway, we
take the opportunity to fix including EXTRA_OBJS in the final build
as well.

The block-sha1 code was originally implemented for git.git by
Linus Torvalds <torvalds@linux-foundation.org> and was later
polished by Nicolas Pitre <nico@cam.org>.

Signed-off-by: Andreas Ericsson <ae@op5.se>
Makefile
src/block-sha1/sha1.c [new file with mode: 0644]
src/block-sha1/sha1.h [new file with mode: 0644]
src/bswap.h [new file with mode: 0644]
src/common.h
src/hash.c
src/sha1.h [new file with mode: 0644]
src/sha1/sha1.c [deleted file]
src/sha1/sha1.h [deleted file]