A Comprehensive Empirical Analysis of TLS Handshake and Record Layer on IoT Platforms

Ramzi A. Nofal, Nam Khanh Tran, Yuhong Liu, Behnam Dezfouli

2019 · 12 citations · 14 references

Concepts

Abstract

The Transport Layer Security (TLS) protocol has been considered as a promising approach to secure Internet of Things (IoT) applications. The different cipher suites offered by the TLS protocol play an essential role in determining communication security level. Each cipher suite encompasses a set of cryptographic algorithms, which can vary in terms of their resource consumption and significantly influence the lifetime of IoT devices. Based on these considerations, in this paper, we present a comprehensive study of the widely used cryptographic algorithms by annotating their source codes and running empirical measurements on two state-of-the-art, low-power wireless IoT platforms. Specifically, we present fine-grained resource consumption of the building blocks of the handshake and record layer algorithms and formulate tree structures that present various possible combinations of ciphers as well as individual functions. Depending on the parameters, a path is selected and traversed to calculate the corresponding resource impact. Our studies enable IoT developers to change cipher suite parameters and immediately observe the resource costs. Besides, these findings offer guidelines for choosing the most appropriate cipher suites for different application scenarios.

References

14