Home
last modified time | relevance | path

Searched refs:Box (Results 1 – 8 of 8) sorted by relevance

/trusty/user/app/keymint/
Dmain.rs72 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 …]
Dkey_wrapper.rs161 ) -> Result<Box<dyn crypto::EmittingOperation>, Error> { in begin()
175 ) -> Result<Box<dyn crypto::AadOperation>, Error> { in begin_aead()
Dkeymaster_attributes.rs187 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/
Dclone_ext.rs18 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/
Dtypes.rs35 use alloc::boxed::Box;
122 DynTestFn(Box<dyn FnOnce() + Send>),
123 DynBenchFn(Box<dyn TDynBenchFn + 'static>),
/trusty/user/base/lib/trusty-log/src/
Dlib.rs42 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/
Dlegacy.rs32 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/
Dlib.rs261 let storage_impl = Box::<store::SecureStore>::default(); in inner_main()