From 75524b72d170ac2f08b5808f1e8e9665d3442373 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 16 Apr 2019 15:10:55 +0200 Subject: [PATCH] style --- armsrc/optimized_cipher.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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;