Index: vendor/aes/aes.c ================================================================== --- vendor/aes/aes.c +++ vendor/aes/aes.c @@ -430,10 +430,11 @@ SubBytes(state); ShiftRows(state); AddRoundKey(Nr, state, RoundKey); } +#if (defined(CBC) && CBC == 1) || (defined(ECB) && ECB == 1) static void InvCipher(state_t* state,uint8_t* RoundKey) { uint8_t round = 0; // Add the First round key to the state before starting the rounds. @@ -454,11 +455,11 @@ // The MixColumns function is not here in the last round. InvShiftRows(state); InvSubBytes(state); AddRoundKey(0, state, RoundKey); } - +#endif // #if (defined(CBC) && CBC == 1) || (defined(ECB) && ECB == 1) /*****************************************************************************/ /* Public functions: */ /*****************************************************************************/ #if defined(ECB) && (ECB == 1) Index: vendor/aes/version ================================================================== --- vendor/aes/version +++ vendor/aes/version @@ -1,1 +1,1 @@ -https://github.com/kokke/tiny-AES-c/commit/0677e48a4980cc3695bc0f4dab89bad8708d16ea +https://github.com/kokke/tiny-AES-c/commit/ce24c0db9d7543787e2571dd316c1225ada865ef