#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <ctype.h>#include "Keccak.h"

Defines | |
| #define | MAX_MARKER_LEN 50 |
| #define | SUBMITTER_INFO_LEN 128 |
| #define | SqueezingOutputLength 4096 |
Typedefs | |
| typedef unsigned char | BitSequence |
Enumerations | |
| enum | STATUS_CODES { KAT_SUCCESS = 0, KAT_FILE_OPEN_ERROR = 1, KAT_HEADER_ERROR = 2, KAT_DATA_ERROR = 3, KAT_HASH_ERROR = 4 } |
Functions | |
| STATUS_CODES | genShortMsg (int hashbitlen) |
| int | FindMarker (FILE *infile, const char *marker) |
| int | ReadHex (FILE *infile, BitSequence *A, int Length, char *str) |
| void | fprintBstr (FILE *fp, char *S, BitSequence *A, int L) |
| void | genKATShortMsg_main () |
| void | fromNISTConventionToInternalConvention (BitSequence *Msg, int msglen) |
| #define MAX_MARKER_LEN 50 |
| #define SqueezingOutputLength 4096 |
| #define SUBMITTER_INFO_LEN 128 |
| typedef unsigned char BitSequence |
| enum STATUS_CODES |
| int FindMarker | ( | FILE * | infile, | |
| const char * | marker | |||
| ) |
| void fprintBstr | ( | FILE * | fp, | |
| char * | S, | |||
| BitSequence * | A, | |||
| int | L | |||
| ) |
| void fromNISTConventionToInternalConvention | ( | BitSequence * | Msg, | |
| int | msglen | |||
| ) |
| void genKATShortMsg_main | ( | ) |
| STATUS_CODES genShortMsg | ( | int | hashbitlen | ) |
| int ReadHex | ( | FILE * | infile, | |
| BitSequence * | A, | |||
| int | Length, | |||
| char * | str | |||
| ) |
1.5.6