Home
last modified time | relevance | path

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

/external/crosvm/src/
Dlinux.rs591 let tpm_storage: PathBuf; in create_tpm_device() localVariable
610 tpm_storage = Path::new(&tpm_pid_dir).to_owned(); in create_tpm_device()
611 fs::create_dir_all(&tpm_storage) in create_tpm_device()
612 .map_err(|e| Error::CreateTpmStorage(tpm_storage.to_owned(), e))?; in create_tpm_device()
617 jail.mount_bind(&tpm_storage, &tpm_storage, true)?; in create_tpm_device()
621 tpm_storage = Path::new("/tmp/tpm-simulator").to_owned(); in create_tpm_device()
625 let dev = virtio::Tpm::new(tpm_storage); in create_tpm_device()