Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | include: Revise printing hashes | Dimitri Staessens | 2023-08-23 | 1 | -0/+182 |
The code was a bit convoluted to print hashes as hex strings. Renamed to HASH_FMT32 and HASH_VAL32 to make clear we are printing the first 32 bits only, and added options to print 64 up to 512 bits as well. This doesn't depend on endianness anymore. Adds a small test for the hash (printing) functions. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]> |