1 /* code was modified by george spanos <spaniakos@gmail.com>
5 #ifndef __AES_CONFIG_H__
6 #define __AES_CONFIG_H__
8 #if (defined(__linux) || defined(linux)) && !defined(__ARDUINO_X86__)
25 #if defined(__ARDUINO_X86__) || (defined (__linux) || defined (linux))
27 #define PROGMEM __attribute__(( section(".progmem.data") ))
28 #define pgm_read_byte(p) (*(p))
29 typedef unsigned char byte;
30 #define printf_P printf
33 #if (defined(__AVR__))
34 #include <avr/pgmspace.h>
42 #define N_BLOCK (N_ROW * N_COL)
43 #define N_MAX_ROUNDS 14
44 #define KEY_SCHEDULE_BYTES ((N_MAX_ROUNDS + 1) * N_BLOCK)