Skip to content

File libkeccak.h

FileList > code_source > templat > include > TempLat > util > hash > libkeccak.h

Go to the source code of this file

More...

Classes

Type Name
struct TrueKeccak
WV: turned this in a class for lazy inlining.

Macros

Type Name
define ROL64 (a, offset) ((((UINT64)a) << offset) ^ (((UINT64)a) >> (64 - offset)))
define TEMPLAT_UTIL_HASH_LIBKECCAK_H_BIG_ENDIAN
define XORLane (x, y, lane) xor64((UINT8 \*)state + sizeof(tKeccakLane) \* i(x, y), lane)
define i (x, y) ((x) + 5 \* (y))
define readLane (x, y) load64((UINT8 \*)state + sizeof(tKeccakLane) \* i(x, y))
define writeLane (x, y, lane) store64((UINT8 \*)state + sizeof(tKeccakLane) \* i(x, y), lane)

Detailed Description

Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni, Joan Daemen, Michaƫl Peeters, Gilles Van Assche and Ronny Van Keer, hereby denoted as "the implementer".

For more information, feedback or questions, please refer to our websites: http://keccak.noekeon.org/ http://keyak.noekeon.org/ http://ketje.noekeon.org/

To the extent possible under law, the implementer has waived all copyright and related or neighboring rights to the source code in this file. http://creativecommons.org/publicdomain/zero/1.0/

Macro Definition Documentation

define ROL64

#define ROL64 (
    a,
    offset
) `((((UINT64)a) << offset) ^ (((UINT64)a) >> (64 - offset)))`

define TEMPLAT_UTIL_HASH_LIBKECCAK_H_BIG_ENDIAN

#define TEMPLAT_UTIL_HASH_LIBKECCAK_H_BIG_ENDIAN 

define XORLane

#define XORLane (
    x,
    y,
    lane
) `xor64((UINT8 *)state + sizeof(tKeccakLane) * i(x, y), lane)`

define i

#define i (
    x,
    y
) `((x) + 5 * (y))`

define readLane

#define readLane (
    x,
    y
) `load64((UINT8 *)state + sizeof(tKeccakLane) * i(x, y))`

define writeLane

#define writeLane (
    x,
    y,
    lane
) `store64((UINT8 *)state + sizeof(tKeccakLane) * i(x, y), lane)`


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/hash/libkeccak.h