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:
d4eec7d5a4198505ab2a13e256444d57033846b9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle repository format version 1 and objectformat extension
- Commit:
42b6bfc81cdd6a9cba14c9d8916aeddbe561a356
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add field to got_packidx to propagate the hash algo
allows to drop all the `algo' hardcodings in lib/pack.c and pack_idx.c
- Commit:
f57598a25f07ea6b68f64ef9369142b9c056eb05
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle both sha1 and sha256 object ids in pack files
bump got_packidx_object_id so it can hold a sha256 digest and adapt
the code to read the needed type of hash.
- Commit:
d6720956975e97012cad5147fc6fa9b599a72b1b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an hash algo field to got_pack - maybe useless
- Commit:
8b31a0aefbf1931c90d3c61209474865e0695308
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bubble up the algo argument
- Commit:
c66ecbcb0a2490fb69c7a79d2b794fa9404c3053
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust GOT_PACKIDX_NAMELEN for sha256 packs
- Commit:
2e17b4a13c5799df8b2f315a4e457d35a7571597
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename pack{file,idx}_sha1 to _hash
- 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:
95b631b25683415ef380e22998436c28ad3e34c0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add got_repo_get_object_format()
...and use it to avoid hardcoding the algo in a few places.
- 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:
3f81ccbdc1260ec6bd1465a10f6cc3a530a991b3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add functions to compute hashes
This adds a set of functions to abstract over SHA1Init, SHA1Update,
SHA1Final, their respective SHA256 variants and how to compare digests.
It's a preparatory step for sha256 pack handling.
- 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.