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-Tag: 1.2.0~11 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb-python/commitdiff_plain/b35fdbe6fd7d9d46d5e195ae8cfd14d5729d3234?hp=b35fdbe6fd7d9d46d5e195ae8cfd14d5729d3234 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. ---