diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-11-14 04:09:33 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-14 16:54:52 +0900 |
commit | a2ce0a752600a44979da94b19aa1b367c6850bd7 (patch) | |
tree | 8053b48486e56cd2719508fa4f996e22997d989f /compat/precompose_utf8.h | |
parent | t: make the sha1 test-tool helper generic (diff) | |
download | tgif-a2ce0a752600a44979da94b19aa1b367c6850bd7.tar.xz |
sha1-file: add a constant for hash block size
There is one place we need the hash algorithm block size: the HMAC code
for push certs. Expose this constant in struct git_hash_algo and expose
values for SHA-1 and for the largest value of any hash.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/precompose_utf8.h')
0 files changed, 0 insertions, 0 deletions