Skip to content

Commit d1697f7

Browse files
authored
Merge pull request #608 from matthijskooijman/shrink-aeskey
Remove unused room from AESKEY variable
2 parents 79cdd0d + 4675f7b commit d1697f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aes/other.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
// This should be defined elsewhere
3535
void lmic_aes_encrypt(u1_t *data, u1_t *key);
3636

37-
// global area for passing parameters (aux, key) and for storing round keys
37+
// global area for passing parameters (aux, key)
3838
u4_t AESAUX[16/sizeof(u4_t)];
39-
u4_t AESKEY[11*16/sizeof(u4_t)];
39+
u4_t AESKEY[16/sizeof(u4_t)];
4040

4141
// Shift the given buffer left one bit
4242
static void shift_left(xref2u1_t buf, u1_t len) {

0 commit comments

Comments
 (0)