Skip to content

Commit

Permalink
samples: suit: smp_transfer: Use PRNG entropy
Browse files Browse the repository at this point in the history
This sample require entropy from Zephyr, in nRF54h20
this is provided by PSA RNG driver and from the secure domain.

The PSA RNG driver brings IPC dependencies which increase the
flash footprint of this sample and this was not an acceptable
increase for the mainttainers of the sample.

It was concluded that as a temporary solution this sample  will keep using
the non cryptographically secure, deterministic software RNG.

The dependency on the PRNG node needs to be removed later and it tracked
in NCSDK-30805

Signed-off-by: Georgios Vasilakis <[email protected]>
  • Loading branch information
Vge0rge committed Dec 4, 2024
1 parent 547a757 commit 6a72dbe
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions samples/suit/smp_transfer/sysbuild/recovery_hci_ipc.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@

#include "nrf54h20dk_nrf54h20_memory_map.dtsi"

/ {
chosen {
zephyr,entropy = &prng;
};

/delete-node/ psa-rng;

prng: prng {
compatible = "nordic,entropy-prng";
status = "okay";
};

};

&cpusec_cpurad_ipc {
status = "disabled";
};

&uart135 {
status = "disabled";
};
Expand Down

0 comments on commit 6a72dbe

Please sign in to comment.