diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-15 22:19:52 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-15 22:27:34 +0200 |
commit | 7c7fa369186536adaf9ff35ec356525b5c5a8379 (patch) | |
tree | bc70e26ffcc48a7d0a0a40e7c33e0cd48bd265fa /utils/imxtools/sbtools/sha1.c | |
parent | 58e27b9fa1e9ea058eb5161f140e0909c4821c92 (diff) | |
download | rockbox-7c7fa369186536adaf9ff35ec356525b5c5a8379.tar.gz rockbox-7c7fa369186536adaf9ff35ec356525b5c5a8379.zip |
sbtools,mkximboot: fix whitespace
Change-Id: I8d8adb783707172d1aaef302366c240310350ed8
Diffstat (limited to 'utils/imxtools/sbtools/sha1.c')
-rw-r--r-- | utils/imxtools/sbtools/sha1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/imxtools/sbtools/sha1.c b/utils/imxtools/sbtools/sha1.c index 0ad05bb5cd..cb34059166 100644 --- a/utils/imxtools/sbtools/sha1.c +++ b/utils/imxtools/sbtools/sha1.c | |||
@@ -106,7 +106,7 @@ void sha_1_block(struct sha_1_params_t *params, uint32_t cur_hash[5], byte *data | |||
106 | memmove(w, data, 64); | 106 | memmove(w, data, 64); |
107 | for(int i = 0; i < 16; i++) | 107 | for(int i = 0; i < 16; i++) |
108 | byte_swap32(&w[i]); | 108 | byte_swap32(&w[i]); |
109 | 109 | ||
110 | for(int i = 16; i <= 79; i++) | 110 | for(int i = 16; i <= 79; i++) |
111 | w[i] = rot_left(w[i - 3] ^ w[i - 8] ^ w[i - 14] ^ w[i - 16], 1); | 111 | w[i] = rot_left(w[i - 3] ^ w[i - 8] ^ w[i - 14] ^ w[i - 16], 1); |
112 | 112 | ||
@@ -141,7 +141,7 @@ void sha_1_block(struct sha_1_params_t *params, uint32_t cur_hash[5], byte *data | |||
141 | a = temp; | 141 | a = temp; |
142 | } | 142 | } |
143 | #undef w | 143 | #undef w |
144 | 144 | ||
145 | cur_hash[0] += a; | 145 | cur_hash[0] += a; |
146 | cur_hash[1] += b; | 146 | cur_hash[1] += b; |
147 | cur_hash[2] += c; | 147 | cur_hash[2] += c; |