Index: vendor/aes/aes.c ================================================================== --- vendor/aes/aes.c +++ vendor/aes/aes.c @@ -339,10 +339,11 @@ ((y>>3 & 1) * xtime(xtime(xtime(x)))) ^ \ ((y>>4 & 1) * xtime(xtime(xtime(xtime(x)))))) \ #endif +#if (defined(CBC) && CBC == 1) || (defined(ECB) && ECB == 1) // MixColumns function mixes the columns of the state matrix. // The method used to multiply may be difficult to understand for the inexperienced. // Please use the references to gain more information. static void InvMixColumns(state_t* state) { @@ -402,11 +403,11 @@ (*state)[0][3] = (*state)[1][3]; (*state)[1][3] = (*state)[2][3]; (*state)[2][3] = (*state)[3][3]; (*state)[3][3] = temp; } - +#endif // #if (defined(CBC) && CBC == 1) || (defined(ECB) && ECB == 1) // Cipher is the main function that encrypts the PlainText. static void Cipher(state_t* state, uint8_t* RoundKey) { uint8_t round = 0; Index: vendor/aes/version ================================================================== --- vendor/aes/version +++ vendor/aes/version @@ -1,1 +1,1 @@ -https://github.com/kokke/tiny-AES-c/commit/ce24c0db9d7543787e2571dd316c1225ada865ef +https://github.com/kokke/tiny-AES-c/commit/2c88f70a20517078b4eebf4805154c1f6cfb2310