summaryrefslogtreecommitdiff
path: root/sha3.c (follow)
Commit message (Collapse)AuthorAge
* Version 3 tables.Andre Noll2020-06-17
| | | | | | | | | | This adds support for yet another hash function: sha256. We keep the Keccak Hash as version #2, because it works well and has been around for years in an experimental branch of this repo. As for Keccak, we only use 20 bytes of the sha256 hash, which is safe enough and helps to keep the patch as small as possible. The sha256 implementation was taken from git v2.25.1.
* Add sha3 implementation, introduce version-2 tables.Andre Noll2020-06-17
This adds support for version-2 tables which use a variant of the Keccec hash family rather than sha1. The only difference between the two table versions is the different hash function. Both hash functions create 20-byte output. Version-1 tables are still supported, but new tables are always created in v2 format.