summaryrefslogtreecommitdiff
path: root/src/sha1.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove git_hash_ctx_new - callers now _ctx_init()Edward Thomson2012-11-131-33/+0
|
* Use libcrypto's SHA-1 implementation when linking to itCarlos Martín Nieto2012-10-231-0/+7
| | | | | | | | | | libcryto's SHA-1 implementation is measurably better than the one that ships with the library. If we link to it for HTTPS support already, use that implementation instead. Testing on a ~600MB of the linux repository, this reduces indexing time by 40% and removes the hashing from the top spot in the perf output.
* sha1: add missing header guardsMichael Schubert2012-08-111-0/+5
|
* Fix warnings on 64-bit windows buildsRussell Belfer2012-04-171-1/+1
| | | | | This fixes all the warnings on win64 except those in deps, which come from the regex code.
* Update Copyright headerschu2012-02-131-1/+1
| | | | Signed-off-by: schu <schu-github@schulog.org>
* Cleanup legal dataVicent Marti2011-09-191-4/+3
| | | | | | | | | | 1. The license header is technically not valid if it doesn't have a copyright signature. 2. The COPYING file has been updated with the different licenses used in the project. 3. The full GPLv2 header in each file annoys me.
* build: Simplify build structureVicent Marti2011-07-011-0/+22
| | | | This will make libgit2 more suitable for embedding.
* Remove the sha1.h header file and inline the content into hash.cRamsay Jones2010-06-071-12/+0
| | | | | | | | Given that the sha1.h header file should never be included into any other file, since it represents an implementation detail of hash.c, we remove the header and inline it's content. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
* Add support to enable the library to use OpenSSL SHA1 functionsRamsay Jones2010-05-041-1/+3
| | | | Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
* Add block-sha1 in favour of the mozilla routinesAndreas Ericsson2010-04-141-0/+10
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>