Skip to content

Commit 29e9cb2

Browse files
seko-nordicrlubos
authored andcommitted
Revert "[nrf noup] entropy: Add fake entropy nRF PRNG driver"
This reverts commit dbd3934. Signed-off-by: Sergey Korotkov <[email protected]>
1 parent 94e6e06 commit 29e9cb2

File tree

10 files changed

+0
-283
lines changed

10 files changed

+0
-283
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
zephyr,bt-hci = &bt_hci_ipc0;
2828
nordic,802154-spinel-ipc = &ipc0;
2929
zephyr,canbus = &can120;
30-
zephyr,entropy = &prng;
3130
};
3231

3332
aliases {
@@ -110,11 +109,6 @@
110109
pwms = <&pwm130 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
111110
};
112111
};
113-
114-
prng: prng {
115-
compatible = "nordic,entropy-prng";
116-
status = "okay";
117-
};
118112
};
119113

120114
&cpuapp_bellboard {

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@
2828
zephyr,ieee802154 = &cpurad_ieee802154;
2929
zephyr,bt-hci-ipc = &ipc0;
3030
nordic,802154-spinel-ipc = &ipc0;
31-
zephyr,entropy = &prng;
32-
};
33-
prng: prng {
34-
compatible = "nordic,entropy-prng";
35-
status = "okay";
3631
};
3732

3833
aliases {

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpuapp.dts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
zephyr,shell-uart = &uart136;
2727
zephyr,bt-hci = &bt_hci_ipc0;
2828
nordic,802154-spinel-ipc = &ipc0;
29-
zephyr,entropy = &prng;
3029
};
3130

3231
aliases {
@@ -108,11 +107,6 @@
108107
pwms = <&pwm130 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>;
109108
};
110109
};
111-
112-
prng: prng {
113-
compatible = "nordic,entropy-prng";
114-
status = "okay";
115-
};
116110
};
117111

118112
&cpuapp_ram0x_region {

boards/nordic/nrf9280pdk/nrf9280pdk_nrf9280_cpurad.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@
2828
zephyr,ieee802154 = &cpurad_ieee802154;
2929
zephyr,bt-hci-ipc = &ipc0;
3030
nordic,802154-spinel-ipc = &ipc0;
31-
zephyr,entropy = &prng;
32-
};
33-
prng: prng {
34-
compatible = "nordic,entropy-prng";
35-
status = "okay";
3631
};
3732

3833
aliases {

drivers/entropy/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,4 @@ zephyr_library_sources_ifdef(CONFIG_ENTROPY_TELINK_B91_TRNG entropy_b91_trng
4343
zephyr_library_sources_ifdef(CONFIG_ENTROPY_VIRTIO entropy_virtio.c)
4444
# zephyr-keep-sorted-stop
4545

46-
if (CONFIG_FAKE_ENTROPY_NRF_PRNG)
47-
zephyr_library_sources(fake_entropy_nrf_prng.c)
48-
49-
message(WARNING "\nA nRF PRNG is used, which does not produce real random bits."
50-
"This is not secure and should therefore never be used in a product.")
51-
endif()
52-
5346
zephyr_library_link_libraries_ifdef(CONFIG_BUILD_WITH_TFM tfm_api)

drivers/entropy/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ source "drivers/entropy/Kconfig.neorv32"
3737
source "drivers/entropy/Kconfig.npcx"
3838
source "drivers/entropy/Kconfig.nrf5"
3939
source "drivers/entropy/Kconfig.nrf_cracen"
40-
source "drivers/entropy/Kconfig.nrf_prng"
4140
source "drivers/entropy/Kconfig.nxp"
4241
source "drivers/entropy/Kconfig.psa_crypto"
4342
source "drivers/entropy/Kconfig.renesas_ra"

drivers/entropy/Kconfig.nrf_prng

Lines changed: 0 additions & 19 deletions
This file was deleted.

drivers/entropy/fake_entropy_nrf_prng.c

Lines changed: 0 additions & 101 deletions
This file was deleted.

dts/arm/nordic/nrf54l20_enga_cpuapp.dtsi

Lines changed: 0 additions & 125 deletions
This file was deleted.

dts/bindings/rng/nordic,nrf-prng.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)