Lines Matching refs:new
45 let clock = clock::StdClock::new(); in boringssl_crypto_impls()
49 rng: Box::new(rng), in boringssl_crypto_impls()
50 clock: Some(Box::new(clock)), in boringssl_crypto_impls()
51 compare: Box::new(BoringEq), in boringssl_crypto_impls()
52 aes: Box::new(BoringAes), in boringssl_crypto_impls()
53 des: Box::new(BoringDes), in boringssl_crypto_impls()
54 hmac: Box::new(BoringHmac), in boringssl_crypto_impls()
55 rsa: Box::new(rsa), in boringssl_crypto_impls()
56 ec: Box::new(ec), in boringssl_crypto_impls()
57 ckdf: Box::new(BoringAesCmac), in boringssl_crypto_impls()
58 hkdf: Box::new(BoringHmac), in boringssl_crypto_impls()
59 sha256: Box::new(BoringSha256), in boringssl_crypto_impls()
81 let sign_info = attest::CertSignInfo::new(); in build_ta()
82 let keys: Box<dyn kmr_ta::device::RetrieveKeyMaterial> = Box::new(soft::Keys); in build_ta()
83 let rpc: Box<dyn kmr_ta::device::RetrieveRpcArtifacts> = Box::new(soft::RpcArtifacts::new( in build_ta()
89 sign_info: Some(Box::new(sign_info)), in build_ta()
94 bootloader: Box::new(BootloaderDone), in build_ta()
98 tup: Box::new(TrustedPresenceUnsupported), in build_ta()
103 KeyMintTa::new( in build_ta()