php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
KeccakP-1600-SnP.h
Go to the documentation of this file.
1/*
2Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni,
3Joan Daemen, Michaƫl Peeters, Gilles Van Assche and Ronny Van Keer, hereby
4denoted as "the implementer".
5
6For more information, feedback or questions, please refer to our websites:
7http://keccak.noekeon.org/
8http://keyak.noekeon.org/
9http://ketje.noekeon.org/
10
11To the extent possible under law, the implementer has waived all copyright
12and related or neighboring rights to the source code in this file.
13http://creativecommons.org/publicdomain/zero/1.0/
14*/
15
16#ifndef _KeccakP_1600_SnP_h_
17#define _KeccakP_1600_SnP_h_
18
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()
28void KeccakP1600_AddByte(void *state, unsigned char data, unsigned int offset);
29void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
30void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length);
31void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount);
32void KeccakP1600_Permute_Nrounds(void *state, unsigned int nrounds);
35void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length);
36void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length);
37
38#endif
zend_long offset
void KeccakP1600_OverwriteWithZeroes(void *state, unsigned int byteCount)
void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *input, unsigned char *output, unsigned int offset, unsigned int length)
void KeccakP1600_Permute_24rounds(void *state)
void KeccakP1600_ExtractBytes(const void *state, unsigned char *data, unsigned int offset, unsigned int length)
void KeccakP1600_Initialize(void *state)
void KeccakP1600_Permute_12rounds(void *state)
void KeccakP1600_AddBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
void KeccakP1600_Permute_Nrounds(void *state, unsigned int nrounds)
void KeccakP1600_OverwriteBytes(void *state, const unsigned char *data, unsigned int offset, unsigned int length)
#define KeccakP1600_AddByte(state, byte, offset)
zend_constant * data