From: Mark Wooding Date: Thu, 11 May 2017 09:42:15 +0000 (+0100) Subject: algorithms.c: Add basic support for Keccak[1600, n]. X-Git-Url: https://git.distorted.org.uk/~mdw/pyke/commitdiff_plain/f85a70798732e77b5e334197eae3440fedba6c02 algorithms.c: Add basic support for Keccak[1600, n]. This takes the form of a simple object which encapsulates the Keccak[1600, n] state and allows mix and extract operations (which correspond to the I/O portions of absorb/squeeze and duplexing) and step, which actually invokes the permutation to advance the state. None of this keeps track of rate or capacity limits beyond the obvious memory-safety checks, so you can really screw yourself if you're not careful. --- diff --git a/catacomb-python.h b/catacomb-python.h index d7e2543..3b9d8f7 100644 --- a/catacomb-python.h +++ b/catacomb-python.h @@ -69,6 +69,7 @@ #include #include #include +#include #include #include