chiark / gitweb /
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>