Department of Computer Engineering, Faculty of Computer Science, Universidade da Coruña, 15071 A Coruña, Spain.
Sensors (Basel). 2018 Dec 20;19(1):15. doi: 10.3390/s19010015.
Modern Internet of Things (IoT) systems have to be able to provide high-security levels, but it is difficult to accommodate computationally-intensive cryptographic algorithms on the resource-constrained hardware used to deploy IoT end nodes. Although this scenario brings the opportunity for using advanced security mechanisms such as Transport Layer Security (TLS), several configuration factors impact both the performance and the energy consumption of IoT systems. In this study, two of the most used TLS authentication algorithms (ECDSA and RSA) were compared when executed on a resource-constrained IoT node based on the ESP32 System-on-Chip (SoC), which was tested at different clock frequencies (80, 160 and 240 MHz) when providing different security levels (from 80 to 192 bits). With every tested configuration, energy consumption and average time per transaction were measured. The results show that ECDSA outperforms RSA in all performed tests and that certain software implementations may lead to scenarios where higher security-level alternatives outperform cryptosystems that are theoretically simpler and lighter in terms of energy consumption and data throughput. Moreover, the performed experiments allow for concluding that higher clock frequencies provide better performance in terms of throughput and, in contrast to what may be expected, less energy consumption.
现代物联网 (IoT) 系统必须能够提供高安全性水平,但在用于部署 IoT 终端节点的资源受限硬件上,很难适应计算密集型加密算法。尽管这种情况为使用高级安全机制(如传输层安全 (TLS))带来了机会,但几个配置因素会影响 IoT 系统的性能和能耗。在这项研究中,当在基于 ESP32 片上系统 (SoC) 的资源受限 IoT 节点上执行时,比较了两种最常用的 TLS 身份验证算法(ECDSA 和 RSA),并在提供不同安全级别(80 到 192 位)时在不同时钟频率(80、160 和 240 MHz)下进行了测试。对于每种测试配置,都测量了能耗和每笔交易的平均时间。结果表明,在所有执行的测试中,ECDSA 都优于 RSA,并且某些软件实现可能导致更高安全性级别的替代方案在理论上更简单且在能耗和数据吞吐量方面更轻的密码系统中表现出色。此外,进行的实验允许得出结论,较高的时钟频率在吞吐量方面提供了更好的性能,与预期的情况相反,能耗更低。