/Zephyr-latest/drivers/entropy/ |
D | Kconfig | 9 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.stm32" 27 source "drivers/entropy/Kconfig.esp32" 28 source "drivers/entropy/Kconfig.nrf5" 29 source "drivers/entropy/Kconfig.sam" 30 source "drivers/entropy/Kconfig.smartbond" [all …]
|
D | Kconfig.esp32 | 1 # 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
|
D | Kconfig.stm32 | 1 # 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
|
D | Kconfig.cc13xx_cc26xx | 1 # 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,
|
D | Kconfig.nrf5 | 1 # 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
|
D | Kconfig.smartbond | 22 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
|
D | Kconfig.renesas_ra | 4 # Renesas RA entropy generator driver configuration 14 This option enables entropy driver for Renesas RA
|
D | Kconfig.native_posix | 4 bool "Native posix entropy driver" 11 Note that this entropy generator is only meant for test purposes and does 12 not generate real entropy.
|
D | Kconfig.litex | 1 # LiteX PRBS entropy generator driver configuration 12 This option enables the RNG module, which is an entropy number
|
D | entropy_esp32.c | 21 LOG_MODULE_REGISTER(entropy, CONFIG_ENTROPY_LOG_LEVEL); 91 static DEVICE_API(entropy, entropy_esp32_api_funcs) = {
|
D | entropy_bt_hci.c | 40 static DEVICE_API(entropy, entropy_bt_api) = {
|
D | entropy_litex.c | 37 static DEVICE_API(entropy, entropy_prbs_api) = {
|
/Zephyr-latest/tests/crypto/tinycrypt/src/ |
D | ctr_prng.c | 51 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/ |
D | getentropy.c | 17 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/ |
D | entropy.rst | 9 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/ |
D | busy_sim.c | 30 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/ |
D | Kconfig | 27 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/ |
D | entropy_bt_hci.overlay | 10 zephyr,entropy = &rng_hci; 14 compatible = "zephyr,bt-hci-entropy";
|
D | entropy_psa_crypto.overlay | 9 zephyr,entropy = &psa_rng;
|
D | Kconfig | 7 source "tests/drivers/entropy/api/Kconfig.mcux"
|
/Zephyr-latest/tests/drivers/clock_control/nrf_onoff_and_bt/src/ |
D | main.c | 21 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/subsys/random/rng/ |
D | entropy_psa_crypto.overlay | 9 zephyr,entropy = &psa_rng;
|
/Zephyr-latest/modules/openthread/platform/ |
D | entropy.c | 16 #error OpenThread requires an entropy source for a TRNG
|
/Zephyr-latest/doc/services/crypto/random/ |
D | index.rst | 23 The CTR-DRBG generator needs an entropy source to establish and 56 entropy gathering driver to generate random numbers. 60 entropy driver as a seed source. 83 Personalization data can be provided in addition to the entropy source
|
/Zephyr-latest/modules/mbedtls/ |
D | Kconfig.tls-generic | 392 bool "Mbed TLS entropy accumulator" 395 This module gathers entropy data from enabled entropy sources. It's 400 bool "Provide entropy data to Mbed TLS through entropy driver or random generator" 404 Provide entropy data to the Mbed TLS's entropy module through either 405 an entropy driver (if available in the system) or a generic random 485 # The only way to check if there is any entropy driver available on the 486 # platform is to check if the "zephyr,entropy" chosen property exists. 488 # entropy drivers but these are gated by CONFIG_ENTROPY_GENERATOR which 502 - there is no fallback to weak entropy random generators. 510 # If there is any entropy driver in the system, then the choice would be [all …]
|