summaryrefslogtreecommitdiffstats
path: root/hash.h
AgeCommit message (Expand)AuthorLines
2025-07-21Merge branch 'bc/use-sha256-by-default-in-3.0'Junio C Hamano-0/+10
2025-07-01Enable SHA-256 by default in breaking changes modebrian m. carlson-1/+7
2025-07-01hash: add a constant for the legacy hash algorithmbrian m. carlson-0/+2
2025-07-01hash: add a constant for the default hash algorithmbrian m. carlson-0/+2
2025-06-12object-name: make get_oid quietly return an errorbrian m. carlson-0/+1
2025-04-16Merge branch 'jt/help-sha-backend-info-in-build-options'Junio C Hamano-0/+11
2025-04-15Merge branch 'ps/object-wo-the-repository'Junio C Hamano-2/+2
2025-04-07help: include unsafe SHA-1 build info in versionJustin Tobler-0/+3
2025-04-07help: include SHA implementation in version infoJustin Tobler-0/+8
2025-03-12object-name: allow skipping ambiguity checks in `get_oid()` familyPatrick Steinhardt-11/+12
2025-03-10hash: stop depending on `the_repository` in `null_oid()`Patrick Steinhardt-1/+1
2025-03-10hash: fix "-Wsign-compare" warningsPatrick Steinhardt-1/+1
2025-01-31hash: provide generic wrappers to update hash contextsPatrick Steinhardt-0/+21
2025-01-31hash: stop typedeffing the hash contextPatrick Steinhardt-6/+5
2025-01-31hash: convert hashing context to a structurePatrick Steinhardt-6/+7
2025-01-23hash.h: drop unsafe_ function variantsTaylor Blau-15/+0
2025-01-23hash.h: introduce `unsafe_hash_algo()`Taylor Blau-1/+12
2024-10-03hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback modeJeff King-0/+3
2024-09-27Makefile: allow specifying a SHA-1 for non-cryptographic usesTaylor Blau-0/+30
2024-09-27hash.h: scaffolding for _unsafe hashing variantsTaylor Blau-0/+42
2024-06-14hash-ll: merge with "hash.h"Patrick Steinhardt-2/+360
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt-1/+3
2024-06-14hash: require hash algorithm in `is_empty_{blob,tree}_oid()`Patrick Steinhardt-10/+0
2024-06-14hash: make `is_null_oid()` independent of `the_repository`Patrick Steinhardt-5/+0
2024-06-14hash: convert `oidcmp()` and `oideq()` to compare whole hashPatrick Steinhardt-20/+0
2024-06-14global: ensure that object IDs are always paddedPatrick Steinhardt-16/+0
2024-06-14hash: require hash algorithm in `oidread()` and `oidclr()`Patrick Steinhardt-17/+0
2024-06-14hash: require hash algorithm in `hasheq()`, `hashcmp()` and `hashclr()`Patrick Steinhardt-22/+2
2024-06-14hash: drop (mostly) unused `is_empty_{blob,tree}_sha1()` functionsPatrick Steinhardt-10/+0
2023-10-02cache: add a function to read an OID of a specific algorithmbrian m. carlson-2/+7
2023-04-24hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren-272/+1
2023-02-23hash.h: move some oid-related declarations from cache.hElijah Newren-0/+34
2023-02-23treewide: remove unnecessary git-compat-util.h includes in headersElijah Newren-1/+0
2022-08-31Makefile + hash.h: remove PPC_SHA1 implementationÆvar Arnfjörð Bjarmason-4/+2
2022-07-10sha256: add support for Nettlebrian m. carlson-1/+3
2021-09-07hash.h: provide constants for the hash IDsHan-Wen Nienhuys-0/+6
2021-08-15oidtree: avoid unaligned access to crit-bit treeRené Scharfe-1/+1
2021-07-07oidcpy_with_padding: constify `src' argEric Wong-1/+1
2021-05-18parallel-checkout: send the new object_id algo field to the workersMatheus Tavares-0/+16
2021-04-27hash: provide per-algorithm null OIDsbrian m. carlson-2/+5
2021-04-27hash: set, copy, and use algo field in struct object_idbrian m. carlson-6/+34
2021-04-27hash: add a function to finalize object IDsbrian m. carlson-23/+27
2021-04-27hash: add an algo member to struct object_idbrian m. carlson-0/+1
2020-12-04cache.h: move hash/oid functions to hash.hJeff King-0/+95
2020-02-24hash: implement and use a context cloning functionbrian m. carlson-0/+21
2019-06-20hash.h: move object_id definition from cache.hJeff King-0/+24
2019-04-01hash: add a function to lookup hash algorithm by lengthbrian m. carlson-0/+2
2018-11-14hash: add an SHA-256 implementation using OpenSSLbrian m. carlson-0/+2
2018-11-14sha256: add an SHA-256 implementation using libgcryptbrian m. carlson-0/+4
2018-11-14Add a base implementation of SHA-256 supportbrian m. carlson-1/+18