mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 05:29:58 +00:00
sha1: small tweak for clearer code, no logic changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
f4c93ab304
commit
03a5fe378e
@ -539,7 +539,7 @@ static void FAST_FUNC sha1_process_block64(sha1_ctx_t *ctx)
|
||||
W[cnt] = W[cnt+16] = rotl32(W[cnt+13] ^ W[cnt+8] ^ W[cnt+2] ^ W[cnt], 1);
|
||||
work += W[cnt];
|
||||
}
|
||||
work = e + work + rotl32(a, 5) + rconsts[i];
|
||||
work += e + rotl32(a, 5) + rconsts[i];
|
||||
|
||||
/* Rotate by one for next time */
|
||||
e = d;
|
||||
|
Loading…
Reference in New Issue
Block a user