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
This commit is contained in:
parent
0417c878cd
commit
a66f2ab5fa
@ -6,8 +6,8 @@ SUBDIR= accf_data accf_http agp aha amr an aue \
|
||||
ccd cd9660 coda cue dc fdesc fxp if_disc if_ef \
|
||||
if_ppp if_sl if_tun ipfilter ipfw ispfw joy kernfs kue \
|
||||
md mfs mii mlx msdos ncp netgraph nfs ntfs nullfs \
|
||||
nwfs oldcard pccard pcic portal procfs rl rp sf sis sk sn ste syscons \
|
||||
ti tl twe tx \
|
||||
nwfs oldcard pccard pcic portal procfs randomdev \
|
||||
rl rp sf sis sk sn ste syscons ti tl twe tx \
|
||||
udbp ugen uhid ukbd ulpt umapfs umass umodem ums union urio usb \
|
||||
vinum vn vpo vr wb wx xl
|
||||
|
||||
|
13
sys/modules/random/Makefile
Normal file
13
sys/modules/random/Makefile
Normal file
@ -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>
|
13
sys/modules/randomdev/Makefile
Normal file
13
sys/modules/randomdev/Makefile
Normal file
@ -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>
|
Loading…
x
Reference in New Issue
Block a user