Skip to content

Commit

Permalink
Merge pull request #608 from matthijskooijman/shrink-aeskey
Browse files Browse the repository at this point in the history
Remove unused room from AESKEY variable
  • Loading branch information
terrillmoore authored Dec 5, 2020
2 parents 79cdd0d + 4675f7b commit d1697f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aes/other.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
// This should be defined elsewhere
void lmic_aes_encrypt(u1_t *data, u1_t *key);

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

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

0 comments on commit d1697f7

Please sign in to comment.