Update aes.c

This commit is contained in:
kokke
2017-07-08 03:19:45 +02:00
committed by GitHub
parent 15caccd122
commit 2138696a3d

4
aes.c
View File

@@ -434,7 +434,7 @@ static void InvCipher(void)
// There will be Nr rounds. // There will be Nr rounds.
// The first Nr-1 rounds are identical. // The first Nr-1 rounds are identical.
// These Nr-1 rounds are executed in the loop below. // These Nr-1 rounds are executed in the loop below.
for(round=Nr-1;round>0;round--) for (round = (Nr - 1); round > 0; --round)
{ {
InvShiftRows(); InvShiftRows();
InvSubBytes(); InvSubBytes();
@@ -483,7 +483,7 @@ void AES_ECB_decrypt(const uint8_t* input, const uint8_t* key, uint8_t *output,
} }
#endif // #if defined(ECB) && ECB #endif // #if defined(ECB) && (ECB == 1)