Browse Source

add some missing .An macros and remove some obsolete .Tn

OPENBSD_5_7
schwarze 10 years ago
parent
commit
755bcd79c1
2 changed files with 17 additions and 14 deletions
  1. +9
    -8
      src/lib/libc/hash/md5.3
  2. +8
    -6
      src/lib/libc/hash/rmd160.3

+ 9
- 8
src/lib/libc/hash/md5.3 View File

@ -16,9 +16,9 @@
.\" If we meet some day, and you think this stuff is worth it, you
.\" can buy me a beer in return. Poul-Henning Kamp
.\"
.\" $OpenBSD: md5.3,v 1.3 2014/11/15 14:41:02 bentley Exp $
.\" $OpenBSD: md5.3,v 1.4 2014/11/16 19:57:24 schwarze Exp $
.\"
.Dd $Mdocdate: November 15 2014 $
.Dd $Mdocdate: November 16 2014 $
.Dt MD5 3
.Os
.Sh NAME
@ -112,8 +112,7 @@ is a wrapper for
.Fn MD5Final
which converts the return value to an MD5_DIGEST_STRING_LENGTH-character
(including the terminating '\e0')
.Tn ASCII
string which represents the 128 bits in hexadecimal.
ASCII string which represents the 128 bits in hexadecimal.
.Pp
.Fn MD5File
calculates the digest of a file, and uses
@ -195,10 +194,11 @@ characters of buffer space.
These functions appeared in
.Ox 2.0 .
.Sh AUTHORS
.An -nosplit
The original MD5 routines were developed by
.Tn RSA
Data Security, Inc., and published in the above references.
This code is derived from a public domain implementation written by Colin Plumb.
RSA Data Security, Inc., and published in the above references.
This code is derived from a public domain implementation written by
.An Colin Plumb .
.Pp
The
.Fn MD5End ,
@ -206,7 +206,8 @@ The
.Fn MD5FileChunk ,
and
.Fn MD5Data
helper functions are derived from code written by Poul-Henning Kamp.
helper functions are derived from code written by
.An Poul-Henning Kamp .
.Sh BUGS
Collisions have been found for the full version of MD5.
The use of


+ 8
- 6
src/lib/libc/hash/rmd160.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: rmd160.3,v 1.33 2014/11/15 14:41:02 bentley Exp $
.\" $OpenBSD: rmd160.3,v 1.34 2014/11/16 19:57:24 schwarze Exp $
.\"
.\" Copyright (c) 1997, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@ -17,7 +17,7 @@
.\" See http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html
.\" for detailed information about RIPEMD-160.
.\"
.Dd $Mdocdate: November 15 2014 $
.Dd $Mdocdate: November 16 2014 $
.Dt RMD160 3
.Os
.Sh NAME
@ -116,8 +116,7 @@ The
.Fn RMD160End
function is a front end for
.Fn RMD160Final
which converts the digest into an
.Tn ASCII
which converts the digest into an ASCII
representation of the 160 bit digest in hexadecimal.
.Pp
The
@ -223,7 +222,9 @@ printf("0x%s\en", RMD160Data(buf, strlen(buf), output));
The RMD-160 functions appeared in
.Ox 2.1 .
.Sh AUTHORS
This implementation of RMD-160 was written by Markus Friedl.
.An -nosplit
This implementation of RMD-160 was written by
.An Markus Friedl .
.Pp
The
.Fn RMD160End ,
@ -231,7 +232,8 @@ The
.Fn RMD160FileChunk ,
and
.Fn RMD160Data
helper functions are derived from code written by Poul-Henning Kamp.
helper functions are derived from code written by
.An Poul-Henning Kamp .
.Sh CAVEATS
If a message digest is to be copied to a multi-byte type (ie:
an array of five 32-bit integers) it will be necessary to


Loading…
Cancel
Save