commit 404ccf622f3f84bc564e5805efbf883ca539dae6
parent 7f74790da7842bddc9d571b2de1939d53d1ab063
Author: Joris Vink <joris@coders.se>
Date: Fri, 18 Feb 2022 11:06:35 +0100
whitespace fixes
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sha2.c b/src/sha2.c
@@ -417,11 +417,11 @@ SHA256Transform(u_int32_t state[8], const u_int8_t data[SHA256_BLOCK_LENGTH])
/* Part of the message block expansion: */
s0 = W256[(j+1)&0x0f];
s0 = sigma0_256(s0);
- s1 = W256[(j+14)&0x0f];
+ s1 = W256[(j+14)&0x0f];
s1 = sigma1_256(s1);
/* Apply the SHA-256 compression function to update a..h */
- T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] +
+ T1 = h + Sigma1_256(e) + Ch(e, f, g) + K256[j] +
(W256[j&0x0f] += s1 + W256[(j+9)&0x0f] + s0);
T2 = Sigma0_256(a) + Maj(a, b, c);
h = g;