arrow
返回

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

delete2023-06-01
delete4
PRE
AI
Z
Zhaolong Jian
Y
Ye Lu *
Y
Youyang Qiao
Y
Yaozheng Fang
X
Xueshuo Xie
Y
Yang, Dayi
Z
Zhiyuan Zhou
T
Tao Li
DOI:10.1109/TPDS.2023.3263882delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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.29x. 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.
Keyword:
Smart contracts
Blockchains
Memory management
Switches
Codes
Public key
Optimization
Blockchain
smart contract
solidity program language
TrustZone
virtual execution environment

期刊

IEEE Transactions on Parallel and Distributed Systems 封面图
IEEE Transactions on Parallel and Distributed Systems
IF:
6
论文数:
5.2K
被引数:
1.1W

机构

N
nankai university
学者数:
4.8W
论文数: 3.3W
被引数: 74
引用论文

引用论文

A previously undescribed scene-selective site is the key to encoding ego-motion in naturalistic environments
err2024-03-20
err0
errOAAI
errBryan Kennedy; Sarala N Malladi; Roger BH Tootell; Shahin Nasr
err分享
err收藏
Programmable Transcranial Magnetic Stimulation: A Modulation Approach for the Generation of Controllable Magnetic Stimuli
err2021-06-01
err0
errOAAI
errMajid Memarian Sorkhabi; Moaad Benjaber; Karen Wendt; Timothy O. West; Daniel J. Rogers; Timothy Denison
err分享
err收藏
ON THE MECHANISM OF THE OXO REACTION
err1972-01-01
err0
PREAI
errMilton Orchin; Wolfgang Rupilius
err分享
err收藏
Isolation and characterization of cathepsin B from rabbit testis
err1987-01-01
err0
errOAAI
errR. P. Scott; V. Ninjoor; P. N. Srivastava
err分享
err收藏
Microcircuit dynamics of map plasticity in barrel cortex
err2014-02-01
err0
PREAI
errDavid J Margolis; Henry Lütcke; Fritjof Helmchen
err分享
err收藏
Smart Contract-Based Access Control for the Internet of Things基于智能合约的物联网访问控制
err2019-04-01
err456
errOAAI
errZhang, Yuanyu; Kasahara, Shoji; Shen, Yulong; Jiang, Xiaohong; Wan, Jianxiong
err分享
err收藏
学者 查看更多内容