/external/python/cryptography/docs/ |
D | random-numbers.rst | 12 provided random number generator`_, which is available as :func:`os.urandom`. 19 >>> iv = os.urandom(16) 21 This will use ``/dev/urandom`` on UNIX platforms, and ``CryptGenRandom`` on 26 ``int.from_bytes`` to convert the result of ``os.urandom``: 30 >>> serial = int.from_bytes(os.urandom(20), byteorder="big")
|
/external/vboot_reference/tests/futility/ |
D | 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
|
D | 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
|
/external/vboot_reference/tests/ |
D | 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
|
D | 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
|
D | 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"
|
/external/rust/crates/ahash/patches/ |
D | 0001-Use-dev-urandom-instead-of-getrandom.patch | 4 Subject: [PATCH] Use /dev/urandom instead of getrandom() 6 To generate the ahash crate's default hash keys, use /dev/urandom 11 If opening or reading from /dev/urandom fails, fall back to getrandom(). 32 + let mut f = File::open("/dev/urandom")?;
|
/external/abseil-cpp/absl/random/internal/ |
D | explicit_seed_seq_test.cc | 86 std::random_device urandom{"/dev/urandom"}; in TEST() local 88 seed = urandom(); in TEST() 132 std::random_device urandom("/dev/urandom"); in TEST() local 134 entry = urandom(); in TEST() 156 entry = urandom(); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/random/internal/ |
D | explicit_seed_seq_test.cc | 86 std::random_device urandom{"/dev/urandom"}; in TEST() local 88 seed = urandom(); in TEST() 132 std::random_device urandom("/dev/urandom"); in TEST() local 134 entry = urandom(); in TEST() 156 entry = urandom(); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/random/internal/ |
D | explicit_seed_seq_test.cc | 86 std::random_device urandom{"/dev/urandom"}; in TEST() local 88 seed = urandom(); in TEST() 132 std::random_device urandom("/dev/urandom"); in TEST() local 134 entry = urandom(); in TEST() 156 entry = urandom(); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/random/internal/ |
D | explicit_seed_seq_test.cc | 86 std::random_device urandom{"/dev/urandom"}; in TEST() local 88 seed = urandom(); in TEST() 132 std::random_device urandom("/dev/urandom"); in TEST() local 134 entry = urandom(); in TEST() 156 entry = urandom(); in TEST()
|
/external/angle/third_party/abseil-cpp/absl/random/internal/ |
D | explicit_seed_seq_test.cc | 86 std::random_device urandom{"/dev/urandom"}; in TEST() local 88 seed = urandom(); in TEST() 132 std::random_device urandom("/dev/urandom"); in TEST() local 134 entry = urandom(); in TEST() 156 entry = urandom(); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | explicit_seed_seq_test.cc | 86 std::random_device urandom{"/dev/urandom"}; in TEST() local 88 seed = urandom(); in TEST() 132 std::random_device urandom("/dev/urandom"); in TEST() local 134 entry = urandom(); in TEST() 156 entry = urandom(); in TEST()
|
/external/python/cryptography/tests/hazmat/primitives/twofactor/ |
D | test_hotp.py | 33 secret = os.urandom(10) 39 secret = os.urandom(10) 43 secret = os.urandom(16) 49 secret = os.urandom(16)
|
/external/python/cryptography/tests/hazmat/primitives/ |
D | test_aead.py | 112 nonce = os.urandom(12) 175 nonce = os.urandom(12) 216 nonce = os.urandom(12) 236 nonce = os.urandom(14) 276 nonce = os.urandom(12) 286 nonce = os.urandom(13) 321 nonce = os.urandom(12) 340 nonce = os.urandom(12) 439 nonce = os.urandom(12) 452 nonce = os.urandom(12)
|
/external/python/rsa/rsa/ |
D | randnum.py | 35 randomdata = os.urandom(nbytes) 39 randomvalue = ord(os.urandom(1))
|
/external/python/cryptography/docs/hazmat/backends/ |
D | openssl.rst | 72 ``/dev/urandom`` or ``CryptGenRandom``). This CSPRNG is not reseeded 79 sources its entropy from ``/dev/urandom`` on UNIX-like operating systems and 95 On macOS and FreeBSD ``/dev/urandom`` is an alias for ``/dev/random``. The 103 Linux uses its own PRNG design. ``/dev/urandom`` is a non-blocking source 117 | fallback | ``/dev/urandom`` with |
|
/external/angle/third_party/abseil-cpp/absl/random/ |
D | seed_sequences_test.cc | 86 std::random_device urandom; in TEST() local 89 auto seq_from_rng = absl::CreateSeedSeqFrom(&urandom); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/ |
D | seed_sequences_test.cc | 86 std::random_device urandom; in TEST() local 89 auto seq_from_rng = absl::CreateSeedSeqFrom(&urandom); in TEST()
|
/external/webrtc/third_party/abseil-cpp/absl/random/ |
D | seed_sequences_test.cc | 86 std::random_device urandom; in TEST() local 89 auto seq_from_rng = absl::CreateSeedSeqFrom(&urandom); in TEST()
|
/external/openscreen/third_party/abseil/src/absl/random/ |
D | seed_sequences_test.cc | 86 std::random_device urandom; in TEST() local 89 auto seq_from_rng = absl::CreateSeedSeqFrom(&urandom); in TEST()
|
/external/abseil-cpp/absl/random/ |
D | seed_sequences_test.cc | 86 std::random_device urandom; in TEST() local 89 auto seq_from_rng = absl::CreateSeedSeqFrom(&urandom); in TEST()
|
/external/libtextclassifier/abseil-cpp/absl/random/ |
D | seed_sequences_test.cc | 86 std::random_device urandom; in TEST() local 89 auto seq_from_rng = absl::CreateSeedSeqFrom(&urandom); in TEST()
|
/external/python/cryptography/src/cryptography/hazmat/primitives/ciphers/ |
D | aead.py | 32 return os.urandom(32) 97 return os.urandom(bit_length // 8) 157 return os.urandom(bit_length // 8)
|
/external/python/cryptography/src/cryptography/ |
D | fernet.py | 47 return base64.urlsafe_b64encode(os.urandom(32)) 51 iv = os.urandom(16) 162 iv = os.urandom(16)
|