diff --git a/crypto/aes_ti.c b/crypto/aes_ti.c index 1ff9785b30f5..05a7a1d734d0 100644 --- a/crypto/aes_ti.c +++ b/crypto/aes_ti.c @@ -268,7 +268,7 @@ static void aesti_encrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); const u32 *rkp = ctx->key_enc + 4; int rounds = 6 + ctx->key_length / 4; - u32 st0[4], st1[4]; + u32 st0[4] = {0}, st1[4] = {0}; unsigned long flags; int round; @@ -316,7 +316,7 @@ static void aesti_decrypt(struct crypto_tfm *tfm, u8 *out, const u8 *in) const struct crypto_aes_ctx *ctx = crypto_tfm_ctx(tfm); const u32 *rkp = ctx->key_dec + 4; int rounds = 6 + ctx->key_length / 4; - u32 st0[4], st1[4]; + u32 st0[4] = {0}, st1[4] = {0}; unsigned long flags; int round;