summaryrefslogtreecommitdiff
path: root/src/libstdcrypto/sha1_init.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-01-21 15:46:20 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-01-21 15:46:20 +0000
commit2746b131aa482ac17c94bc6b82e58dbcc1b752cf (patch)
tree87e50c57bc8458b0809c280ab5d00042d1102925 /src/libstdcrypto/sha1_init.c
parent05db4ba46ae1ca6143bb9b432d1e05e69eddd263 (diff)
downloadskalibs-2746b131aa482ac17c94bc6b82e58dbcc1b752cf.tar.xz
Types fix: librandom, libstdcrypto
Diffstat (limited to 'src/libstdcrypto/sha1_init.c')
-rw-r--r--src/libstdcrypto/sha1_init.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libstdcrypto/sha1_init.c b/src/libstdcrypto/sha1_init.c
index e6fadd9..6aad123 100644
--- a/src/libstdcrypto/sha1_init.c
+++ b/src/libstdcrypto/sha1_init.c
@@ -5,11 +5,11 @@
void sha1_init (SHA1Schedule *ctx)
{
register unsigned int i = 0 ;
- ctx->buf[0] = 0x67452301UL ;
- ctx->buf[1] = 0xefcdab89UL ;
- ctx->buf[2] = 0x98badcfeUL ;
- ctx->buf[3] = 0x10325476UL ;
- ctx->buf[4] = 0xc3d2e1f0UL ;
+ ctx->buf[0] = 0x67452301U ;
+ ctx->buf[1] = 0xefcdab89U ;
+ ctx->buf[2] = 0x98badcfeU ;
+ ctx->buf[3] = 0x10325476U ;
+ ctx->buf[4] = 0xc3d2e1f0U ;
ctx->bits[0] = ctx->bits[1] = 0 ;
for (; i < 16 ; i++) ctx->in[i] = 0 ;
ctx->b = 0 ;