/external/rust/crates/ring/tests/ |
D | rand_tests.rs | 58 let rng = rand::SystemRandom::new(); in test_system_random_lengths() 73 test::compile_time_assert_clone::<rand::SystemRandom>(); in test_system_random_traits() 74 test::compile_time_assert_send::<rand::SystemRandom>(); in test_system_random_traits() 78 format!("{:?}", rand::SystemRandom::new()) in test_system_random_traits()
|
D | ecdsa_tests.rs | 108 let rng = rand::SystemRandom::new(); in ecdsa_generate_pkcs8_test() 233 let rng = rand::SystemRandom::new(); in signature_ecdsa_sign_fixed_sign_and_verify_test() 287 let rng = rand::SystemRandom::new(); in signature_ecdsa_sign_asn1_test()
|
D | agreement_tests.rs | 41 let rng = rand::SystemRandom::new(); in agreement_traits() 83 let rng = rand::SystemRandom::new(); in agreement_agree_ephemeral()
|
D | constant_time_tests.rs | 28 let initial: [u8; 256] = rand::generate(&rand::SystemRandom::new()).unwrap().expose(); in test_verify_slices_are_equal()
|
D | rsa_tests.rs | 77 let rng = rand::SystemRandom::new(); in test_signature_rsa_pkcs1_sign()
|
/external/python/cpython3/Lib/ |
D | secrets.py | 19 from random import SystemRandom 21 _sysrand = SystemRandom()
|
D | random.py | 770 class SystemRandom(Random): class
|
/external/rust/crates/ring/src/ |
D | rand.rs | 147 pub struct SystemRandom(()); struct 149 impl SystemRandom { impl 157 impl sealed::SecureRandom for SystemRandom { implementation 164 impl crate::sealed::Sealed for SystemRandom {} implementation
|
D | hmac.rs | 368 let rng = rand::SystemRandom::new(); in hmac_signing_key_coverage()
|
/external/rust/crates/grpcio-sys/grpc/tools/profiling/microbenchmarks/bm_diff/ |
D | bm_run.py | 111 random.shuffle(jobs_list, random.SystemRandom().random)
|
D | bm_main.py | 135 random.shuffle(jobs_list, random.SystemRandom().random)
|
/external/grpc-grpc/tools/profiling/microbenchmarks/bm_diff/ |
D | bm_run.py | 116 random.shuffle(jobs_list, random.SystemRandom().random)
|
D | bm_main.py | 142 random.shuffle(jobs_list, random.SystemRandom().random)
|
/external/autotest/server/site_tests/firmware_SysfsVPD/ |
D | firmware_SysfsVPD.py | 21 return ''.join(random.SystemRandom().choice(chars) for _ in range(length))
|
/external/python/cpython3/Doc/library/ |
D | secrets.rst | 39 .. class:: SystemRandom 43 :class:`random.SystemRandom` for additional details.
|
/external/rust/crates/quiche/examples/ |
D | client.rs | 104 SystemRandom::new().fill(&mut scid[..]).unwrap(); in main()
|
D | http3-client.rs | 105 SystemRandom::new().fill(&mut scid[..]).unwrap(); in main()
|
D | server.rs | 107 let rng = SystemRandom::new(); in main()
|
D | http3-server.rs | 115 let rng = SystemRandom::new(); in main()
|
/external/rust/crates/ring/src/ec/suite_b/ecdsa/ |
D | signing.rs | 115 let rng = rand::SystemRandom::new(); // TODO: make this a parameter. in from_pkcs8() 146 let rng = rand::SystemRandom::new(); // TODO: make this a parameter. in from_private_key_and_public_key()
|
/external/python/cpython2/Doc/library/ |
D | random.rst | 60 The :mod:`random` module also provides the :class:`SystemRandom` class which 67 security purposes. Use :func:`os.urandom` or :class:`SystemRandom` if 308 .. class:: SystemRandom([seed])
|
/external/python/cpython2/Lib/test/ |
D | test_random.py | 206 gen = random.SystemRandom() 632 random.SystemRandom().random()
|
/external/rust/crates/ring/src/rsa/ |
D | signing.rs | 621 let rng = rand::SystemRandom::new(); in test_signature_rsa_pkcs1_sign_output_buffer_len()
|
/external/autotest/client/common_lib/ |
D | software_manager.py | 37 r = random.SystemRandom()
|
/external/python/cpython2/Lib/ |
D | random.py | 807 class SystemRandom(Random): class
|