We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1b50b3 commit 6f139b1Copy full SHA for 6f139b1
subsys/softdevice_handler/nrf_sdh_soc.c
@@ -10,6 +10,7 @@
10
#include <nrf_sdh_soc.h>
11
#include <nrf_soc.h>
12
#include <psa/crypto.h>
13
+#include <cracen_psa.h>
14
#include <zephyr/logging/log.h>
15
16
LOG_MODULE_DECLARE(nrf_sdh, CONFIG_NRF_SDH_LOG_LEVEL);
@@ -48,7 +49,7 @@ static void softdevice_rng_seed(void)
48
49
psa_status_t status;
50
uint8_t seed[SD_RAND_SEED_SIZE];
51
- status = psa_generate_random(seed, sizeof(seed));
52
+ status = cracen_get_trng(seed, sizeof(seed));
53
if (status == PSA_SUCCESS) {
54
err = sd_rand_seed_set(seed);
55
memset(seed, 0, sizeof(seed));
0 commit comments