mirror of
https://github.com/opnsense/src.git
synced 2026-03-04 22:32:37 -05:00
Add a SYSINIT that forces a reseed during proc0 setup, which happens fairly late in the boot process. Add a RANDOM_DEBUG option which enables some debugging printf()s. Add a new RANDOM_ATTACH entropy source which harvests entropy from the get_cyclecount() delta across each call to a device attach method.
19 lines
451 B
Makefile
19 lines
451 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/random
|
|
.PATH: ${.CURDIR}/../../crypto/rijndael
|
|
.PATH: ${.CURDIR}/../../crypto/sha2
|
|
|
|
KMOD= random
|
|
SRCS= randomdev.c
|
|
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
|
|
SRCS+= nehemiah.c
|
|
SRCS+= ivy.c
|
|
.endif
|
|
SRCS+= randomdev_soft.c yarrow.c hash.c
|
|
SRCS+= rijndael-alg-fst.c rijndael-api-fst.c sha2.c
|
|
SRCS+= bus_if.h device_if.h vnode_if.h opt_cpu.h opt_random.h
|
|
|
|
CFLAGS+= -I${.CURDIR}/../..
|
|
|
|
.include <bsd.kmod.mk>
|