Browse Source

Sync some prototypes with the headers

OPENBSD_3_6
millert 20 years ago
parent
commit
cb92ad54e0
3 changed files with 6 additions and 6 deletions
  1. +2
    -2
      src/lib/libc/hash/mdX.3
  2. +2
    -2
      src/lib/libc/hash/sha1.3
  3. +2
    -2
      src/lib/libc/hash/sha2.3

+ 2
- 2
src/lib/libc/hash/mdX.3 View File

@ -6,7 +6,7 @@
.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp .\" 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 .Dd April 29, 2004
.Dt MDX 3 .Dt MDX 3
@ -28,7 +28,7 @@
.Ft void .Ft void
.Fn MDXInit "MDX_CTX *context" .Fn MDXInit "MDX_CTX *context"
.Ft void .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 .Ft void
.Fn MDXPad "MDX_CTX *context" .Fn MDXPad "MDX_CTX *context"
.Ft void .Ft void


+ 2
- 2
src/lib/libc/hash/sha1.3 View File

@ -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> .\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\" .\"
@ -37,7 +37,7 @@
.Ft void .Ft void
.Fn SHA1Init "SHA1_CTX *context" .Fn SHA1Init "SHA1_CTX *context"
.Ft void .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 .Ft void
.Fn SHA1Pad "SHA1_CTX *context" .Fn SHA1Pad "SHA1_CTX *context"
.Ft void .Ft void


+ 2
- 2
src/lib/libc/hash/sha2.3 View File

@ -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> .\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\" .\"
@ -51,7 +51,7 @@
.Ft "char *" .Ft "char *"
.Fn SHA256_FileChunk "char *filename" "char *buf" "off_t offset" "off_t length" .Fn SHA256_FileChunk "char *filename" "char *buf" "off_t offset" "off_t length"
.Ft "char *" .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 .Ft void
.Fn SHA384_Init "SHA384_CTX *context" .Fn SHA384_Init "SHA384_CTX *context"
.Ft void .Ft void


Loading…
Cancel
Save