summaryrefslogtreecommitdiffstats
path: root/sys/modules/random
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-06-25 10:12:33 +0000
committermarkm <markm@FreeBSD.org>2000-06-25 10:12:33 +0000
commita66f2ab5fa451490402fa639f471d5d061616c55 (patch)
tree101255b682d81db93c4f4244c05612250fe2dadc /sys/modules/random
parent0417c878cd67620aeee73e3a0eb8a30db01aa21f (diff)
downloadFreeBSD-src-a66f2ab5fa451490402fa639f471d5d061616c55.zip
FreeBSD-src-a66f2ab5fa451490402fa639f471d5d061616c55.tar.gz
Build the entropy device (/dev/random) as a module. This may not
be a permanent rule, because this device may eventually be deemed "effectively compulsory", and built by default directly into the kernel. For the moment, however, this is useful for debugging and development. Reviewed by: dfr
Diffstat (limited to 'sys/modules/random')
-rw-r--r--sys/modules/random/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/modules/random/Makefile b/sys/modules/random/Makefile
new file mode 100644
index 0000000..93b9789
--- /dev/null
+++ b/sys/modules/random/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/randomdev
+.PATH: ${.CURDIR}/../../crypto/blowfish
+#.PATH: ${.CURDIR}/../../crypto/des
+KMOD = randomdev
+SRCS = bus_if.h device_if.h randomdev.c yarrow.c
+SRCS += bf_cbc.c bf_skey.c bf_enc.c
+CFLAGS += -I${.CURDIR}/../../dev/randomdev
+#SRCS += sha1.c des_setkey.c des_ecb.c
+NOMAN = yes
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud