• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

READMEH A D24-Nov-2021819 2015

hash-infoH A D24-Nov-2021507 1812

oidH A D24-Nov-20211.9 KiB3231

README

1This directory contains various per-hash values that are used in the testsuite.
2
3Each file contains lines containing a key-value pair; blank lines and lines
4starting with `#` are ignored.  The key and value are separated by whitespace
5(specifically, those whitespace in the default `$IFS`).  The key consists only
6of shell identifier characters, and the value consists of a hash algorithm,
7colon, and value.  The hash algorithm also consists only of shell identifier
8characters; it should match the value in object-file.c.
9
10For example, the following lines map the key "rawsz" to "20" if SHA-1 is in use
11and to "32" if SHA-256 is in use:
12
13----
14rawsz sha1:20
15rawsz sha256:32
16----
17
18The keys and values used here are loaded by `test_oid_init` (see the README file
19in the "t" directory) and are used by calling `test_oid`.
20