Home
last modified time | relevance | path

Searched refs:random (Results 1 – 25 of 26) sorted by relevance

12

/hal_espressif-latest/components/bootloader_support/src/
Dbootloader_random.c40 uint32_t random; in bootloader_fill_random() local
47 random = REG_READ(WDEV_RND_REG); in bootloader_fill_random()
50 random ^= REG_READ(WDEV_RND_REG); in bootloader_fill_random()
57 random = random ^ current_rtc_timer_counter; in bootloader_fill_random()
59 buffer_bytes[i] = random & 0xFF; in bootloader_fill_random()
69 random = REG_READ(WDEV_RND_REG); in bootloader_fill_random()
72 random ^= REG_READ(WDEV_RND_REG); in bootloader_fill_random()
76 buffer_bytes[i] = random >> ((i % 4) * 8); in bootloader_fill_random()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/smp/
Desp_app_sec.c14 extern int random (void);
32 return (100000 + (random() % 900000)); in app_ble_sec_gen_tk()
52 app_sec_env.rand_nb.nb[i] = random() % 256; in app_ble_sec_gen_ltk()
57 app_sec_env.ltk.key[i] = (((key_size) < (16 - i)) ? 0 : random() % 256); in app_ble_sec_gen_ltk()
61 app_sec_env.ediv = random() % 65536; in app_ble_sec_gen_ltk()
/hal_espressif-latest/components/efuse/esp32h2/
Desp_efuse_table_v0.0_v1.1.csv6 … EFUSE_BLK0, 114, 1, [] Represents whether hardware random number k is forced…
Desp_efuse_table.csv138 …FUSE_BLK0, 112, 2, [] Represents the spa secure level by configuring the clock random divide mode
/hal_espressif-latest/tools/esptool_py/test/
Dtest_merge_bin.py6 import random
248 line = lines[random.randrange(0, len(lines))]
336 f.write(struct.pack("B", random.randrange(0, 1 << 7)))
341 chip, rom = random.choice(list(CHIP_DEFS.items()))
Dtest_esptool.py18 import random
589 struct.pack("B", random.randrange(0, 1 << 8)) * same_bytes
/hal_espressif-latest/components/newlib/
DCMakeLists.txt14 "random.c"
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/documentation/
Dtinycrypt.rst33 * Type of primitive: Pseudo-random number generator (256-bit strength).
69 * Type of primitive: Pseudo-random number generator (128-bit strength).
146 PRNGs only stretch the seed into a seemingly random output of arbitrary
171 PRNGs only stretch the seed into a seemingly random output of arbitrary
270 * Construct random mappings (HMAC-SHA256);
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/src/
Decc.c837 int uECC_generate_random_int(uECC_word_t *random, const uECC_word_t *top, in uECC_generate_random_int() argument
849 if (!g_rng_function((uint8_t *)random, num_words * uECC_WORD_SIZE)) { in uECC_generate_random_int()
852 random[num_words - 1] &= in uECC_generate_random_int()
854 if (!uECC_vli_isZero(random, num_words) && in uECC_generate_random_int()
855 uECC_vli_cmp(top, random, num_words) == 1) { in uECC_generate_random_int()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Decc.c836 int uECC_generate_random_int(uECC_word_t *random, const uECC_word_t *top, in uECC_generate_random_int() argument
848 if (!g_rng_function((uint8_t *)random, num_words * uECC_WORD_SIZE)) { in uECC_generate_random_int()
851 random[num_words - 1] &= in uECC_generate_random_int()
853 if (!uECC_vli_isZero(random, num_words) && in uECC_generate_random_int()
854 uECC_vli_cmp(top, random, num_words) == 1) { in uECC_generate_random_int()
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/inc/
Dsummary_ESP32-P4.rst22 …KM_RND_SWITCH_CYCLE (BLOCK0) Set bits to control key manager random number s…
112 clock random divide mode
113 …ECDSA_ENABLE_SOFT_K (BLOCK0) Represents whether hardware random number k is …
Dsummary_ESP32-H2.rst92 clock random divide mode
93 …ECDSA_FORCE_USE_HARDWARE_K (BLOCK0) Represents whether hardware random number k is …
Dsummary_ESP32-C6.rst93 clock random divide mode
/hal_espressif-latest/zephyr/esp32/src/wifi/
Desp_wifi_adapter.c428 unsigned long random(void) in random() function
805 ._random = random,
/hal_espressif-latest/zephyr/esp32s2/src/wifi/
Desp_wifi_adapter.c432 unsigned long random(void) in random() function
808 ._random = random,
/hal_espressif-latest/zephyr/esp32s3/src/wifi/
Desp_wifi_adapter.c457 unsigned long random(void) in random() function
822 ._random = random,
/hal_espressif-latest/components/bt/porting/ext/tinycrypt/include/tinycrypt/
Decc.h205 int uECC_generate_random_int(uECC_word_t *random, const uECC_word_t *top,
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Decc.h205 int uECC_generate_random_int(uECC_word_t *random, const uECC_word_t *top,
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_utils.c1403 UINT8 smp_calculate_random_input(UINT8 *random, UINT8 round) in smp_calculate_random_input() argument
1409 SMP_TRACE_DEBUG("random: 0x%02x, round: %d, i: %d, j: %d\n", random[i], round, i, j); in smp_calculate_random_input()
1410 ri = ((random[i] >> j) & 1) | 0x80; in smp_calculate_random_input()
/hal_espressif-latest/components/esp_hw_support/
DKconfig88 data in Flash may be corrupted by random signals on other SPI pins.
104 data in PSRAM may be corrupted by random signals on other SPI pins.
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h490 extern UINT8 smp_calculate_random_input(UINT8 *random, UINT8 round);
/hal_espressif-latest/components/efuse/esp32c6/
Desp_efuse_table.csv136 …2, 2, [DPA_SEC_LEVEL] Represents the spa secure level by configuring the clock random divide mode
/hal_espressif-latest/components/esp_psram/esp32/
DKconfig.spiram196 bool "Put libc's random related functions in IRAM"
/hal_espressif-latest/tools/esptool_py/docs/en/
Dtroubleshooting.rst27 If flashing fails with random errors part way through, retry with a lower baud rate.
/hal_espressif-latest/components/bt/esp_ble_mesh/
DKconfig.in10 bool "Support using random adv interval for mesh packets"
15 Enable this option to allow using random advertising interval

12