bring in keccak symbols
[mobile-com.git] / DH-Keccak / assets / KremKeccak / KeccakF-1600-interface.h
CommitLineData
c64e115f 1/*
2The Keccak sponge function, designed by Guido Bertoni, Joan Daemen,
3Michaƫl Peeters and Gilles Van Assche. For more information, feedback or
4questions, please refer to our website: http://keccak.noekeon.org/
5
6Implementation by the designers,
7hereby denoted as "the implementer".
8
9To the extent possible under law, the implementer has waived all copyright
10and related or neighboring rights to the source code in this file.
11http://creativecommons.org/publicdomain/zero/1.0/
12*/
13
14#ifndef _KeccakPermutationInterface_h_
15#define _KeccakPermutationInterface_h_
16
17#include "KeccakF-1600-int-set.h"
18
19void KeccakInitialize( void );
20void KeccakInitializeState(unsigned char *state);
21void KeccakPermutation(unsigned char *state);
22#ifdef ProvideFast576
23void KeccakAbsorb576bits(unsigned char *state, const unsigned char *data);
24#endif
25#ifdef ProvideFast832
26void KeccakAbsorb832bits(unsigned char *state, const unsigned char *data);
27#endif
28#ifdef ProvideFast1024
29void KeccakAbsorb1024bits(unsigned char *state, const unsigned char *data);
30#endif
31#ifdef ProvideFast1088
32void KeccakAbsorb1088bits(unsigned char *state, const unsigned char *data);
33#endif
34#ifdef ProvideFast1152
35void KeccakAbsorb1152bits(unsigned char *state, const unsigned char *data);
36#endif
37#ifdef ProvideFast1344
38void KeccakAbsorb1344bits(unsigned char *state, const unsigned char *data);
39#endif
40void KeccakAbsorb(unsigned char *state, const unsigned char *data, unsigned int laneCount);
41#ifdef ProvideFast1024
42void KeccakExtract1024bits(const unsigned char *state, unsigned char *data);
43#endif
44void KeccakExtract(const unsigned char *state, unsigned char *data, unsigned int laneCount);
45
46#endif