This is a C99 implementation of CubeHash160-16/32-160-h and CubeHash16-16/32-32-h, Daniel J. Bernstein's two submissions to round 2 of the NIST hash function competition.
It is based on the author's own implementation using EMM intrinsics, which can be found as part of SUPERCOP (crypto_hash/cubehash1632/emmintrin4/
) and its mirror on GitHub (direct link to folder).