/external/vboot_reference/tests/ |
gen_preamble_testdata.sh | 56 dd if=/dev/urandom bs=32768 count=1 of="${DATADIR}/dummy_bootloader.bin" 59 dd if=/dev/urandom of="${DATADIR}/FWDATA" bs=32768 count=1 60 dd if=/dev/urandom of="${DATADIR}/KERNDATA" bs=32768 count=1
|
gen_fuzz_test_cases.sh | 72 dd if=/dev/urandom of=${TEST_IMAGE_FILE} bs=${TEST_IMAGE_SIZE} count=1 75 dd if=/dev/urandom of=${TEST_BOOTLOADER_FILE} bs=${TEST_BOOTLOADER_SIZE} \ 79 dd if=/dev/urandom of=${TEST_CONFIG_FILE} bs=${TEST_CONFIG_SIZE} count=1
|
gen_test_cases.sh | 38 dd if=/dev/urandom of=${TEST_FILE} bs=${TEST_FILE_SIZE} count=1
|
load_kernel_tests.sh | 26 dd if=/dev/urandom bs=16384 count=1 of="dummy_bootloader.bin" 27 dd if=/dev/urandom bs=32768 count=1 of="dummy_kernel.bin"
|
/system/extras/tests/pagingtest/ |
pagingtest.c | 25 int urandom; local 33 urandom = open("/dev/urandom", O_RDONLY); 34 if (urandom < 0) { 35 fprintf(stderr, "unable to open urandom: %s\n", strerror(errno)); 58 rc = read(urandom, tmp_buf, tmp_size); 86 close(urandom); 94 close(urandom);
|
/external/ltp/tools/pounder21/test_scripts/ |
lame | 43 dd if=/dev/urandom bs=1024k count=200 | "$TASKSET" `echo -en "obase=16\n$((1 << k))\n" | bc` "$PROGFILE" - /dev/null &
|
/external/python/cpython3/Lib/ |
secrets.py | 47 return os.urandom(nbytes)
|
/external/vboot_reference/tests/futility/ |
test_show_kernel.sh | 19 dd if=/dev/urandom bs=16384 count=1 of=${TMP}.bootloader.bin 20 dd if=/dev/urandom bs=32768 count=1 of=${TMP}.kernel.bin
|
test_load_fmap.sh | 28 dd if=/dev/urandom of=$a.rand bs=$size count=1
|
test_gbb_utility.sh | 36 dd if=/dev/urandom bs=17 count=1 of=${TMP}.data1.toolong 37 dd if=/dev/urandom bs=17 count=1 of=${TMP}.data2.toolong 38 dd if=/dev/urandom bs=17 count=1 of=${TMP}.data3.toolong 44 dd if=/dev/urandom bs=10 count=1 of=${TMP}.data1.short 45 dd if=/dev/urandom bs=10 count=1 of=${TMP}.data2.short 46 dd if=/dev/urandom bs=10 count=1 of=${TMP}.data3.short 62 dd if=/dev/urandom bs=16 count=1 of=${TMP}.data1 63 dd if=/dev/urandom bs=16 count=1 of=${TMP}.data2 64 dd if=/dev/urandom bs=16 count=1 of=${TMP}.data3
|
test_sign_fw_main.sh | 15 dd bs=1024 count=16 if=/dev/urandom of=${TMP}.fw_main
|
/prebuilts/go/darwin-x86/src/crypto/rand/ |
rand.go | 14 // On Linux, Reader uses getrandom(2) if available, /dev/urandom otherwise. 16 // On other Unix-like systems, Reader reads from /dev/urandom.
|
rand_linux.go | 19 // * When reading from the urandom source, a maximum of 33554431 bytes 40 // reading from /dev/urandom in rand_unix.go. unix.GetRandom caches the ENOSYS
|
rand_unix.go | 23 const urandomDevice = "/dev/urandom" 25 // Easy implementation: read from /dev/urandom. 44 // urandom-style randomness. 69 // hideAgainReader masks EAGAIN reads from /dev/urandom. 84 // systems without a reliable /dev/urandom.
|
/prebuilts/go/linux-x86/src/crypto/rand/ |
rand.go | 14 // On Linux, Reader uses getrandom(2) if available, /dev/urandom otherwise. 16 // On other Unix-like systems, Reader reads from /dev/urandom.
|
rand_linux.go | 19 // * When reading from the urandom source, a maximum of 33554431 bytes 40 // reading from /dev/urandom in rand_unix.go. unix.GetRandom caches the ENOSYS
|
rand_unix.go | 23 const urandomDevice = "/dev/urandom" 25 // Easy implementation: read from /dev/urandom. 44 // urandom-style randomness. 69 // hideAgainReader masks EAGAIN reads from /dev/urandom. 84 // systems without a reliable /dev/urandom.
|
/device/google/contexthub/util/nanoapp_encr/ |
nanoapp_encr.c | 29 static FILE* urandom = NULL; variable 33 if (urandom) 34 fclose(urandom); 39 if (!urandom) { 40 urandom = fopen("/dev/urandom", "rb"); 41 if (!urandom) { 42 fprintf(stderr, "Failed to open /dev/urandom. Cannot procceed!\n"); 50 if (len != fread(dst, 1, len, urandom)) { 51 fprintf(stderr, "Failed to read /dev/urandom. Cannot procceed!\n") [all...] |
/build/make/tools/releasetools/ |
test_common.py | 42 yield os.urandom(block_size) 205 file_contents = os.urandom(1024) 209 file_contents = os.urandom(1024) 231 random_string = os.urandom(1024) 244 random_string = os.urandom(1024) 269 short_string = os.urandom(1024) 285 random_string = os.urandom(1024) 321 entry_file.write(os.urandom(1024)) 523 target_files_zip.writestr('SYSTEM/file1', os.urandom(4096 * 8)) 524 target_files_zip.writestr('SYSTEM/file2', os.urandom(4096 * 3) [all...] |
/external/toybox/tests/ |
cp.test | 6 dd if=/dev/urandom of=random bs=64 count=1 2> /dev/null
|
/system/iot/attestation/partner-tools/ |
aesgcm.py | 56 iv = os.urandom(12)
|
/kernel/tests/net/test/ |
xfrm_algorithm_test.py | 162 os.urandom(params["crypt"].key_len / 8)) if params["crypt"] else None 166 os.urandom(params["crypt"].key_len / 8)) if params["crypt"] else None 171 os.urandom(params["auth"].key_len / 8)) if params["auth"] else None 176 os.urandom(params["auth"].key_len / 8)) if params["auth"] else None 181 os.urandom(params["aead"].key_len / 8)) if params["aead"] else None 186 os.urandom(params["aead"].key_len / 8)) if params["aead"] else None
|
/prebuilts/go/darwin-x86/src/internal/syscall/unix/ |
getrandom_linux.go | 22 // GRND_RANDOM means use the /dev/random pool instead of /dev/urandom.
|
/prebuilts/go/linux-x86/src/internal/syscall/unix/ |
getrandom_linux.go | 22 // GRND_RANDOM means use the /dev/random pool instead of /dev/urandom.
|
/external/ltp/testcases/kernel/fs/iso9660/ |
isofs.sh | 65 dd if=/dev/urandom of="$new_path/file" bs=1024 count=100 >/dev/null 2>&1
|