Home
last modified time | relevance | path

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

/external/crosvm/src/
Dlinux.rs382 let tpm_storage: PathBuf; in create_tpm_device() localVariable
401 tpm_storage = Path::new(&tpm_pid_dir).to_owned(); in create_tpm_device()
402 fs::create_dir_all(&tpm_storage) in create_tpm_device()
403 .map_err(|e| Error::CreateTpmStorage(tpm_storage.to_owned(), e))?; in create_tpm_device()
408 jail.mount_bind(&tpm_storage, &tpm_storage, true)?; in create_tpm_device()
412 tpm_storage = Path::new("/tmp/tpm-simulator").to_owned(); in create_tpm_device()
416 let dev = virtio::Tpm::new(tpm_storage); in create_tpm_device()