Searched refs:rng (Results 1 – 17 of 17) sorted by relevance
/trusty/user/app/keymint/ |
D | secure_deletion_secret_manager.rs | 345 rng: &mut dyn crypto::Rng, in get_or_create_factory_reset_secret_impl() 357 rng.fill_bytes(&mut buffer); in get_or_create_factory_reset_secret_impl() 448 rng: &mut dyn crypto::Rng, in get_or_create_factory_reset_secret() 450 self.get_or_create_factory_reset_secret_impl(rng, true) in get_or_create_factory_reset_secret() 467 rng: &mut dyn crypto::Rng, in new_secret() 474 match self.get_or_create_factory_reset_secret_impl(rng, false) { in new_secret() 481 rng.fill_bytes(&mut secure_deletion_data.secure_deletion_secret); in new_secret() 670 use kmr_crypto_boring::rng::BoringRng; 685 let mut rng = BoringRng::default(); in secret_data_is_cached() localVariable 687 sdsf.get_or_create_factory_reset_secret(&mut rng).expect("Couldn't create secret"); in secret_data_is_cached() [all …]
|
D | lib.rs | 27 mod rng; module 37 pub use rng::TrustyRng;
|
D | main.rs | 65 let rng = TrustyRng::default(); in main() localVariable 72 rng: Box::new(rng), in main()
|
D | key_wrapper.rs | 130 rng: &mut dyn crypto::Rng, in generate_key() 136 return self.0.generate_key(rng, variant, params); in generate_key()
|
/trusty/user/base/lib/openssl-stubs/ |
D | openssl-stubs-inc.mk | 4 trusty/user/base/lib/rng \
|
/trusty/user/app/sample/hwrng-unittest/ |
D | rules.mk | 30 trusty/user/base/lib/rng \
|
/trusty/user/app/sample/hwrng-bench/ |
D | rules.mk | 31 trusty/user/base/lib/rng \
|
/trusty/user/app/sample/hwcrypto-unittest/ |
D | rules.mk | 31 trusty/user/base/lib/rng \
|
/trusty/user/base/lib/hwbcc/common/ |
D | rules.mk | 35 trusty/user/base/lib/rng \
|
/trusty/user/app/storage/test/storage-benchmark/ |
D | rules.mk | 27 trusty/user/base/lib/rng \
|
/trusty/user/app/gatekeeper/ |
D | rules.mk | 30 trusty/user/base/lib/rng \
|
/trusty/user/app/keymaster/device_unittest/ |
D | rules.mk | 48 trusty/user/base/lib/rng \
|
/trusty/user/app/confirmationui/ |
D | rules.mk | 36 trusty/user/base/lib/rng \
|
/trusty/user/app/sample/hwcryptohal/server/ |
D | opaque_key.rs | 76 let mut rng = crypto_provider::RngImpl::default(); in get_boot_unique_value() localVariable 78 rng.fill_bytes(&mut new_boot_unique_value.0[..]); in get_boot_unique_value() 500 let mut rng = crypto_provider::RngImpl::default(); in generate_key_material() localVariable 535 Ok(aes.generate_key(&mut rng, variant, &[])?) in generate_key_material() 553 &mut rng, in generate_key_material()
|
D | service_encryption_key.rs | 238 let mut rng = crypto_provider::RngImpl::default(); localVariable 240 rng.fill_bytes(&mut key_ctx[..]);
|
/trusty/user/app/keymaster/ |
D | rules.mk | 143 trusty/user/base/lib/rng \
|
/trusty/kernel/app/trusty/ |
D | user-tasks.mk | 131 trusty/user/base/lib/rng \
|