| Literature DB >> 29882865 |
Chung-Wen Hung1, Wen-Ting Hsu2.
Abstract
Because of the ubiquity of Internet of Things (IoT) devices, the power consumption and security of IoT systems have become very important issues. Advanced Encryption Standard (AES) is a block cipher algorithm is commonly used in IoT devices. In this paper, the power consumption and cryptographic calculation requirement for different payload lengths and AES encryption types are analyzed. These types include software-based AES-CB, hardware-based AES-ECB (Electronic Codebook Mode), and hardware-based AES-CCM (Counter with CBC-MAC Mode). The calculation requirement and power consumption for these AES encryption types are measured on the Texas Instruments LAUNCHXL-CC1310 platform. The experimental results show that the hardware-based AES performs better than the software-based AES in terms of power consumption and calculation cycle requirements. In addition, in terms of AES mode selection, the AES-CCM-MIC64 mode may be a better choice if the IoT device is considering security, encryption calculation requirement, and low power consumption at the same time. However, if the IoT device is pursuing lower power and the payload length is generally less than 16 bytes, then AES-ECB could be considered.Entities:
Keywords: Advanced Encryption Standard (AES); Counter with CBC-MAC (CCM); Electronic Codebook Mode (ECB); Internet of Things (IoT); Message Integrity Check (MIC); power consumption
Year: 2018 PMID: 29882865 PMCID: PMC6022145 DOI: 10.3390/s18061675
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Operation diagram of ECB mode.
Figure 2Operation diagram of counter (CTR) mode.
Figure 3Operation diagram of CBC mode.
Security levels provided by the IEEE802.15.4 Spec.
| Security Attributes | Authentication Tag Length (Bytes) | Security Level |
|---|---|---|
| Encryption (ENC) | 0 | 4 |
| ENC-MIC-32 | 4 | 5 |
| ENC-MIC-64 | 8 | 6 |
| ENC-MIC-128 | 16 | 7 |
Figure 4Change in payload length after encryption.
Figure 5Extra payload waste rate of encryption.
Average encryption times of different encryption types in different payload lengths.
| Plaintext Length (Bytes) | Encryption Type | |||
|---|---|---|---|---|
| AES-ECB-SW | AES-ECB-HW | AES-CCM-HW-MIC64 | AES-CCM-HW-MIC128 | |
| 5 bytes | 366.27 μs | 30.29 μs | 30.49 μs | 31.17 μs |
| 20 bytes | 732.51 μs | 60.19 μs | 31.53 μs | 32.09 μs |
| 50 bytes | 1464.77 μs | 120.66 μs | 60.84 μs | 62.09 μs |
| 100 bytes | 2533.01 μs | 152.53 μs | 61.61 μs | 120.34 μs |
Average current consumption of different encryption types.
| Encryption Type | Current Consumption |
|---|---|
| Non-AES | 3.6273 mA |
| AES-ECB-SW | 3.6275 mA |
| AES-ECB-HW | 4.7696 mA |
| AES-CCM-HW-MIC64 | 4.7684 mA |
| AES-CCM-HW-MIC128 | 4.7686 mA |
Figure 6Encryption power consumption of different encryption types.
Average transmission times of different encryption types in different payload lengths.
| Plaintext Length (Bytes) | Encryption Type | ||||
|---|---|---|---|---|---|
| Non-AES | AES-ECB-SW | AES-ECB-HW | AES-CCM-HW-MIC64 | AES-CCM-HW-MIC128 | |
| 5 | 758 μs | 1203 μs | 1196 μs | 1081 μs | 1402 μs |
| 20 | 1357 μs | 1847 μs | 1840 μs | 1679 μs | 2482 μs |
| 50 | 2561 μs | 3119 μs | 3118 μs | 2880 μs | 3201 μs |
| 100 | 4567 μs | 5681 μs | 5678 μs | 4881 μs | 5219 μs |
Figure 7Transmission power consumption of different encryption types.
Figure 8Total power consumption of different encryption types.
Figure 9Additional power consumption of different encryption types.