| # SPDX-License-Identifier: GPL-2.0-only |
| # |
| # Hardware Random Number Generator (RNG) configuration |
| # |
| |
| config DEVICE_MODULES_HW_RANDOM_OPTEE |
| tristate "OP-TEE based Random Number Generator support" |
| depends on DEVICE_MODULES_OPTEE |
| default HW_RANDOM |
| help |
| This driver provides support for OP-TEE based Random Number |
| Generator on ARM SoCs where hardware entropy sources are not |
| accessible to normal world (Linux). |
| |
| To compile this driver as a module, choose M here: the module |
| will be called optee-rng. |
| |
| If unsure, say Y. |
| |
| config HW_RANDOM_SECURE |
| tristate "Arm Security Random Number Generator support" |
| depends on HW_RANDOM |
| depends on HAVE_ARM_SMCCC || COMPILE_TEST |
| default HW_RANDOM |
| help |
| This driver provides kernel-side support for the Arm Security |
| Random Number Generator. |
| |
| To compile this driver as a module, choose M here. the |
| module will be called sec-rng. |
| |
| If unsure, say Y. |