summaryrefslogtreecommitdiffstats
path: root/lib/libmd/mdX.3
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2012-04-28 02:48:51 +0000
committerobrien <obrien@FreeBSD.org>2012-04-28 02:48:51 +0000
commit62cedd908a624bdacbdd0154d0cf129e694cb27a (patch)
treef51908ea9494d7691cc1869f33a48fa2a2707863 /lib/libmd/mdX.3
parentd4577289f5bcc75fd682e6b0410353b3cde2e447 (diff)
downloadFreeBSD-src-62cedd908a624bdacbdd0154d0cf129e694cb27a.zip
FreeBSD-src-62cedd908a624bdacbdd0154d0cf129e694cb27a.tar.gz
Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd.
1. The licensing terms for the MD2 routines from RFC is not under a BSD-like license. Instead it is only granted for non-commercial Internet Privacy-Enhanced Mail. 2. MD2 is quite deprecated as it is no longer considered a cryptographically strong algorithm. Discussed with: so (cperciva), core
Diffstat (limited to 'lib/libmd/mdX.3')
-rw-r--r--lib/libmd/mdX.312
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libmd/mdX.3 b/lib/libmd/mdX.3
index 03f50f1..223e2ef 100644
--- a/lib/libmd/mdX.3
+++ b/lib/libmd/mdX.3
@@ -52,8 +52,7 @@ This net result is a
.Dq fingerprint
of the input-data, which does not disclose the actual input.
.Pp
-MD2 is the slowest, MD4 is the fastest and MD5 is somewhere in the middle.
-MD2 can only be used for Privacy-Enhanced Mail.
+MD4 is the fastest and MD5 is somewhat slower.
MD4 has now been broken; it should only be used where necessary for
backward compatibility.
MD5 has not yet (1999-02-11) been broken, but sufficient attacks have been
@@ -144,16 +143,10 @@ If the
.Fa buf
argument is non-null it must point to at least 33 characters of buffer space.
.Sh SEE ALSO
-.Xr md2 3 ,
.Xr md4 3 ,
.Xr md5 3 ,
.Xr sha 3
.Rs
-.%A B. Kaliski
-.%T The MD2 Message-Digest Algorithm
-.%O RFC 1319
-.Re
-.Rs
.%A R. Rivest
.%T The MD4 Message-Digest Algorithm
.%O RFC 1186
@@ -192,6 +185,3 @@ Phk ristede runen.
No method is known to exist which finds two files having the same hash value,
nor to find a file with a specific hash value.
There is on the other hand no guarantee that such a method does not exist.
-.Pp
-MD2 has only been licensed for use in Privacy Enhanced Mail.
-Use MD4 or MD5 if that is not what you are doing.
OpenPOWER on IntegriCloud