/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"
|
run_vbutil_kernel_arg_tests.sh | 28 dd if=/dev/urandom bs=32768 count=1 of="${BIG}" 2>/dev/null 30 dd if=/dev/urandom bs=16 count=1 of="${SMALL}" 2>/dev/null
|
/system/extras/tests/pagingtest/ |
pagingtest.c | 21 int urandom; local 29 urandom = open("/dev/urandom", O_RDONLY); 30 if (urandom < 0) { 31 fprintf(stderr, "unable to open urandom: %s\n", strerror(errno)); 51 rc = read(urandom, buf, size); 80 close(urandom); 88 close(urandom);
|
/prebuilts/go/darwin-x86/src/crypto/rand/ |
rand.go | 14 // On Unix-like systems, Reader reads from /dev/urandom. 15 // On Linux, Reader uses getrandom(2) if available, /dev/urandom otherwise.
|
rand_linux.go | 22 // Test whether we should use the system call or /dev/urandom. 23 // We'll fall back to urandom if:
|
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 Unix-like systems, Reader reads from /dev/urandom. 15 // On Linux, Reader uses getrandom(2) if available, /dev/urandom otherwise.
|
rand_linux.go | 22 // Test whether we should use the system call or /dev/urandom. 23 // We'll fall back to urandom if:
|
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.
|
/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
|
test_sign_firmware.sh | 30 ${FUTILITY} load_fmap ${ONEMORE} VBLOCK_A:/dev/urandom VBLOCK_B:/dev/zero 164 ${FUTILITY} load_fmap ${MORE_OUT} VBLOCK_A:/dev/urandom VBLOCK_B:/dev/zero
|
/build/tools/releasetools/ |
test_common.py | 29 data[begin:end] = os.urandom(block_size) 192 file_contents = os.urandom(1024) 196 file_contents = os.urandom(1024) 218 random_string = os.urandom(1024) 231 random_string = os.urandom(1024) 256 short_string = os.urandom(1024) 272 random_string = os.urandom(1024)
|
/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...] |
/external/toybox/tests/ |
cp.test | 6 dd if=/dev/urandom of=random bs=64 count=1 2> /dev/null
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
xsrf.py | 33 return str(os.urandom(16).encode('hex'))
|
/external/tlsdate/ |
apparmor-profile | 55 /dev/urandom r, 116 /dev/urandom r, 176 /dev/urandom r,
|
/prebuilts/go/darwin-x86/src/internal/syscall/unix/ |
getrandom_linux.go | 31 // GRND_RANDOM means use the /dev/random pool instead of /dev/urandom.
|
/prebuilts/go/linux-x86/src/internal/syscall/unix/ |
getrandom_linux.go | 31 // GRND_RANDOM means use the /dev/random pool instead of /dev/urandom.
|
/device/google/contexthub/util/nanoapp_sign/ |
nanoapp_sign.c | 28 static FILE* urandom = NULL; variable 89 if (!urandom) { 90 urandom = fopen("/dev/urandom", "rb"); 91 if (!urandom) { 92 fprintf(stderr, "Failed to open /dev/urandom. Cannot procceed!\n"); 99 if (!fread(&byte, 1, 1, urandom)) { 100 fprintf(stderr, "Failed to read /dev/urandom. Cannot procceed!\n"); 113 if (urandom) 114 fclose(urandom); [all...] |