# endif
#endif
#include <assert.h>
+#include <stdint.h>
#include <aversive.h>
#include "aes_locl.h"
#ifdef USE_PGMMEM
-prog_uint32_t Te0_[256] = {
+__attribute__((progmem)) const uint32_t Te0_[256] = {
#else
static const uint32_t Te0_[256] = {
#endif
#endif
#ifdef USE_PGMMEM
-prog_uint8_t Te4_[256] = {
+__attribute__((progmem)) const uint8_t Te4_[256] = {
#else
static const u8 Te4_[256] = {
#endif
#ifdef USE_PGMMEM
-prog_uint32_t Td0_[256] = {
+__attribute__((progmem)) const uint32_t Td0_[256] = {
#else
static const uint32_t Td0_[256] = {
#endif
#endif
#ifdef USE_PGMMEM
-prog_uint8_t Td4_[256] = {
+__attribute__((progmem)) const uint8_t Td4_[256] = {
#else
static const u8 Td4_[256] = {
#endif