]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - aes/aes_invsbox.c
a lot of fixes
[avr-crypto-lib.git] / aes / aes_invsbox.c
index 921ff49eee2065eb1d1ee2a36a6a4a3c5b75a0d0..6517264a8833a5b78d0756d730d3fdc3821610ee 100644 (file)
@@ -2,7 +2,7 @@
 
 #include <stdint.h>
 #include <avr/pgmspace.h>
-uint8_t aes_invsbox[256] PROGMEM = {
+const uint8_t aes_invsbox[256] PROGMEM = {
  0x52, 0x09, 0x6a, 0xd5, 0x30, 0x36, 0xa5, 0x38, 0xbf, 0x40, 0xa3, 0x9e, 0x81, 0xf3, 0xd7, 0xfb,
  0x7c, 0xe3, 0x39, 0x82, 0x9b, 0x2f, 0xff, 0x87, 0x34, 0x8e, 0x43, 0x44, 0xc4, 0xde, 0xe9, 0xcb,
  0x54, 0x7b, 0x94, 0x32, 0xa6, 0xc2, 0x23, 0x3d, 0xee, 0x4c, 0x95, 0x0b, 0x42, 0xfa, 0xc3, 0x4e,