EUVIMEDEUVIMED entdecken
Crossref

TSC-VEE: A TrustZone-Based Smart Contract Virtual Execution Environment

Zhaolong Jian, Ye Lu, Youyang Qiao, Yaozheng Fang, Xueshuo Xie, Dayi Yang, Zhiyuan Zhou, Tao Li

IEEE Transactions on Parallel and Distributed Systems · 2023-06 · 34 (6) · 1773-1788

DOI: 10.1109/tpds.2023.3263882 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Transactions on Parallel and Distributed Systems, 2023-06. Verfasst von Zhaolong Jian und 7 weiteren Autor:innen. Die Arbeit wurde bisher 19-mal zitiert (Crossref) und nennt 44 Literaturangaben. Gefördert von: CCF-AFSG Research Fund, CCF-Huawei Populus Grove Fund, National Natural Science Foundation of China.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

TrustZone as a trusted execution environment (TEE) has been proven to preserve the confidentiality of blockchain transactions supported by smart contracts. Despite some academic effort, TrustZone can only support limited languages for now. The lack of the corresponding execution environment for smart contracts seriously hinders blockchain applications from directly running on TrustZone. In this paper, we design the first virtual execution environment named TSC-VEE for performing Solidity smart contracts on TrustZone, to the best of our knowledge. TSC-VEE can be decomposed into fourfold: (1) an instruction set adapted to the isolation and world switching mechanism of TrustZone. (2) a runtime memory management mechanism that provides a pair of instructions with the corresponding processing mechanism to allocate and release the work memory. (3) a hybrid granularity resource analysis algorithm which computes and records the value of maximum stack height and static gas cost through bytecode pre-execution, avoiding runtime overflow and invalid computations. (4) a cross-isolation-environment prefetching approach that supports loading and storing the storage data from the normal world into the secure world on TrustZone before execution, thus avoiding switching the world state frequently at runtime. Extensive experimental results show that TSC-VEE can perform smart contracts correctly and efficiently on TrustZone. Compared with the most commonly used Ethereum client— Geth , TSC-VEE achieves execution performance improvements by $9.29\times$ 9 . 29 × . We also implement the Ethereum virtual machine— evmone on TrustZone. TSC-VEE can reduce the latency by 12.63% with our optimization techniques, and decrease the work memory footprint by 22.95% on average when executing various scale contracts.

Förderung

  • CCF-AFSG Research Fund
  • CCF-Huawei Populus Grove Fund
  • National Natural Science Foundation of China
  • Open Project Fund of State Key Laboratory of Computer Architecture
  • Institute of Computing Technology
  • Chinese Academy of Sciences
  • Open Project Foundation of Information Security Evaluation Center of Civil Aviation
  • Civil Aviation University of China

Zitieren

APA

Jian, Z., Lu, Y., Qiao, Y., Fang, Y., Xie, X., Yang, D., Zhou, Z., & Li, T. (2023). TSC-VEE: A TrustZone-Based Smart Contract Virtual Execution Environment. IEEE Transactions on Parallel and Distributed Systems, 34(6), 1773-1788. https://doi.org/10.1109/tpds.2023.3263882

Vancouver

Jian Z, Lu Y, Qiao Y, Fang Y, Xie X, Yang D, et al. TSC-VEE: A TrustZone-Based Smart Contract Virtual Execution Environment. IEEE Transactions on Parallel and Distributed Systems. 2023;34(6):1773-1788. doi:10.1109/tpds.2023.3263882

BibTeX
@article{Jian2023,
  author = {Jian, Zhaolong and Lu, Ye and Qiao, Youyang and Fang, Yaozheng and Xie, Xueshuo and Yang, Dayi and Zhou, Zhiyuan and Li, Tao},
  title = {TSC-VEE: A TrustZone-Based Smart Contract Virtual Execution Environment},
  journal = {IEEE Transactions on Parallel and Distributed Systems},
  year = {2023},
  volume = {34},
  number = {6},
  pages = {1773--1788},
  doi = {10.1109/tpds.2023.3263882}
}
Kostenlos starten →