Home
last modified time | relevance | path

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

12345678

/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/train/
Ddata_prepare.py35 import random
96 start_x = (random.random() - 0.5) * 2000
97 start_y = (random.random() - 0.5) * 2000
98 start_z = (random.random() - 0.5) * 2000
99 x_increase = (random.random() - 0.5) * 10
100 y_increase = (random.random() - 0.5) * 10
101 z_increase = (random.random() - 0.5) * 10
104 start_x + j * x_increase + (random.random() - 0.5) * 6,
105 start_y + j * y_increase + (random.random() - 0.5) * 6,
106 start_z + j * z_increase + (random.random() - 0.5) * 6
[all …]
Ddata_augmentation_test.py35 original_data = np.random.rand(10, 3).tolist()
42 np.random.rand(128, 3).tolist(),
43 np.random.rand(66, 2).tolist(),
44 np.random.rand(9, 1).tolist()
Ddata_augmentation.py24 import random
54 (random.random() - 0.5) * 200).tolist())
61 tmp_data[i][j] = data[i][j] + 5 * random.random()
Ddata_split_person.py36 import random
43 random.seed(30)
44 random.shuffle(whole_data)
Ddata_split.py35 import random
67 random.seed(30)
68 random.shuffle(data)
Dtrain_test.py50 cnn_data = np.random.rand(60, 128, 3, 1)
51 lstm_data = np.random.rand(60, 128, 3)
/Zephyr-Core-3.5.0/subsys/random/
DKconfig9 bool "Allow non-random number generator"
11 This option signifies that a non-random number generator is allowed to
12 be used and the kernel's random number APIs are permitted to return
13 values that are not truly random.
15 This capability is provided for testing purposes when a truly random
16 number generator is not available. The non-random number generator
21 application is allowed to run with a random number generator that is not
22 truly random. Board-level configurations must not select this option
26 Note that this option does not imply that a non-random number generator
28 device-backed random number generator, if available, will be selected by
[all …]
DCMakeLists.txt6 zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/random/random.h)
13 Warning: CONFIG_TIMER_RANDOM_GENERATOR is not a truly random generator.
/Zephyr-Core-3.5.0/doc/services/crypto/random/
Dindex.rst6 The random API subsystem provides random number generation APIs in both
8 random API to use is based on the cryptographic requirements of the
9 random number. The non-cryptographic APIs will return random values
12 The cryptographically secure random functions shall be compliant to the
13 FIPS 140-2 [NIST02]_ recommended algorithms. Hardware based random-number
31 These options can be found in the following path :zephyr_file:`subsys/random/Kconfig`.
34 For testing, this option allows a non-random number generator to be used and
35 permits random number APIs to return values that are not truly random.
37 The random number generator choice group allows selection of the RNG
48 The random number generators available include:
[all …]
/Zephyr-Core-3.5.0/drivers/entropy/
Dentropy_mcux_rnga.c18 uint32_t random; in entropy_mcux_rnga_get_uint8() local
31 status = RNGA_GetRandomData(RNG, &random, sizeof(random)); in entropy_mcux_rnga_get_uint8()
33 output ^= random; in entropy_mcux_rnga_get_uint8()
DKconfig.mcux12 This option enables the random number generator accelerator (RNGA)
21 This option enables the true random number generator (TRNG)
30 This option enables the true random number generator (TRNG)
49 This option enables the driver for random number generation using
52 # Don't use use the MCUX TRNG as a random source as it is not designed
53 # to supply a continuous random stream. Instead, it is used to provide
70 int "CAAM random number pool size"
74 Buffer length in bytes used to store random bytes generated by
DKconfig.native_posix9 This option enables the test random number generator for the
10 native_posix board (ARCH_POSIX). This is based on the host random() API.
13 It actually generates always the same sequence of random numbers if
DKconfig.nrf521 This option enables the RNG peripheral, which is a random number
23 random 8-bit value to the host when read.
35 int "Thread-mode random number pool size"
44 int "Thread-mode random number pool low-water threshold"
53 int "ISR-mode random number pool size"
62 int "ISR-mode random number pool low-water threshold"
DKconfig.smartbond18 int "Thread-mode random number pool size"
27 int "Thread-mode random number pool low-water threshold"
36 int "ISR-mode random number pool size"
45 int "ISR-mode random number pool low-water threshold"
DKconfig.rv32m112 This option enables the true random number generator (TRNG)
15 # Don't use use the RV32M1 TRNG as a random source since it can be quite slow.
DKconfig.gecko15 This option enables the true random number generator
24 This option enables the true random number generator
DKconfig.stm3221 int "Thread-mode random number pool size"
30 int "Thread-mode random number pool low-water threshold"
39 int "ISR-mode random number pool size"
48 int "ISR-mode random number pool low-water threshold"
DKconfig.bt_hci14 # Don't use use Bluetooth HCI as a random source since it will be slow.
/Zephyr-Core-3.5.0/doc/hardware/peripherals/
Dentropy.rst11 for use by the random subsystem and cryptographic services. They are not
12 suitable to be used as random number generation functions.
/Zephyr-Core-3.5.0/modules/
DKconfig.tinycrypt15 This option enables support for the pseudo-random number
35 This option enables support for pseudo-random number
44 Enabling ECC requires a cryptographically secure random number
53 Enabling ECC requires a cryptographically secure random number
/Zephyr-Core-3.5.0/tests/drivers/disk/disk_performance/
DREADME.txt14 * Random read test: This test performs random reads across the disk, each one
20 * Random write test: This test performs random writes across the disk, each one
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dcrypto.c716 const uint8_t random[13], uint8_t out[5]) in private_beacon_obf()
723 memcpy(&salt[1], random, 13); in private_beacon_obf()
742 const uint8_t random[13], uint8_t auth[8]) in private_beacon_auth()
749 memcpy(&salt[1], random, 13); in private_beacon_auth()
789 int bt_mesh_beacon_decrypt(const struct bt_mesh_key *pbk, const uint8_t random[13], in bt_mesh_beacon_decrypt()
797 err = private_beacon_obf(pbk, data, random, out); in bt_mesh_beacon_decrypt()
802 err = private_beacon_auth(pbk, out, random, auth); in bt_mesh_beacon_decrypt()
819 const uint8_t random[13], uint8_t data[5], uint8_t auth[8]) in bt_mesh_beacon_encrypt()
828 err = private_beacon_auth(pbk, data, random, auth); in bt_mesh_beacon_encrypt()
833 return private_beacon_obf(pbk, data, random, data); in bt_mesh_beacon_encrypt()
/Zephyr-Core-3.5.0/doc/connectivity/bluetooth/
Dbluetooth-shell.rst40 [00:02:26.794,738] <inf> bt_hci_core: bt_dev_show_info: Identity: EB:BF:36:26:42:09 (random)
69 …[DEVICE]: CB:01:1A:2D:6E:AE (random), AD evt type 0, RSSI -78 C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, S…
70 …[DEVICE]: 20:C2:EE:59:85:5B (random), AD evt type 3, RSSI -62 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
71 …[DEVICE]: E3:72:76:87:2F:E8 (random), AD evt type 3, RSSI -74 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
72 …[DEVICE]: 1E:19:25:8A:CB:84 (random), AD evt type 3, RSSI -67 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
73 …[DEVICE]: 26:42:F3:D5:A0:86 (random), AD evt type 3, RSSI -73 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
74 …[DEVICE]: 0C:61:D1:B9:5D:9E (random), AD evt type 3, RSSI -87 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
75 …[DEVICE]: 20:C2:EE:59:85:5B (random), AD evt type 3, RSSI -66 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
76 …[DEVICE]: 25:3F:7A:EE:0F:55 (random), AD evt type 3, RSSI -83 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
119 uart:~$ bt connect 52:84:F6:BD:CE:48 random
[all …]
/Zephyr-Core-3.5.0/doc/services/crypto/
Dindex.rst17 random/index.rst
/Zephyr-Core-3.5.0/scripts/native_simulator/common/src/
Dnsi_host_trampolines.c51 return random(); in nsi_host_random()

12345678