Adding reference implementation
[kalyna-python] / tables.h
1 /*
2
3 Header file for S-boxes and MDS-matrices for the reference implementation of the Kalyna block cipher (DSTU 7624:2014)
4
5 Authors: Ruslan Kiianchuk, Ruslan Mordvinov, Roman Oliynykov
6
7 */
8
9 #ifndef KALYNA_TABLES_H
10 #define KALYNA_TABLES_H
11
12 #include "kalyna.h"
13
14 extern uint8_t mds_matrix[8][8];
15 extern uint8_t mds_inv_matrix[8][8];
16
17 extern uint8_t sboxes_enc[4][256];
18 extern uint8_t sboxes_dec[4][256];
19
20 #endif /* KALYNA_TABLES_H */
21