Home
last modified time | relevance | path

Searched refs:rng (Results 1 – 17 of 17) sorted by relevance

/trusty/user/app/keymint/
Dsecure_deletion_secret_manager.rs345 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 …]
Dlib.rs27 mod rng; module
37 pub use rng::TrustyRng;
Dmain.rs65 let rng = TrustyRng::default(); in main() localVariable
72 rng: Box::new(rng), in main()
Dkey_wrapper.rs130 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/
Dopenssl-stubs-inc.mk4 trusty/user/base/lib/rng \
/trusty/user/app/sample/hwrng-unittest/
Drules.mk30 trusty/user/base/lib/rng \
/trusty/user/app/sample/hwrng-bench/
Drules.mk31 trusty/user/base/lib/rng \
/trusty/user/app/sample/hwcrypto-unittest/
Drules.mk31 trusty/user/base/lib/rng \
/trusty/user/base/lib/hwbcc/common/
Drules.mk35 trusty/user/base/lib/rng \
/trusty/user/app/storage/test/storage-benchmark/
Drules.mk27 trusty/user/base/lib/rng \
/trusty/user/app/gatekeeper/
Drules.mk30 trusty/user/base/lib/rng \
/trusty/user/app/keymaster/device_unittest/
Drules.mk48 trusty/user/base/lib/rng \
/trusty/user/app/confirmationui/
Drules.mk36 trusty/user/base/lib/rng \
/trusty/user/app/sample/hwcryptohal/server/
Dopaque_key.rs76 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()
Dservice_encryption_key.rs238 let mut rng = crypto_provider::RngImpl::default(); localVariable
240 rng.fill_bytes(&mut key_ctx[..]);
/trusty/user/app/keymaster/
Drules.mk143 trusty/user/base/lib/rng \
/trusty/kernel/app/trusty/
Duser-tasks.mk131 trusty/user/base/lib/rng \