Cargando…
Implementing RSA for Wireless Sensor Nodes
As wireless sensor networks (WSNs) become more widespread, potential attacks against them also increase and applying cryptography becomes inevitable to make secure WSN nodes. WSN nodes typically contain only a constrained microcontroller, such as MSP430, Atmega, etc., and running public key cryptogr...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2019
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6651839/ https://www.ncbi.nlm.nih.gov/pubmed/31252685 http://dx.doi.org/10.3390/s19132864 |
_version_ | 1783438437645287424 |
---|---|
author | Gulen, Utku Alkhodary, Abdelrahman Baktir, Selcuk |
author_facet | Gulen, Utku Alkhodary, Abdelrahman Baktir, Selcuk |
author_sort | Gulen, Utku |
collection | PubMed |
description | As wireless sensor networks (WSNs) become more widespread, potential attacks against them also increase and applying cryptography becomes inevitable to make secure WSN nodes. WSN nodes typically contain only a constrained microcontroller, such as MSP430, Atmega, etc., and running public key cryptography on these constrained devices is considered a challenge. Since WSN nodes are spread around in the field, the distribution of the shared private key, which is used in a symmetric key cryptographic algorithm for securing communications, is a problem. Thus, it is necessary to use public key cryptography to effectively solve the key distribution problem. The RSA cryptosystem, which requires at least a 1024-bit key, is the most widely used public key cryptographic algorithm. However, its large key size is considered a drawback for resource constrained microcontrollers. On the other hand, RSA allows for extremely fast digital signature generation which may make it desirable in applications where messages transmitted by sensor nodes need to be authenticated. Furthermore, for compatibility with an existing communication infrastructure, it may be desirable to adopt RSA in a WSN setting. With this work, we show that, in spite of its long key size, RSA is applicable for wireless sensor networks when optimized arithmetic, low-level coding and some acceleration algorithms are used. We pick three versions of the MSP430 microcontroller, which is used widely on wireless sensor network nodes, and implement 1024-bit RSA on them. Our implementation achieves 1024-bit RSA encryption and decryption operations on MSP430 in only [Formula: see text] s and [Formula: see text] s, respectively. In order to achieve these timings, we utilize several acceleration techniques, such as the subtractive Karatsuba-Ofman, Montgomery multiplication, operand scanning, Chinese remainder theorem and sliding window method. To the best of our knowledge, our timings for 1024-bit RSA encryption and decryption operations are the fastest reported timings in the literature for the MSP430 microcontroller. |
format | Online Article Text |
id | pubmed-6651839 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2019 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-66518392019-08-08 Implementing RSA for Wireless Sensor Nodes Gulen, Utku Alkhodary, Abdelrahman Baktir, Selcuk Sensors (Basel) Article As wireless sensor networks (WSNs) become more widespread, potential attacks against them also increase and applying cryptography becomes inevitable to make secure WSN nodes. WSN nodes typically contain only a constrained microcontroller, such as MSP430, Atmega, etc., and running public key cryptography on these constrained devices is considered a challenge. Since WSN nodes are spread around in the field, the distribution of the shared private key, which is used in a symmetric key cryptographic algorithm for securing communications, is a problem. Thus, it is necessary to use public key cryptography to effectively solve the key distribution problem. The RSA cryptosystem, which requires at least a 1024-bit key, is the most widely used public key cryptographic algorithm. However, its large key size is considered a drawback for resource constrained microcontrollers. On the other hand, RSA allows for extremely fast digital signature generation which may make it desirable in applications where messages transmitted by sensor nodes need to be authenticated. Furthermore, for compatibility with an existing communication infrastructure, it may be desirable to adopt RSA in a WSN setting. With this work, we show that, in spite of its long key size, RSA is applicable for wireless sensor networks when optimized arithmetic, low-level coding and some acceleration algorithms are used. We pick three versions of the MSP430 microcontroller, which is used widely on wireless sensor network nodes, and implement 1024-bit RSA on them. Our implementation achieves 1024-bit RSA encryption and decryption operations on MSP430 in only [Formula: see text] s and [Formula: see text] s, respectively. In order to achieve these timings, we utilize several acceleration techniques, such as the subtractive Karatsuba-Ofman, Montgomery multiplication, operand scanning, Chinese remainder theorem and sliding window method. To the best of our knowledge, our timings for 1024-bit RSA encryption and decryption operations are the fastest reported timings in the literature for the MSP430 microcontroller. MDPI 2019-06-27 /pmc/articles/PMC6651839/ /pubmed/31252685 http://dx.doi.org/10.3390/s19132864 Text en © 2019 by the authors. 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 (http://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Gulen, Utku Alkhodary, Abdelrahman Baktir, Selcuk Implementing RSA for Wireless Sensor Nodes |
title | Implementing RSA for Wireless Sensor Nodes |
title_full | Implementing RSA for Wireless Sensor Nodes |
title_fullStr | Implementing RSA for Wireless Sensor Nodes |
title_full_unstemmed | Implementing RSA for Wireless Sensor Nodes |
title_short | Implementing RSA for Wireless Sensor Nodes |
title_sort | implementing rsa for wireless sensor nodes |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6651839/ https://www.ncbi.nlm.nih.gov/pubmed/31252685 http://dx.doi.org/10.3390/s19132864 |
work_keys_str_mv | AT gulenutku implementingrsaforwirelesssensornodes AT alkhodaryabdelrahman implementingrsaforwirelesssensornodes AT baktirselcuk implementingrsaforwirelesssensornodes |