diff options
author | kokke <spam@rowdy.dk> | 2018-11-30 09:01:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-30 09:01:13 +0100 |
commit | 691aa01d4ab80c3dcc50f36408f0383f785e1977 (patch) | |
tree | 020481d78ac8f164ae7dedcde3f78abb3de7e3de | |
parent | new target for building static library: make lib (diff) | |
download | tiny-AES-c-691aa01d4ab80c3dcc50f36408f0383f785e1977.tar tiny-AES-c-691aa01d4ab80c3dcc50f36408f0383f785e1977.tar.gz tiny-AES-c-691aa01d4ab80c3dcc50f36408f0383f785e1977.tar.bz2 tiny-AES-c-691aa01d4ab80c3dcc50f36408f0383f785e1977.tar.lz tiny-AES-c-691aa01d4ab80c3dcc50f36408f0383f785e1977.tar.xz tiny-AES-c-691aa01d4ab80c3dcc50f36408f0383f785e1977.tar.zst tiny-AES-c-691aa01d4ab80c3dcc50f36408f0383f785e1977.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() { - k = tempa[0]; + uint8_t tmpu8 = tempa[0]; tempa[0] = tempa[1]; tempa[1] = tempa[2]; tempa[2] = tempa[3]; - tempa[3] = k; + tempa[3] = tmpu8; } // SubWord() is a function that takes a four-byte input word and |