]> git.cryptolib.org Git - avr-crypto-lib.git/blob - twister/twister_tables.h
adjusting test system uart reference
[avr-crypto-lib.git] / twister / twister_tables.h
1 /******************************************************************
2  * S-BOX for Twister
3  *
4  *
5  *******************************************************************/
6
7 #include "config.h"
8 #include <stdint.h>
9
10 #ifndef TWISTER_TABLES_H_
11 #define TWISTER_TABLES_H_
12 extern const uint8_t twister_sbox[256];
13
14 #ifndef TWISTER_MUL_TABLE
15   
16 /* Twister MDS matrix */
17 extern const uint8_t twister_mds[8][8];
18   
19 #else
20
21 extern const uint8_t twister_mds[8][8];
22 extern const uint8_t twister_multab[8][256];
23
24 #endif
25
26 #endif
27