Browse Source

Add .Xr's to the commands implementing the various digests. ok millert@

OPENBSD_3_6
otto 20 years ago
parent
commit
903036c95c
4 changed files with 9 additions and 4 deletions
  1. +3
    -1
      src/lib/libc/hash/mdX.3
  2. +2
    -1
      src/lib/libc/hash/rmd160.3
  3. +2
    -1
      src/lib/libc/hash/sha1.3
  4. +2
    -1
      src/lib/libc/hash/sha2.3

+ 3
- 1
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.5 2004/05/03 18:10:07 millert Exp $
.\" $OpenBSD: mdX.3,v 1.6 2004/05/16 18:29:09 otto Exp $
.\" .\"
.Dd April 29, 2004 .Dd April 29, 2004
.Dt MDX 3 .Dt MDX 3
@ -152,6 +152,8 @@ If the
argument is non-null it must point to at least MDX_DIGEST_STRING_LENGTH argument is non-null it must point to at least MDX_DIGEST_STRING_LENGTH
characters of buffer space. characters of buffer space.
.Sh SEE ALSO .Sh SEE ALSO
.Xr cksum 1 ,
.Xr md5 1 ,
.Xr mdY 3 , .Xr mdY 3 ,
.Xr rmd160 3 , .Xr rmd160 3 ,
.Xr sha1 3 , .Xr sha1 3 ,


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

@ -1,4 +1,4 @@
.\" $OpenBSD: rmd160.3,v 1.24 2004/05/03 17:30:14 millert Exp $
.\" $OpenBSD: rmd160.3,v 1.25 2004/05/16 18:29:09 otto Exp $
.\" .\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com> .\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\" .\"
@ -198,6 +198,7 @@ char *buf = "abc";
printf("0x%s\en", RMD160Data(buf, strlen(buf), output)); printf("0x%s\en", RMD160Data(buf, strlen(buf), output));
.Ed .Ed
.Sh SEE ALSO .Sh SEE ALSO
.Xr cksum 1 ,
.Xr rmd160 1 , .Xr rmd160 1 ,
.Xr md4 3 , .Xr md4 3 ,
.Xr md5 3 , .Xr md5 3 ,


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

@ -1,4 +1,4 @@
.\" $OpenBSD: sha1.3,v 1.32 2004/05/05 17:09:46 millert Exp $
.\" $OpenBSD: sha1.3,v 1.33 2004/05/16 18:29:09 otto Exp $
.\" .\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com> .\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\" .\"
@ -195,6 +195,7 @@ char *buf = "abc";
printf("0x%s\en", SHA1Data(buf, strlen(buf), output)); printf("0x%s\en", SHA1Data(buf, strlen(buf), output));
.Ed .Ed
.Sh SEE ALSO .Sh SEE ALSO
.Xr cksum 1 ,
.Xr sha1 1 , .Xr sha1 1 ,
.Xr md4 3 , .Xr md4 3 ,
.Xr md5 3 , .Xr md5 3 ,


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

@ -1,4 +1,4 @@
.\" $OpenBSD: sha2.3,v 1.9 2004/05/05 17:39:47 millert Exp $
.\" $OpenBSD: sha2.3,v 1.10 2004/05/16 18:29:09 otto Exp $
.\" .\"
.\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com> .\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\" .\"
@ -246,6 +246,7 @@ char *buf = "abc";
printf("0x%s\en", SHA256_Data(buf, strlen(buf), output)); printf("0x%s\en", SHA256_Data(buf, strlen(buf), output));
.Ed .Ed
.Sh SEE ALSO .Sh SEE ALSO
.Xr cksum 1 ,
.Xr md4 3 , .Xr md4 3 ,
.Xr md5 3 , .Xr md5 3 ,
.Xr rmd160 3 , .Xr rmd160 3 ,


Loading…
Cancel
Save