From 3324f00a8b094c86cee1f5a59ec6fc746663bd7e Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 18 Oct 2016 12:27:37 -0400 Subject: Add proper SHA-3 Kind of a copy and paste of Keccak, but only a single copy of the permutation at least. Keccak depends on SHA-3 instead of the reverse, so that SHA-3 can be enabled without also bringing in an unapproved hash function. Updates newhope code and removes API function newhope_hash which was an unofficial SHA-3-256. --- src/lib/hash/keccak/info.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/hash/keccak/info.txt') diff --git a/src/lib/hash/keccak/info.txt b/src/lib/hash/keccak/info.txt index 6fcd286a3..712a99c76 100644 --- a/src/lib/hash/keccak/info.txt +++ b/src/lib/hash/keccak/info.txt @@ -1 +1,5 @@ define KECCAK 20131128 + + +sha3 + -- cgit v1.2.3