diff options
author | kokke <spam@rowdy.dk> | 2018-12-03 10:27:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 10:27:52 +0100 |
commit | 0677e48a4980cc3695bc0f4dab89bad8708d16ea (patch) | |
tree | b36fe7b3f91daa8b5d2acca2ecfc8259bdf1804a | |
parent | Update aes.c (diff) | |
download | tiny-AES-c-0677e48a4980cc3695bc0f4dab89bad8708d16ea.tar tiny-AES-c-0677e48a4980cc3695bc0f4dab89bad8708d16ea.tar.gz tiny-AES-c-0677e48a4980cc3695bc0f4dab89bad8708d16ea.tar.bz2 tiny-AES-c-0677e48a4980cc3695bc0f4dab89bad8708d16ea.tar.lz tiny-AES-c-0677e48a4980cc3695bc0f4dab89bad8708d16ea.tar.xz tiny-AES-c-0677e48a4980cc3695bc0f4dab89bad8708d16ea.tar.zst tiny-AES-c-0677e48a4980cc3695bc0f4dab89bad8708d16ea.zip |
-rw-r--r-- | aes.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -182,11 +182,11 @@ static void KeyExpansion(uint8_t* RoundKey, const uint8_t* Key) // Function RotWord() { - uint8_t tmpu8 = tempa[0]; + const uint8_t u8tmp = tempa[0]; tempa[0] = tempa[1]; tempa[1] = tempa[2]; tempa[2] = tempa[3]; - tempa[3] = tmpu8; + tempa[3] = u8tmp; } // SubWord() is a function that takes a four-byte input word and |