summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-11-16 19:57:24 +0000
committerschwarze <schwarze@openbsd.org>2014-11-16 19:57:24 +0000
commit67a0c799c6c768840597543d1c1f7ec1ff03f245 (patch)
tree37589ef423a226ea0b010d68a1d0442659a3ac4b /lib/libc
parentConvert the logic in rcsparse_warnx(). Instead of creating a (diff)
downloadwireguard-openbsd-67a0c799c6c768840597543d1c1f7ec1ff03f245.tar.xz
wireguard-openbsd-67a0c799c6c768840597543d1c1f7ec1ff03f245.zip
add some missing .An macros and remove some obsolete .Tn
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/hash/md5.317
-rw-r--r--lib/libc/hash/rmd160.314
2 files changed, 17 insertions, 14 deletions
diff --git a/lib/libc/hash/md5.3 b/lib/libc/hash/md5.3
index b0f9672e172..5ec7c3ef800 100644
--- a/lib/libc/hash/md5.3
+++ b/lib/libc/hash/md5.3
@@ -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
diff --git a/lib/libc/hash/rmd160.3 b/lib/libc/hash/rmd160.3
index 10134d097a2..4536e38b030 100644
--- a/lib/libc/hash/rmd160.3
+++ b/lib/libc/hash/rmd160.3
@@ -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