Skip to content
Microsystems, Electronics and Acoustics
ISSN 2523-4447 · e‑ISSN 2523-4455 Open Access · CC BY-SA 4.0
Vol. 24 · Issue 1 · 2019 Feb 28, 2019 Electronic Systems and Signals

Hardware Accelerator for Proof-Of-Work Operation in IOTA Cryptocurrency

SS
Serhii O. Sachov Corresponding Національний технічний університет України «Київський політехнічний інститут імені Ігоря Сікорського» Ukraine
IK
Ievgen V. Korotkyi Національний технічний університет України «Київський політехнічний інститут імені Ігоря Сікорського» Ukraine
Pages42-52 PublishedFeb 28, 2019
VOL 24 · ISS 1 · 2019 View issue

Abstract

The authors proposed hardware accelerator for the proof-of-work (PoW) operation in IOTA cryptocurrency. IOTA allows making secure and authenticated quantum resistant channels between IoT devices for communication and micropayments with no fees. Hardware acceleration reduces transaction time and increases throughput. In the article authors consider a basic theory of IOTA operations, generating and signing transaction with Winternitz one-time signatures. The authors describe operation principle of a new ternary hash function Curl. Winternitz one-time signatures and ternary hash function make IOTA quantum resistant. The core of IOTA is called Tangle and unlike Blockchain has Directed Acyclic Graph structure. There are no miners in the Tangle and IoT devices themselves maintain network operation, which leads to unlimited scalability and absence of fees. To add new transaction to the Tangle, IoT devices need to perform PoW operation for spam and Sybil attack protection — iteratively calculate Curl hash function for the IOTA transaction and change nonce field of the transaction until obtained result doesn’t satisfy given criteria, which is some amount of consecutive zero ternary values at the end of transaction hash. The software implementation of Curl hash function is very slow, the PoW operation on embedded devices can last up to 50 minutes, so the hardware acceleration of PoW operation is relevant task. In the proposed work authors created hardware accelerator for IOTA PoW operation. The structure and operation principle of accelerator is described. The proof-of-concept implementations was launched on DE10-nano board, based on Intel programmable logic chip. The proposed PoW hardware accelerator has parameterizable structure. It is possible manually set the number of PoW computing units by changing parameter value. In such parameterizable system one PoW computing unit is master and all remaining PoW units are slaves. Master PoW unit absorbs IOTA transaction, except nonce part, to midstate register utilizing sponge-like approach. Then all POW computing units (master and slaves) preload own state registers from midstate, randomly change personal nonces and start iterative search of valid nonce. When one of PoW computing units finds a valid nonce, PoW operation ends, nonce stored to destination buffer in SDRAM and interrupt is generated for ARM CPU. Final implementation of IOTA PoW hardware accelerator for DE10-nano board contains 11 PoW computing units, delivers 13.2 MH/s hash rate and gives x1000 speedup, compared to software implementation from IOTA developers, for only 30% of 5CSEBA6U23I7 programmable logic chip resources at 100 MHz clock frequency. The average PoW computation time in such implementation is 0.8 second. Ref. 14, img. 6.

Keywords

References

  1. “Ericsson mobility report,” 2015. [Online]. Available: https://www.ericsson.com/assets/local/news/2016/03/ericsson-mobility-report-nov-2015.pdf .
  2. “VISA processing,” 2018. [Online]. Available: https://www.visaeurope.com/enabling-payments/processing .
  3. S. Popov, “The Tangle,” 2018. [Online]. Available: https://iota.org/IOTA_Whitepaper.pdf .
  4. Q. Bramas, “The Stability and the Security of the Tangle,” Apr. 2018, URL: https://hal.archives-ouvertes.fr/hal-01716111 .
  5. N. B. Biradar, “IOTA-Next Generation Block chain,” Int. J. Eng. Comput. Sci., vol. 7, no. 04, pp. 23823–23826, Apr. 2018, DOI: 10.18535/ijecs/v7i4.05.
  6. L. M. Bach, B. Mihaljevic, and M. Zagar, “Comparative analysis of blockchain consensus algorithms,” in 2018 41st International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), 2018, pp. 1545–1550, DOI: 10.23919/MIPRO.2018.8400278.
  7. M. Scherer, “Performance and Scalability of Blockchain Networks and Smart Contracts,” 2017, URL: http://www.diva-portal.org/smash/get/diva2:1111497/FULLTEXT01.pdf .
  8. R. C. Merkle, “A Digital Signature Based on a Conventional Encryption Function,” in Advances in Cryptology — CRYPTO ’87, Springer, Berlin, Heidelberg, 1988, pp. 369–378, URL: http://link.springer.com/10.1007/3-540-48184-2_32 .
  9. “Source code for IOTA solutions” [Online]. Available: https://github.com/iotaledger .
  10. T. Pototschnig, “Source code for IOTA VHDL PoW.” [Online]. Available: https://github.com/shufps/iota_vhdl_pow .
  11. E. Heilman, N. Narula, T. Dryja, and M. Virza, “IOTA Vulnerability Report: Cryptanalysis of the Curl Hash Function Enabling Practical Signature Forgery Attacks on the IOTA Cryptocurrency,” URL: https://github.com/mit-dci/tangled-curl/blob/master/vuln-iota.md .
  12. G. Bertoni, M. Peeters, D. Joan, and G. Van Assche, “On the security of the keyed sponge construction,” in Proceedings of the Symmetric Key Encryption Workshop, 2011, pp. 1–15.
  13. P. D. Handy, “Source code for CURL hash function.” [Online]. Available: https://github.com/iotaledger/ccurl/blob/master/src/lib/curl.c .
  14. I. Korotkyi and S. Sachov, “Source code for the proposed IOTA PoW hardware accelerator,” 2018. [Online]. Available: https://github.com/LampaLab/iota_fpga/tree/master/pow_accel_soc .
§ 06 — Related

Similar articles in this journal

Related peer-reviewed studies published in this journal.
View all issues

Quasistatic Identification of The Shading Structure of Solar Panels by The Method of Cardinal Number Vectors

PhD, Assoc. Prof. Olena Olehivna Abakumova, Dr.Sc.(Eng.), Prof. Valerii Yakovych Zhuikov, Mykola O. Lukianov

In the article the problem of identification the shading structure of solar panels is considered. The relevance of the study is conditioned by the necessity of rapid and…

#solar panels #photovoltaic surface #shadow structure modeling #quasistatic identification
p. 362283.1-362283.7
10.20535/2523-4455.mea.362283

A A Complex Method for Non-invasive Fetal Electrocardiogram Signal Extraction and Cardiac Arrhythmia Classification

Dmytro A. Shevchuk, PhD, Assoc. Prof. Nataliia Heorhiivna Ivanushkina

This study is devoted to the development of a complex method for extracting the fetal electrocardiogram (fECG) from non-invasive abdominal recordings and for the…

#abdominal electrocardiogram #fetal electrocardiogram #arrhythmia #blind source separation
p. 356487.1-356487.11
10.20535/2523-4455.mea.356487

Simulation Modeling of a Filter-Compensating Converter for a Three-Phase Three-Wire Network

Ivan Andriiovych Vakulenko, PhD, Assoc. Prof. Dmytro Anatoliiovych Mykolaiets, PhD, Assoc. Prof. Kateryna Serhiivna Klen

This paper addresses the critical issue of power quality degradation in modern power systems caused by the proliferation of non-linear loads. The study focuses on the…

#filter-compensating converter #three-phase three-wire network #power quality #total harmonic distortion
p. 361138.1-361138.6
10.20535/2523-4455.mea.361138

Most read articles by the same author(s)

Similar Articles

1-10 of 187

You may also start an advanced similarity search for this article.