File tree Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1414
1515 chosen {
1616 zephyr,sram = &cpuapp_sram;
17+ zephyr,entropy = &prng;
18+ };
19+
20+ prng: prng {
21+ compatible = "nordic,entropy-prng";
22+ status = "okay";
1723 };
1824};
Original file line number Diff line number Diff line change 1717 zephyr,sram = &cpuapp_sram;
1818 zephyr,console = &uart00;
1919 zephyr,shell-uart = &uart00;
20+ zephyr,entropy = &prng;
21+ };
22+
23+ prng: prng {
24+ compatible = "nordic,entropy-prng";
25+ status = "okay";
2026 };
2127};
2228
Original file line number Diff line number Diff line change 44#
55# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
66
7+ rsource "Kconfig.nrf_prng"
8+
79config ENTROPY_CC3XX
810 bool "Arm CC3XX RNG driver for Nordic devices"
911 depends on HAS_HW_NRF_CC3XX && !BUILD_WITH_TFM
Original file line number Diff line number Diff line change 1+ # nRF fake entropy prng generator driver configuration
2+ #
3+ # Copyright (c) 2025 Nordic Semiconductor ASA
4+ #
5+ # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
6+
7+ if ENTROPY_GENERATOR
8+
9+ config FAKE_ENTROPY_NRF_PRNG
10+ bool "A fake nRF entropy driver"
11+ default y
12+ depends on DT_HAS_NORDIC_ENTROPY_PRNG_ENABLED
13+ depends on (SOC_SERIES_NRF54HX || SOC_SERIES_NRF92X || SOC_SERIES_NRF54LX || SOC_SERIES_NRF71X)
14+ select ENTROPY_HAS_DRIVER
15+ help
16+ This is a super simple PRNG driver that can be used on nRF platforms that
17+ do not have an entropy source.
18+ This is NOT SAFE to use for cryptographic operations!
19+
20+ endif
You can’t perform that action at this time.
0 commit comments