-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathdisplayIntermediateValues.h
34 lines (28 loc) · 1.3 KB
/
displayIntermediateValues.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
Implementation by the Keccak, Keyak and Ketje Teams, namely, Guido Bertoni,
Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer, hereby
denoted as "the implementer".
For more information, feedback or questions, please refer to our websites:
http://keccak.noekeon.org/
http://keyak.noekeon.org/
http://ketje.noekeon.org/
To the extent possible under law, the implementer has waived all copyright
and related or neighboring rights to the source code in this file.
http://creativecommons.org/publicdomain/zero/1.0/
*/
#ifndef _displayIntermediateValues_h_
#define _displayIntermediateValues_h_
#include <stdio.h>
#include "SnP-interface.h"
void displaySetIntermediateValueFile(FILE *f);
void displaySetLevel(int level);
void displayBytes(int level, const char *text, const unsigned char *bytes, unsigned int size);
void displayBits(int level, const char *text, const unsigned char *data, unsigned int size, int MSBfirst);
void displayStateAsBytes(int level, const char *text, const unsigned char *state);
#if (SnP_laneLengthInBytes == 8)
void displayStateAs32bitWords(int level, const char *text, const unsigned int *state);
#endif
void displayStateAsLanes(int level, const char *text, void *statePointer);
void displayRoundNumber(int level, unsigned int i);
void displayText(int level, const char *text);
#endif