/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | data_prepare.py | 35 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 …]
|
D | data_augmentation_test.py | 35 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()
|
D | data_augmentation.py | 24 import random 54 (random.random() - 0.5) * 200).tolist()) 61 tmp_data[i][j] = data[i][j] + 5 * random.random()
|
D | data_split_person.py | 36 import random 43 random.seed(30) 44 random.shuffle(whole_data)
|
D | data_split.py | 35 import random 67 random.seed(30) 68 random.shuffle(data)
|
/Zephyr-latest/doc/services/crypto/random/ |
D | index.rst | 6 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-latest/subsys/random/ |
D | Kconfig | 9 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 …]
|
D | CMakeLists.txt | 6 zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/random/random.h) 14 not truly random generators. This capability is not secure and it is
|
/Zephyr-latest/drivers/entropy/ |
D | entropy_mcux_rnga.c | 18 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()
|
D | Kconfig.mcux | 12 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) 44 # Don't use use the MCUX TRNG as a random source as it is not designed 45 # to supply a continuous random stream. Instead, it is used to provide 62 int "CAAM random number pool size" 66 Buffer length in bytes used to store random bytes generated by
|
D | Kconfig.native_posix | 9 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 22 Disabling this feature allows some other component to seed the host standard library random
|
D | Kconfig.nrf5 | 21 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"
|
D | Kconfig.rv32m1 | 12 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.
|
D | Kconfig.smartbond | 18 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"
|
D | Kconfig.gecko | 15 This option enables the true random number generator 24 This option enables the true random number generator
|
D | Kconfig.stm32 | 21 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"
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | entropy.rst | 11 for use by the random subsystem and cryptographic services. They are not 12 suitable to be used as random number generation functions.
|
/Zephyr-latest/samples/bluetooth/iso_central/ |
D | README.rst | 35 Device found: D3:3A:5D:F5:73:33 (random) (RSSI -78) 36 Device found: 70:7B:F4:2B:76:AD (random) (RSSI -68) 37 Device found: 65:CF:20:0D:CB:9D (random) (RSSI -82) 41 Connected: 65:CF:20:0D:CB:9D (random)
|
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/ |
D | bap_broadcast_assistant.rst | 37 public/random> <adv_sid> <sync_pa> <broadcast_id> 79 Found broadcaster with ID 0x05BD38 and addr 1E:4D:0A:AA:6E:49 (random) and sid 0x00 97 …[DEVICE]: 1E:4D:0A:AA:6E:49 (random), AD evt type 5, RSSI -28 Broadcast Audio Source C:0 S:0 D:0 S… 98 Found BAP broadcast source with address 1E:4D:0A:AA:6E:49 (random) and ID 0x05BD38 99 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 0, encrypt_state 0 102 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0 104 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0 116 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
|
/Zephyr-latest/modules/ |
D | Kconfig.tinycrypt | 20 This option enables support for the pseudo-random number 40 This option enables support for pseudo-random number 49 Enabling ECC requires a cryptographically secure random number 58 Enabling ECC requires a cryptographically secure random number
|
/Zephyr-latest/modules/mbedtls/ |
D | Kconfig.tls-generic | 357 bool "CTR_DRBG AES-256-based random generator" 362 bool "HMAC_DRBG random generator" 397 a deterministic random number generator. 400 bool "Provide entropy data to Mbed TLS through entropy driver or random generator" 405 an entropy driver (if available in the system) or a generic random 408 end up using weaker/test-only sources (ex: random number generator 483 prompt "Select random source for built-in PSA crypto" 494 bool "Use a cryptographically secure driver as random source" 497 Use a cryptographically secure random generator to provide random data 500 requires a cryptographically secure random number generator (CSPRNG) [all …]
|
/Zephyr-latest/tests/drivers/disk/disk_performance/ |
D | README.txt | 14 * 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-latest/doc/connectivity/bluetooth/shell/host/ |
D | gap.rst | 32 …[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… 33 …[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… 34 …[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… 35 …[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… 36 …[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… 37 …[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… 38 …[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… 39 …[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… 82 uart:~$ bt connect 52:84:F6:BD:CE:48 random 84 Connected: 52:84:F6:BD:CE:48 (random) [all …]
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/ |
D | test_blockwise.py | 14 import random 86 data = ''.join(random.choice(string.ascii_letters) for i in range(4096)).encode() 117 data = ''.join(random.choice(string.ascii_letters) for i in range(4096)).encode()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | crypto.c | 716 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()
|