summaryrefslogtreecommitdiff
path: root/src/libstdcrypto/sha512_transform.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstdcrypto/sha512_transform.c')
-rw-r--r--src/libstdcrypto/sha512_transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstdcrypto/sha512_transform.c b/src/libstdcrypto/sha512_transform.c
index b28e97b..7b94adf 100644
--- a/src/libstdcrypto/sha512_transform.c
+++ b/src/libstdcrypto/sha512_transform.c
@@ -74,7 +74,7 @@ void sha512_transform (SHA512Schedule *ctx, unsigned char const *block)
register unsigned int i = 0 ;
for (; i < 16 ; i++) uint64_unpack_big((char const *)block + (i << 3), w + i) ;
- for (; i < 80; i++) w[i] = R1(w[i-2]) + w[i-7] + R0(w[i-15]) + w[i-16] ;
+ for (; i < 80 ; i++) w[i] = R1(w[i-2]) + w[i-7] + R0(w[i-15]) + w[i-16] ;
for (i = 0 ; i < 8 ; i++) h[i] = ctx->h[i] ;
for (i = 0 ; i < 80 ; i++)
{