| 1 |
|
| 2 |
|
| 3 |
y |
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
#ifndef _KeccakP_1600_SnP_h_ |
| 17 |
#define _KeccakP_1600_SnP_h_ |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#define KeccakP1600_implementation "in-place 32-bit optimized implementation" |
| 23 |
#define KeccakP1600_stateSizeInBytes 200 |
| 24 |
#define KeccakP1600_stateAlignment 8 |
| 25 |
|
| 26 |
#define KeccakP1600_StaticInitialize() |
| 27 |
void KeccakP1600_Initialize(void *state); |
| 28 |
void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset); |
| 29 |
void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length); |
| 30 |
void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length); |
| 31 |
void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount); |
| 32 |
void KeccakP1600_Permute_12rounds(void *state); |
| 33 |
void KeccakP1600_Permute_24rounds(void *state); |
| 34 |
void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length); |
| 35 |
void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length); |
| 36 |
|
| 37 |
#endif |