1# Copyright (c) 2022, Commonwealth Scientific and Industrial Research 2# Organisation (CSIRO) ABN 41 687 119 230. 3# SPDX-License-Identifier: Apache-2.0 4 5config ENTROPY_BT_HCI 6 bool "Bluetooth HCI RNG driver" 7 default y 8 depends on DT_HAS_ZEPHYR_BT_HCI_ENTROPY_ENABLED 9 depends on BT_HCI_HOST 10 select ENTROPY_HAS_DRIVER 11 help 12 Enable Random Number Generator from a Bluetooth HCI device. 13 14# Don't use use Bluetooth HCI as a random source since it will be slow. 15# Instead, use the software implemented xoshiro RNG. 16choice RNG_GENERATOR_CHOICE 17 default XOSHIRO_RANDOM_GENERATOR if ENTROPY_BT_HCI 18endchoice 19