]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - cscipher/cscipher_sbox.c
a lot of fixes
[avr-crypto-lib.git] / cscipher / cscipher_sbox.c
index 4794b4b50e2b1595d4d7263e1187208229109924..18cd76a54bf7a10cb0943959f70eb2bd9e3d87dd 100644 (file)
@@ -20,7 +20,7 @@
 #include <stdint.h>
 #include <avr/pgmspace.h>
 
-uint8_t cscipher_sbox[] PROGMEM = {
+const uint8_t cscipher_sbox[] PROGMEM = {
        0x29, 0x0d, 0x61, 0x40, 0x9c, 0xeb, 0x9e, 0x8f, 0x1f, 0x85, 0x5f, 0x58, 0x5b, 0x01, 0x39, 0x86,
        0x97, 0x2e, 0xd7, 0xd6, 0x35, 0xae, 0x17, 0x16, 0x21, 0xb6, 0x69, 0x4e, 0xa5, 0x72, 0x87, 0x08,
        0x3c, 0x18, 0xe6, 0xe7, 0xfa, 0xad, 0xb8, 0x89, 0xb7, 0x00, 0xf7, 0x6f, 0x73, 0x84, 0x11, 0x63,