diff --git a/armsrc/optimized_cipher.c b/armsrc/optimized_cipher.c index faf739beb..fee3c156f 100644 --- a/armsrc/optimized_cipher.c +++ b/armsrc/optimized_cipher.c @@ -112,7 +112,7 @@ void opt_successor(const uint8_t *k, State *s, bool y, State *successor) { void opt_suc(const uint8_t *k, State *s, uint8_t *in, uint8_t length, bool add32Zeroes) { State x2; int i; - uint8_t head = 0; + uint8_t head; for (i = 0; i < length; i++) { head = 1 & (in[i] >> 7); opt_successor(k, s, head, &x2); @@ -149,8 +149,7 @@ void opt_suc(const uint8_t *k, State *s, uint8_t *in, uint8_t length, bool add32 } void opt_output(const uint8_t *k, State *s, uint8_t *buffer) { - uint8_t times = 0; - uint8_t bout = 0; + uint8_t bout, times = 0; State temp = {0, 0, 0, 0}; for (; times < 4; times++) { bout = 0;