summaryrefslogtreecommitdiff
path: root/lib/libc/hash
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-05-03 18:10:08 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-05-03 18:10:08 +0000
commit02237f8f1dfcab0f59e03c51fe2047b97c0ccddb (patch)
tree1a8624cc07835c75adfd9f9ffdcc2ac829742110 /lib/libc/hash
parent1b80a9c6146c539873d7b4cf5a661a3392b155e9 (diff)
Sync some prototypes with the headers
Diffstat (limited to 'lib/libc/hash')
-rw-r--r--lib/libc/hash/mdX.34
-rw-r--r--lib/libc/hash/sha1.34
-rw-r--r--lib/libc/hash/sha2.34
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/hash/mdX.3 b/lib/libc/hash/mdX.3
index a0cfbd08f7f..e609937591e 100644
--- a/lib/libc/hash/mdX.3
+++ b/lib/libc/hash/mdX.3
@@ -6,7 +6,7 @@
.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
.\" ----------------------------------------------------------------------------
.\"
-.\" $OpenBSD: mdX.3,v 1.4 2004/05/03 17:30:14 millert Exp $
+.\" $OpenBSD: mdX.3,v 1.5 2004/05/03 18:10:07 millert Exp $
.\"
.Dd April 29, 2004
.Dt MDX 3
@@ -28,7 +28,7 @@
.Ft void
.Fn MDXInit "MDX_CTX *context"
.Ft void
-.Fn MDXUpdate "MDX_CTX *context" "const unsigned char *data" "unsigned int len"
+.Fn MDXUpdate "MDX_CTX *context" "const u_int8_t *data" "size_t len"
.Ft void
.Fn MDXPad "MDX_CTX *context"
.Ft void
diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3
index 28c166d18e8..9028bbdbe91 100644
--- a/lib/libc/hash/sha1.3
+++ b/lib/libc/hash/sha1.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha1.3,v 1.30 2004/05/03 17:30:15 millert Exp $
+.\" $OpenBSD: sha1.3,v 1.31 2004/05/03 18:10:07 millert Exp $
.\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -37,7 +37,7 @@
.Ft void
.Fn SHA1Init "SHA1_CTX *context"
.Ft void
-.Fn SHA1Update "SHA1_CTX *context" "const u_int8_t *data" "u_int len"
+.Fn SHA1Update "SHA1_CTX *context" "const u_int8_t *data" "size_t len"
.Ft void
.Fn SHA1Pad "SHA1_CTX *context"
.Ft void
diff --git a/lib/libc/hash/sha2.3 b/lib/libc/hash/sha2.3
index 3d3f77a2475..10eac992f10 100644
--- a/lib/libc/hash/sha2.3
+++ b/lib/libc/hash/sha2.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sha2.3,v 1.7 2004/05/03 17:30:15 millert Exp $
+.\" $OpenBSD: sha2.3,v 1.8 2004/05/03 18:10:07 millert Exp $
.\"
.\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -51,7 +51,7 @@
.Ft "char *"
.Fn SHA256_FileChunk "char *filename" "char *buf" "off_t offset" "off_t length"
.Ft "char *"
-.Fn SHA256_Data "u_int8_t *data" "u_int len" "char *buf"
+.Fn SHA256_Data "u_int8_t *data" "size_t len" "char *buf"
.Ft void
.Fn SHA384_Init "SHA384_CTX *context"
.Ft void