X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=bmw%2Fbmw_small.c;h=c9a011c8e7962d0d3cb2ab3766a32768c96bd6be;hp=273738c0078b79f8b4f8c44889011aa380f23c52;hb=2873506dc8ebc5657d24af0ad5eab1fc06ce09e9;hpb=9370f0f89a5021cfeefbf35054f82e37533c7249 diff --git a/bmw/bmw_small.c b/bmw/bmw_small.c index 273738c..c9a011c 100644 --- a/bmw/bmw_small.c +++ b/bmw/bmw_small.c @@ -271,8 +271,8 @@ uint32_t bmw_small_expand2(uint8_t j, const uint32_t* q, const void* m, const vo #if F0_HACK==2 /* to understand this implementation take a look at f0-opt-table.txt */ -uint16_t hack_table[5] PROGMEM = { 0x0311, 0xDDB3, 0x2A79, 0x07AA, 0x51C2 }; -uint8_t offset_table[5] PROGMEM = { 4+16, 6+16, 9+16, 12+16, 13+16 }; +static uint16_t hack_table[5] PROGMEM = { 0x0311, 0xDDB3, 0x2A79, 0x07AA, 0x51C2 }; +static uint8_t offset_table[5] PROGMEM = { 4+16, 6+16, 9+16, 12+16, 13+16 }; static void bmw_small_f0(uint32_t* q, uint32_t* h, const void* m){