chiark / gitweb /
crypto: Copy a SHA512 implementation into tree
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 Jul 2013 17:30:48 +0000 (18:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 25 Jul 2013 17:30:48 +0000 (18:30 +0100)
commitb4a26b17a38c3dd1cc6e086a17649b94b0ab8e37
tree00f16686093672e93e0e2a7ce81b028ace1a212e
parent980d1ab2235744190faa17dd9ed038cc7f2576f5
crypto: Copy a SHA512 implementation into tree

We are going to want an implementation of SHA512 (initially for
hashing DH secrets into EAX keys).

Copy the version from coreutils 8.5, along with u64.h.

In this patch, we commit exactly the files from coreutils.  They will
be made to compile later.  Doing it this way means we can more easily
isolate changes we have to make.

Copying these files from coreutils makes secnet GPL-3+.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
COPYING
sha512.c [new file with mode: 0644]
sha512.h [new file with mode: 0644]
u64.h [new file with mode: 0644]