| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
In order to transparently support more than one hash function in the
future, we now pass the table version to hash_function(). The version
is always one at the moment, and only the sha1 hash is implemented
so far.
|
| |
|
|
|
|
|
| |
The file contains only the declaration of sha1_hash() and the
definition of HASH_SIZE This commit moves HASH_SIZE from sha1.h to
hash.h and moves the declaration of sha1_hash() to hash.h, the only
file which needs it.
|
| |
|
|
|
|
| |
The dependency on openssl was dropped six years ago in commit
f0884471. This commit corrects the stale comment that still says we
use openssl's sha1 implementation.
|
| |
|
|
|
| |
The project has been moved from systemlinux.org to people.tuebingen.mpg.de.
This commit updates all links and email addresses.
|
| | |
|
|
|
This code is taken straight from the paraslash package. It needs a
lot more work to transform it into a proper library package.
|