Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in

Delta Between Two Patch Sets: Modules/_sha3/kcp/KeccakP-1600-SnP-opt32.h

Issue 16113: Add SHA-3 (Keccak) support
Left Patch Set: Created 7 years, 6 months ago
Right Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « Modules/_sha3/kcp/KeccakP-1600-SnP.h ('k') | Modules/_sha3/kcp/KeccakP-1600-SnP-opt64.h » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
(no file at all)
1 /*
2 Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni,
3 Joan Daemen, Michaƫl Peeters, Gilles Van Assche and Ronny Van Keer, hereby
4 denoted as "the implementer".
6 For more information, feedback or questions, please refer to our websites:
7 http://keccak.noekeon.org/
8 http://keyak.noekeon.org/
9 http://ketje.noekeon.org/
11 To the extent possible under law, the implementer has waived all copyright
12 and related or neighboring rights to the source code in this file.
13 http://creativecommons.org/publicdomain/zero/1.0/
14 */
16 #ifndef _KeccakP_1600_SnP_h_
17 #define _KeccakP_1600_SnP_h_
19 /** For the documentation, see SnP-documentation.h.
20 */
22 #define KeccakP1600_implementation "in-place 32-bit optimized implementatio n"
23 #define KeccakP1600_stateSizeInBytes 200
24 #define KeccakP1600_stateAlignment 8
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 o ffset, 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 i nt offset, unsigned int length);
35 void KeccakP1600_ExtractAndAddBytes(const void *state, const unsigned char *inpu t, unsigned char *output, unsigned int offset, unsigned int length);
37 #endif

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+