altos: Increase AES IV buffer to hold maximum AES state
[fw/altos] / src / aes / ao_aes.c
index 0bc8188e3d2ae68c7eca2b78a214b473ce34b712..ce87e3a80bf491c09cd6f11bd760e30988c99dd2 100644 (file)
@@ -362,7 +362,7 @@ uint8_t ao_aes_mutex;
 static word32 key[16/4];
 static roundkey        rkk;
 
-static word32 iv[16/4];
+static word32 iv[32/4];
 
 void
 ao_aes_set_mode(enum ao_aes_mode mode)