zephyr/subsys/bluetooth/controller
Joakim Andersson 291ebdd4e4 Bluetooth: Fix infinite recursion in host-based bt_rand
Fix infinite recursion in host-based bt_rand function. This would call
HCI LE Random Number command, which would in turn call bt_rand, causing
an infinite recursion.

bt_rand -> prng_reseed -> BT_HCI_OP_LE_RAND -> le_rand -> bt_rand

To solve this issue the controller should avoid doing calls into the
host, so all calls to bt_rand in the controller should be replaced with
a call to a controller function.

Fixes #22202

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-01-31 18:33:06 +01:00
..
crypto Bluetooth: Fix infinite recursion in host-based bt_rand 2020-01-31 18:33:06 +01:00
hal Bluetooth: controller: Refactor use of SWI 2019-09-16 19:06:51 +02:00
hci Bluetooth: Fix infinite recursion in host-based bt_rand 2020-01-31 18:33:06 +01:00
include Bluetooth: controller: Support SMI TX flag as setting 2020-01-28 20:28:50 +01:00
ll_sw Bluetooth: Fix infinite recursion in host-based bt_rand 2020-01-31 18:33:06 +01:00
ticker bluetooth: controller: Implemented dynamic re-scheduling in ticker 2020-01-28 08:07:54 +01:00
util Bluetooth: Fix infinite recursion in host-based bt_rand 2020-01-31 18:33:06 +01:00
CMakeLists.txt bluetooth: controller: refactor CMake related files 2020-01-23 16:08:00 +01:00
Kconfig bluetooth: controller: Guard SW based privacy config by Zephyr LL 2020-01-31 10:59:35 +01:00