Home
last modified time | relevance | path

Searched refs:entropy (Results 1 – 25 of 251) sorted by relevance

1234567891011

/Zephyr-latest/drivers/entropy/
DKconfig9 Include entropy drivers in system config.
14 module-str = entropy
23 source "drivers/entropy/Kconfig.b91"
24 source "drivers/entropy/Kconfig.cc13xx_cc26xx"
25 source "drivers/entropy/Kconfig.mcux"
26 source "drivers/entropy/Kconfig.nxp"
27 source "drivers/entropy/Kconfig.stm32"
28 source "drivers/entropy/Kconfig.esp32"
29 source "drivers/entropy/Kconfig.nrf5"
30 source "drivers/entropy/Kconfig.nrf_cracen"
[all …]
DKconfig.esp321 # esp32 entropy generator driver configuration
7 bool "ESP32 entropy number generator driver"
12 This option enables the entropy number generator for ESP32 SoCs.
14 With Wi-Fi and Bluetooth disabled, this will produce pseudo-entropy
15 numbers: noise from these radios are used to feed entropy in this
DKconfig.stm321 # STM32 entropy generator driver configuration
13 This option enables the RNG processor, which is a entropy number
15 a entropy 32-bit value to the host when read. It is available for
25 Buffer length in bytes used to store entropy bytes generated by the
33 Low water-mark threshold in bytes to trigger entropy generation for
35 buffer goes below this number hardware entropy generation will be
43 Buffer length in bytes used to store entropy bytes generated by the
51 Low water-mark threshold in bytes to trigger entropy generation for
53 buffer goes below this number hardware entropy generation will be
DKconfig.cc13xx_cc26xx1 # TI CC13xx / CC26xx entropy driver configuration
19 int "Number of bytes in the entropy pool"
22 The size in bytes of the buffer used to store entropy generated by the
26 int "Number of samples to generate entropy"
30 The number of samples used to generate entropy. The time required to
31 generate 64 bits of entropy is determined by the number of FROs enabled,
DKconfig.nrf51 # nRF5 entropy generator driver configuration
12 of the entropy driver.
39 Buffer length in bytes used to store entropy bytes generated by the
47 Low water-mark threshold in bytes to trigger entropy generation for
49 buffer goes below this number hardware entropy generation will be
57 Buffer length in bytes used to store entropy bytes generated by the
65 Low water-mark threshold in bytes to trigger entropy generation for
67 buffer goes below this number hardware entropy generation will be
DKconfig.smartbond22 Buffer length in bytes used to store entropy bytes generated by the
30 Low water-mark threshold in bytes to trigger entropy generation for
32 buffer goes below this number hardware entropy generation will be
40 Buffer length in bytes used to store entropy bytes generated by the
48 Low water-mark threshold in bytes to trigger entropy generation for
50 buffer goes below this number hardware entropy generation will be
DKconfig.native_sim4 bool "Native simulator entropy driver"
11 Note that this entropy generator is only meant for test purposes and does
12 not generate real entropy.
26 bool "Native posix entropy driver (deprecated)"
DKconfig.nrf_cracen5 bool "nRF entropy driver based on the CRACEN CTR_DRBG driver"
12 This option enables the 54L CRACEN based entropy driver, based on the nrfx CRACEN CTR_DRBG
16 would attempt to use the CRACEN HW exclusively; When that is enabled, the PSA crypto entropy
DKconfig.renesas_ra4 # Renesas RA entropy generator driver configuration
15 This option enables entropy driver for Renesas RA
DKconfig.litex1 # LiteX PRBS entropy generator driver configuration
12 This option enables the RNG module, which is an entropy number
Dentropy_esp32.c21 LOG_MODULE_REGISTER(entropy, CONFIG_ENTROPY_LOG_LEVEL);
122 static DEVICE_API(entropy, entropy_esp32_api_funcs) = {
/Zephyr-latest/tests/crypto/tinycrypt/src/
Dctr_prng.c51 char *entropy; member
284 uint8_t entropy[MAX_BIN_SIZE]; in test_prng_vector() local
298 hex_str_to_num(entropy, v->entropy); in test_prng_vector()
301 ent_len = strlen(v->entropy) / 2; in test_prng_vector()
322 rc = tc_ctr_prng_init(&ctx, entropy, ent_len, personal, plen); in test_prng_vector()
353 uint8_t entropy[32] = {0}; /* value not important */ in ZTEST() local
359 rc = tc_ctr_prng_init(&ctx, entropy, sizeof(entropy), 0, 0U); in ZTEST()
382 (void)memset(entropy, 0xFF, sizeof(entropy)); in ZTEST()
383 rc = tc_ctr_prng_reseed(&ctx, entropy, sizeof(entropy), extra_input, in ZTEST()
398 for (i = 0U; i < sizeof(entropy); i++) { in ZTEST()
[all …]
/Zephyr-latest/lib/posix/options/
Dgetentropy.c17 const struct device *const entropy = ENTROPY_NODE; in getentropy() local
29 if (entropy == NULL || !device_is_ready(entropy)) { in getentropy()
39 if (entropy_get_entropy(entropy, buffer, (uint16_t)length)) { in getentropy()
/Zephyr-latest/doc/hardware/peripherals/
Dentropy.rst9 The entropy API provides functions to retrieve entropy values from
10 entropy hardware present on the platform. The entropy APIs are provided
/Zephyr-latest/subsys/testsuite/busy_sim/
Dbusy_sim.c30 const struct device *entropy; member
45 .entropy = COND_CODE_1(USE_TEST_RANDOM,
63 int err = entropy_get_entropy(config->entropy, buf, len); in rng_pool_work_handler()
110 data->alarm_cfg.ticks = get_timeout(true, !config->entropy); in counter_alarm_callback()
122 k_busy_wait(get_timeout(false, !config->entropy) / data->us_tick); in counter_alarm_callback()
147 if (config->entropy) { in busy_sim_start()
165 if (config->entropy) { in busy_sim_stop()
184 (config->entropy && !device_is_ready(config->entropy))) { in busy_sim_init()
199 if (config->entropy) { in busy_sim_init()
/Zephyr-latest/subsys/random/
DKconfig27 is selected -- that is indicated by RNG_GENERATOR_CHOICE. An entropy
47 If the entropy support of the platform has sufficient performance
60 bool "Use entropy driver to generate random numbers"
64 entropy gathering driver to generate random numbers. Should only be
65 selected if hardware entropy driver is designed to be a random
73 the entropy driver as a seed source. This is a fast general-purpose
79 DT_CHOSEN_Z_ENTROPY := zephyr,entropy
85 CS random values. For this to be enabled, there must be the "zephyr,entropy"
87 HW entropy generator that can be used for this purpose.
89 be enabled to enable the platform specific entropy driver.
[all …]
/Zephyr-latest/tests/drivers/entropy/api/
Dentropy_bt_hci.overlay10 zephyr,entropy = &rng_hci;
14 compatible = "zephyr,bt-hci-entropy";
Dentropy_psa_crypto.overlay9 zephyr,entropy = &psa_rng;
DKconfig7 source "tests/drivers/entropy/api/Kconfig.mcux"
/Zephyr-latest/tests/drivers/clock_control/nrf_onoff_and_bt/src/
Dmain.c21 static const struct device *const entropy = DEVICE_DT_GET(DT_CHOSEN(zephyr_entropy)); variable
29 zassert_true(device_is_ready(entropy)); in setup()
113 err = entropy_get_entropy(entropy, &rand, 1); in ZTEST()
201 err = entropy_get_entropy(entropy, &rand, 1); in ZTEST()
/Zephyr-latest/tests/drivers/entropy/api/boards/
Dnucleo_wb05kz.overlay9 zephyr,entropy = &rng;
Dnucleo_wb07cc.overlay9 zephyr,entropy = &rng;
Dnucleo_wb09ke.overlay9 zephyr,entropy = &rng;
/Zephyr-latest/tests/subsys/random/rng/
Dentropy_psa_crypto.overlay9 zephyr,entropy = &psa_rng;
/Zephyr-latest/modules/openthread/platform/
Dentropy.c16 #error OpenThread requires an entropy source for a TRNG

1234567891011