X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=cscipher%2Fcscipher_small.c;h=640bcf271bb373408f08d61436d82bf276dc8c67;hb=33d65e8032f77c1cbec1bc99e898affc96966c3c;hp=220bcc9247fca9b62f2849b3fa4d79ed9977b722;hpb=d1181933dc28db92d787cf5604e2fc96ab0d8f9f;p=avr-crypto-lib.git diff --git a/cscipher/cscipher_small.c b/cscipher/cscipher_small.c index 220bcc9..640bcf2 100644 --- a/cscipher/cscipher_small.c +++ b/cscipher/cscipher_small.c @@ -57,11 +57,11 @@ uint8_t p(uint8_t a){ #define P(a) pgm_read_byte(cscipher_sbox+(a)) #endif -static uint8_t round_const[] PROGMEM = { +static const uint8_t round_const[] PROGMEM = { 0xb7, 0xe1, 0x51, 0x62, 0x8a, 0xed, 0x2a, 0x6a, 0xbf, 0x71, 0x58, 0x80, 0x9c, 0xf4, 0xf3, 0xc7 }; -static uint8_t ks_const[] PROGMEM = { +static const uint8_t ks_const[] 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,