Commits
- Commit:
079a296c54f560fb82144704231757db030e9b03
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix fallout; mostly struct got_object_id zeroing
- Commit:
2d9874c22b16a541dd8300cf257123c5aaf88e5e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump hash size and add algo field to got_object_id; fix a few places
- Commit:
8b31a0aefbf1931c90d3c61209474865e0695308
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bubble up the algo argument
- Commit:
a41a7d4af7426fd81c7dcb8b98dae1c7d9ea9acd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename "sha1" field to "hash"
done with
X ,x/\.sha1/c/hash
X ,x/->sha1/c/->hash
in sam after loading all the C files; except for one manual tweak in
hash.c
- Commit:
b74bd7ab16a541c7e40d2f73187e0455f5416bb2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
inflate: support sha256
- Commit:
82f7e4c89aedcb1b224d85a6a5f2ae78b16bc943
- From:
- Omar Polo <op@omarpolo.com>
- Date:
introduce more helpers to deal with different hash digests
- Commit:
0be5386d2f5cb3b62d4c63218734063b97053417
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide functions to parse/serialize sha256 digest plus a generic helper
it abstracts over the hash type. Needed by the incoming sha256 support.
- Commit:
4123af3c87c004ce1cbcb2b9e33521eb235603f1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename lib/sha1.c to lib/hash.c
- Commit:
e83f12a6cd77a496e5c30f0154aced0d04962189
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include sha2.h where sha1.h is included
- Commit:
3c23f6cdb61cc63d6fd9ecbcc015cd1347793eb1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
introduce got_error_checksum
ok stsp@
- Commit:
bbc740ac4905ed0d4ba6334f6225c8f8c9f3c394
- From:
- Omar Polo <op@omarpolo.com>
- Date:
introduce got_object_id_hex to replace some got_sha1_digest_to_str()
It's an analogous to got_object_id_str but writes to the given buffer.
ok + improvements by stsp@
- Commit:
7f959095d870780b8583469cb15673aba6164da2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use got_object_id_cmp instad of memcmp where possible in object_parse.c
ok stsp@
- Commit:
00d10bca0a12585f81942e747b330101d0f7303a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
fix typo: overlapping comparison always evaluates false
ok stsp@
- Commit:
99fd9ff4bf6d3bee4a29f13ef4ae81aa36fdd4d5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
always cast ctype' is*() arguments to unsigned char
ok stsp@
- Commit:
758dc042e8fc2399dc58d96ce6d80b4a0adf4705
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos