Cargando…

Leveraging Larger AES Keys in LoRaWAN: A Practical Evaluation of Energy and Time Costs

Internet of Things (IoT) devices increasingly contribute to critical infrastructures, necessitating robust security measures. LoRaWAN, a low-power IoT network, employs the Advanced Encryption Standard (AES) with a 128-bit key for encryption and integrity, balancing efficiency and security. As comput...

Descripción completa

Detalles Bibliográficos
Autores principales: Thaenkaew, Phithak, Quoitin, Bruno, Meddahi, Ahmed
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10674829/
https://www.ncbi.nlm.nih.gov/pubmed/38005557
http://dx.doi.org/10.3390/s23229172
_version_ 1785149754675560448
author Thaenkaew, Phithak
Quoitin, Bruno
Meddahi, Ahmed
author_facet Thaenkaew, Phithak
Quoitin, Bruno
Meddahi, Ahmed
author_sort Thaenkaew, Phithak
collection PubMed
description Internet of Things (IoT) devices increasingly contribute to critical infrastructures, necessitating robust security measures. LoRaWAN, a low-power IoT network, employs the Advanced Encryption Standard (AES) with a 128-bit key for encryption and integrity, balancing efficiency and security. As computational capabilities of devices advance and recommendations for stronger encryption, such as AES-256, emerge, the implications of using longer AES keys (192 and 256 bits) on LoRaWAN devices’ energy consumption and processing time become crucial. Despite the significance of the topic, there is a lack of research on the implications of using larger AES keys in real-world LoRaWAN settings. To address this gap, we perform extensive tests in a real-world LoRaWAN environment, modifying the source code of both a LoRaWAN end device and open-source server stack to incorporate larger AES keys. Our results show that, while larger AES keys increase both energy consumption and processing time, these increments are minimal compared to the time on air. Specifically, for the maximum payload size we used, when comparing AES-256 to AES-128, the additional computational time and energy are, respectively, 750 [Formula: see text] [Formula: see text] and 236 μJ. However, in terms of time on air costs, these increases represent just 0.2% and 0.13%, respectively. Our observations confirm our intuition that the increased costs correlate to the number of rounds of AES computation. Moreover, we formulate a mathematical model to predict the impact of longer AES keys on processing time, which further supports our empirical findings. These results suggest that implementing longer AES keys in LoRaWAN is a practical solution enhancing its security strength while not significantly impacting energy consumption or processing time.
format Online
Article
Text
id pubmed-10674829
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-106748292023-11-14 Leveraging Larger AES Keys in LoRaWAN: A Practical Evaluation of Energy and Time Costs Thaenkaew, Phithak Quoitin, Bruno Meddahi, Ahmed Sensors (Basel) Article Internet of Things (IoT) devices increasingly contribute to critical infrastructures, necessitating robust security measures. LoRaWAN, a low-power IoT network, employs the Advanced Encryption Standard (AES) with a 128-bit key for encryption and integrity, balancing efficiency and security. As computational capabilities of devices advance and recommendations for stronger encryption, such as AES-256, emerge, the implications of using longer AES keys (192 and 256 bits) on LoRaWAN devices’ energy consumption and processing time become crucial. Despite the significance of the topic, there is a lack of research on the implications of using larger AES keys in real-world LoRaWAN settings. To address this gap, we perform extensive tests in a real-world LoRaWAN environment, modifying the source code of both a LoRaWAN end device and open-source server stack to incorporate larger AES keys. Our results show that, while larger AES keys increase both energy consumption and processing time, these increments are minimal compared to the time on air. Specifically, for the maximum payload size we used, when comparing AES-256 to AES-128, the additional computational time and energy are, respectively, 750 [Formula: see text] [Formula: see text] and 236 μJ. However, in terms of time on air costs, these increases represent just 0.2% and 0.13%, respectively. Our observations confirm our intuition that the increased costs correlate to the number of rounds of AES computation. Moreover, we formulate a mathematical model to predict the impact of longer AES keys on processing time, which further supports our empirical findings. These results suggest that implementing longer AES keys in LoRaWAN is a practical solution enhancing its security strength while not significantly impacting energy consumption or processing time. MDPI 2023-11-14 /pmc/articles/PMC10674829/ /pubmed/38005557 http://dx.doi.org/10.3390/s23229172 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Thaenkaew, Phithak
Quoitin, Bruno
Meddahi, Ahmed
Leveraging Larger AES Keys in LoRaWAN: A Practical Evaluation of Energy and Time Costs
title Leveraging Larger AES Keys in LoRaWAN: A Practical Evaluation of Energy and Time Costs
title_full Leveraging Larger AES Keys in LoRaWAN: A Practical Evaluation of Energy and Time Costs
title_fullStr Leveraging Larger AES Keys in LoRaWAN: A Practical Evaluation of Energy and Time Costs
title_full_unstemmed Leveraging Larger AES Keys in LoRaWAN: A Practical Evaluation of Energy and Time Costs
title_short Leveraging Larger AES Keys in LoRaWAN: A Practical Evaluation of Energy and Time Costs
title_sort leveraging larger aes keys in lorawan: a practical evaluation of energy and time costs
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10674829/
https://www.ncbi.nlm.nih.gov/pubmed/38005557
http://dx.doi.org/10.3390/s23229172
work_keys_str_mv AT thaenkaewphithak leveraginglargeraeskeysinlorawanapracticalevaluationofenergyandtimecosts
AT quoitinbruno leveraginglargeraeskeysinlorawanapracticalevaluationofenergyandtimecosts
AT meddahiahmed leveraginglargeraeskeysinlorawanapracticalevaluationofenergyandtimecosts