mirror of https://github.com/hak5/openwrt-owl.git
kernel/modules: add chaoskey module, hardware TRNG
Package the driver for Chaoskey, a USB dongle that provides a True Random Number Generator (TRNG) and feeds entropy to kernel. Chaoskey driver is included the upstream Linux sources, so only packaging it is needed. Run-tested with ipq806x/R7800 and mvebu/WRT3200ACM. (Requires CONFIG_HW_RANDOM kernel option.) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>master
parent
dcfe2a461e
commit
163ab9135a
|
@ -1639,3 +1639,18 @@ endef
|
|||
|
||||
$(eval $(call KernelPackage,usb-net2280))
|
||||
|
||||
define KernelPackage/chaoskey
|
||||
SUBMENU:=$(USB_MENU)
|
||||
TITLE:=Chaoskey hardware RNG support
|
||||
KCONFIG:=CONFIG_USB_CHAOSKEY
|
||||
FILES:=$(LINUX_DIR)/drivers/usb/misc/chaoskey.ko
|
||||
AUTOLOAD:=$(call AutoProbe,chaoskey)
|
||||
$(call AddDepends/usb)
|
||||
endef
|
||||
|
||||
define KernelPackage/chaoskey/description
|
||||
Kernel module for chaoskey, USB attached true random number generator
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,chaoskey))
|
||||
|
||||
|
|
Loading…
Reference in New Issue