diff options
Diffstat (limited to 'src/constants.h')
| -rw-r--r-- | src/constants.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/constants.h b/src/constants.h new file mode 100644 index 0000000..a786023 --- /dev/null +++ b/src/constants.h @@ -0,0 +1,16 @@ +#ifndef CONSTANTS_H +#define CONSTANTS_H + +#include <stdint.h> + + +/* Tweakey permutation */ +extern const uint8_t h[8]; + +/* Tweakey multiplication */ +extern const uint8_t P[6][256]; + +/* Lilliput S-box */ +extern const uint8_t S[256]; + +#endif /* CONSTANTS_H */ |
