S.MG, 2018 This is part of EuCrypt: an S.MG *bit-level* (i.e. independent of endianness) implementation of Keccak, according to "The Keccak reference", version 3.0, January 14, 2011. A few automated tests are provided in tests/.