c64e115f |
1 | /* |
2 | The Keccak sponge function, designed by Guido Bertoni, Joan Daemen, |
3 | Michaƫl Peeters and Gilles Van Assche. For more information, feedback or |
4 | questions, please refer to our website: http://keccak.noekeon.org/ |
5 | |
6 | Implementation by the designers, |
7 | hereby denoted as "the implementer". |
8 | |
9 | To the extent possible under law, the implementer has waived all copyright |
10 | and related or neighboring rights to the source code in this file. |
11 | http://creativecommons.org/publicdomain/zero/1.0/ |
12 | */ |
13 | |
14 | #ifndef _displayIntermediateValues_h_ |
15 | #define _displayIntermediateValues_h_ |
16 | |
17 | #include <stdio.h> |
18 | |
19 | void displaySetIntermediateValueFile(FILE *f); |
20 | void displaySetLevel(int level); |
21 | void displayBytes(int level, const char *text, const unsigned char *bytes, unsigned int size); |
22 | void displayBits(int level, const char *text, const unsigned char *data, unsigned int size, int MSBfirst); |
23 | void displayStateAsBytes(int level, const char *text, const unsigned char *state); |
24 | void displayStateAs32bitWords(int level, const char *text, const unsigned int *state); |
25 | void displayStateAs64bitWords(int level, const char *text, const unsigned long long int *state); |
26 | void displayRoundNumber(int level, unsigned int i); |
27 | void displayText(int level, const char *text); |
28 | |
29 | #endif |