]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'bc/sha-256'
authorJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2019 20:47:55 +0000 (12:47 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jan 2019 20:47:55 +0000 (12:47 -0800)
commit33e4ae9c509e0ecdc6508475f2974d275539616e
tree93aa27f2902d3257932d64962f724c66b7a50ef6
parent5d3635db19c6dff4fb063fabfa4161fd3b8285f0
parent4b4e2918099600c1eefe7b5a71bf647803905b7e
Merge branch 'bc/sha-256'

Add sha-256 hash and plug it through the code to allow building Git
with the "NewHash".

* bc/sha-256:
  hash: add an SHA-256 implementation using OpenSSL
  sha256: add an SHA-256 implementation using libgcrypt
  Add a base implementation of SHA-256 support
  commit-graph: convert to using the_hash_algo
  t/helper: add a test helper to compute hash speed
  sha1-file: add a constant for hash block size
  t: make the sha1 test-tool helper generic
  t: add basic tests for our SHA-1 implementation
  cache: make hashcmp and hasheq work with larger hashes
  hex: introduce functions to print arbitrary hashes
  sha1-file: provide functions to look up hash algorithms
  sha1-file: rename algorithm to "sha1"
Makefile
cache.h
commit-graph.c
sha1-file.c
t/helper/test-tool.c
t/helper/test-tool.h