Searched refs:Box (Results 1 – 8 of 8) sorted by relevance
/trusty/user/app/keymint/ |
D | main.rs | 72 rng: Box::new(rng), in main() 73 clock: Some(Box::new(clock)), in main() 74 compare: Box::new(BoringEq), in main() 75 aes: Box::new(aes), in main() 76 des: Box::new(BoringDes), in main() 77 hmac: Box::new(BoringHmac), in main() 78 rsa: Box::<BoringRsa>::default(), in main() 79 ec: Box::<BoringEc>::default(), in main() 80 ckdf: Box::new(BoringAesCmac), in main() 81 hkdf: Box::new(BoringHmac), in main() [all …]
|
D | key_wrapper.rs | 161 ) -> Result<Box<dyn crypto::EmittingOperation>, Error> { in begin() 175 ) -> Result<Box<dyn crypto::AadOperation>, Error> { in begin_aead()
|
D | keymaster_attributes.rs | 187 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 730 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 990 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any() 1168 fn into_any(self: ::std::boxed::Box<Self>) -> ::std::boxed::Box<dyn (::std::any::Any)> { in into_any()
|
/trusty/user/base/lib/trusty-std/src/ |
D | clone_ext.rs | 18 use alloc::boxed::Box; 46 impl<T: Clone, A: Allocator + Clone> TryClone for Box<T, A> { implementation 51 let mut boxed = Self::try_new_uninit_in(Box::allocator(self).clone())?; in try_clone() 128 impl<T: Clone, A: Allocator + Clone> TryClone for Box<[T], A> { implementation 133 let alloc = Box::allocator(self).clone(); in try_clone()
|
/trusty/user/base/lib/unittest-rust/src/ |
D | types.rs | 35 use alloc::boxed::Box; 122 DynTestFn(Box<dyn FnOnce() + Send>), 123 DynBenchFn(Box<dyn TDynBenchFn + 'static>),
|
/trusty/user/base/lib/trusty-log/src/ |
D | lib.rs | 42 type FormatFn = Box<dyn Fn(&log::Record) -> String + Sync + Send>; 76 self.custom_format = Some(Box::new(format)); in format()
|
/trusty/user/app/keymint/keys/ |
D | legacy.rs | 32 pub aes: Box<dyn crypto::Aes>, 33 pub hkdf: Box<dyn crypto::Hkdf>, 34 pub sdd_mgr: Option<Box<dyn SecureDeletionSecretManager>>, 35 pub keys: Box<dyn device::RetrieveKeyMaterial>,
|
/trusty/user/app/secretkeeper/ |
D | lib.rs | 261 let storage_impl = Box::<store::SecureStore>::default(); in inner_main()
|