summaryrefslogtreecommitdiff
path: root/hash.h
AgeCommit message (Expand)AuthorFilesLines
2024-10-03hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback modeJeff King1-0/+3
2024-09-27Makefile: allow specifying a SHA-1 for non-cryptographic usesTaylor Blau1-0/+30
2024-09-27hash.h: scaffolding for _unsafe hashing variantsTaylor Blau1-0/+42
2024-06-14hash-ll: merge with "hash.h"Patrick Steinhardt1-2/+360
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt1-1/+3
2024-06-14hash: require hash algorithm in `is_empty_{blob,tree}_oid()`Patrick Steinhardt1-10/+0
2024-06-14hash: make `is_null_oid()` independent of `the_repository`Patrick Steinhardt1-5/+0
2024-06-14hash: convert `oidcmp()` and `oideq()` to compare whole hashPatrick Steinhardt1-20/+0
2024-06-14global: ensure that object IDs are always paddedPatrick Steinhardt1-16/+0
2024-06-14hash: require hash algorithm in `oidread()` and `oidclr()`Patrick Steinhardt1-17/+0
2024-06-14hash: require hash algorithm in `hasheq()`, `hashcmp()` and `hashclr()`Patrick Steinhardt1-22/+2
2024-06-14hash: drop (mostly) unused `is_empty_{blob,tree}_sha1()` functionsPatrick Steinhardt1-10/+0
2023-10-02cache: add a function to read an OID of a specific algorithmbrian m. carlson1-2/+7
2023-04-24hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren1-272/+1
2023-02-23hash.h: move some oid-related declarations from cache.hElijah Newren1-0/+34
2023-02-23treewide: remove unnecessary git-compat-util.h includes in headersElijah Newren1-1/+0
2022-08-31Makefile + hash.h: remove PPC_SHA1 implementationÆvar Arnfjörð Bjarmason1-4/+2
2022-07-10sha256: add support for Nettlebrian m. carlson1-1/+3
2021-09-07hash.h: provide constants for the hash IDsHan-Wen Nienhuys1-0/+6
2021-08-15oidtree: avoid unaligned access to crit-bit treeRené Scharfe1-1/+1
2021-07-07oidcpy_with_padding: constify `src' argEric Wong1-1/+1
2021-05-18parallel-checkout: send the new object_id algo field to the workersMatheus Tavares1-0/+16
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson1-2/+5
2021-04-27hash: set, copy, and use algo field in struct object_idbrian m. carlson1-6/+34
2021-04-27hash: add a function to finalize object IDsbrian m. carlson1-23/+27
2021-04-27hash: add an algo member to struct object_idbrian m. carlson1-0/+1
2020-12-04cache.h: move hash/oid functions to hash.hJeff King1-0/+95
2020-02-24hash: implement and use a context cloning functionbrian m. carlson1-0/+21
2019-06-20hash.h: move object_id definition from cache.hJeff King1-0/+24
2019-04-01hash: add a function to lookup hash algorithm by lengthbrian m. carlson1-0/+2
2018-11-14hash: add an SHA-256 implementation using OpenSSLbrian m. carlson1-0/+2
2018-11-14sha256: add an SHA-256 implementation using libgcryptbrian m. carlson1-0/+4
2018-11-14Add a base implementation of SHA-256 supportbrian m. carlson1-1/+18
2018-11-14sha1-file: add a constant for hash block sizebrian m. carlson1-0/+3
2018-10-22sha1-file: provide functions to look up hash algorithmsbrian m. carlson1-0/+13
2018-02-09hash: update obsolete reference to SHA1_HEADERbrian m. carlson1-2/+2
2018-02-02hash: create union for hash context allocationbrian m. carlson1-6/+9
2018-02-02hash: move SHA-1 macros to hash.hbrian m. carlson1-0/+25
2017-11-13Add structure representing hash algorithmbrian m. carlson1-0/+57
2017-08-16sha1dc: build git plumbing code more explicitlyTakashi Iwai1-5/+1
2017-07-03sha1dc: optionally use sha1collisiondetection as a submoduleÆvar Arnfjörð Bjarmason1-0/+4
2017-03-17Makefile: add DC_SHA1 knobJeff King1-0/+2
2017-03-15hash.h: move SHA-1 implementation selection into a header filebrian m. carlson1-0/+14
2013-11-18remove old hash.[ch] implementationKarsten Blees1-50/+0
2013-03-16Preallocate hash tables when the number of inserts are known in advanceNguyễn Thái Ngọc Duy1-0/+7
2011-02-18for_each_hash: allow passing a 'void *data' pointer to callbackLinus Torvalds1-1/+1
2008-03-09Add 'const' where appropriate to index handling functionsLinus Torvalds1-2/+2
2007-10-26Do linear-time/space rename logic for exact renamesLinus Torvalds1-0/+43