summaryrefslogtreecommitdiff
path: root/sys/crypto/cryptosoft.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-05-07 14:42:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-05-07 14:42:28 +0000
commit1bdc27e88cf64d3ec9479236e08d320d7f39f389 (patch)
tree1fea124d4f8c8f5d265334357d88c5fee1948020 /sys/crypto/cryptosoft.c
parent9e627b5468b618eb1d7017e092537c41b3507daa (diff)
Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.
This moves md5.c out of libkern and into sys/crypto where it belongs (as requested by markus@). Note that md5.c is still mandatory (dev/rnd.c uses it). Verified with IPsec + hmac-md5 and tcp md5sig. OK henning@ and hshoexer@
Diffstat (limited to 'sys/crypto/cryptosoft.c')
-rw-r--r--sys/crypto/cryptosoft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/crypto/cryptosoft.c b/sys/crypto/cryptosoft.c
index 4066f6b788d..f61cc6248c7 100644
--- a/sys/crypto/cryptosoft.c
+++ b/sys/crypto/cryptosoft.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cryptosoft.c,v 1.40 2004/04/14 20:03:05 markus Exp $ */
+/* $OpenBSD: cryptosoft.c,v 1.41 2004/05/07 14:42:26 millert Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
@@ -27,8 +27,8 @@
#include <sys/mbuf.h>
#include <sys/sysctl.h>
#include <sys/errno.h>
-#include <sys/md5k.h>
#include <dev/rndvar.h>
+#include <crypto/md5.h>
#include <crypto/sha1.h>
#include <crypto/rmd160.h>
#include <crypto/cast.h>