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