Design and Evaluation Secure Hash Algorithm SHA-256 On ZynQ-702 Hardware Platform

Authors

Corressponding author's email:

phuctq@hcmute.edu.vn

DOI:

https://doi.org/10.54644/jte.2024.1421

Keywords:

Secure hash algorithm, Blockchain, IoT, Co-Processor, FPGA

Abstract

Hash function plays an important role in security, widely used in privacy authentication. Secure Hash Algorithm (SHA) is a cryptographic algorithm with internal complex structure using many logical and mathematical transformations to generate 256-bits Message digest. It is almost impossible to implement a hash algorithm by software because it takes CPU a long time to fetch instructions, which can cause low speed and consume computer resources. On the other hand, hash algorithms work more effectively when implemented in hardware because hardware uses bit-level and instruction-level parallel processing. The use of Application-Specific Integrated Circuits (ASICs) can help to accelerate SHA, better performance and lower power consumption. However, FPGA-based systems are much more flexible and reprogrammable, design flow is also cheaper while FPGA is able to optimize speed and power consumption. In this paper, we propose a design that implements the secure hash algorithm SHA-256 and evaluate performance of the hashing system. The results are verified based-on simulation using Xilinx Vivado 2019.1 software.

Downloads: 0

Download data is not yet available.

Author Biographies

Thi Hong Hieu Nguyen, Ho Chi Minh City University of Technology and Education, Vietnam

Nguyen Thi Hong Hieu is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. Her main research interests include semiconductor technology, responsible for full flow implementation of VLSI design. Email: 19119177@student.hcmute.edu.vn.

ORCID:  https://orcid.org/0009-0002-3502-7767

Thi Anh Duong Tran, Ho Chi Minh City University of Technology and Education, Vietnam

Tran Thi Anh Duong is currently a student at the Ho Chi Minh City University of Technology and Education (HCMUTE), Vietnam. Her major is Computer Engineering and interested in front-end of VLSI design.

Email: 19119017@student.hcmute.edu.vn.

ORCID:  https://orcid.org/0009-0002-6298-5784

Anh Duong Van, Ho Chi Minh City University of Technology and Education, Vietnam

Van Anh Duong received engineer’s degree in Automotive engineering, in 2013, and Master’s degree, in 2015 from Ho Chi Minh city, University of Technology and Education. From 2014-2021, he is a Lecturer at Cao Thang Technical College. He had instructed his students when they competed in Minicar Racing Contest, Eco Mileage Challenge in Ha Noi. From 2022, he is a Lecturer at Ho Chi Minh City, University of Technology and Education (HCMUTE). In 2023, his students participated in Robocon 2023 with him. Besides, He still guides graduation thesis for his students. His research includes Automotive Powertrains system, Automotive Chassis System, Vehicle Stability Control and material for batteries for EV. Email: duongva@hcmute.edu.vn. ORCID:  https://orcid.org/0000-0003-1572-4266

Nhut Minh Ho, Posts and Telecommunications Institute of Technology, Vietnam

Ho Nhut Minh is currently a lecturer at the Posts and Telecommunications Institute of Technology. He earned his Bachelor's degree in Electronics and Telecommunications Engineering from Ho Chi Minh City University of Technology and Education in 2010. In 2014, Minh completed his Master's degree in Telecommunication Engineering at the Ho Chi Minh City campus of the Posts and Telecommunications Institute of Technology. His research interests encompass a wide range of fields, including power converters, machine drives, wind power generation, power quality, power systems, Internet of Things (IoT), embedded systems, and machine learning. Email: minhhn@ptit.edu.vn.

ORCID:  https://orcid.org/0009-0003-2204-6990

Ngo Lam Nguyen, Ho Chi Minh City University of Technology and Education, Vietnam

Nguyen Ngo Lam is currently a lecturer at the Faculty For High Quality Training, Ho Chi Minh City University of Technology and Education. He received his Bachelor and Master degree in radio and electronics engineering from the Ho Chi Minh City University of Technology, Vietnam in 2000 and 2004 respectively. His research interests include wireless communication, data communication, digital signal processing, computer. Email: lamnn@hcmute.edu.vn.

ORCID:  https://orcid.org/0009-0002-6580-0175

Quang Phuc Truong, Ho Chi Minh City University of Technology and Education, Vietnam

Truong Quang Phuc was born in Can Tho City, Vietnam. He received the B.Eng degree in Electronics and Telecommunication engineering and the M.Eng degree in Electronics engineering from the Ho Chi Minh City University of Technology and Education, Vietnam, in 2011 and 2014, respectively. Currently, He is with the Faculty of Electrical and Electronics Engineering, Ho ChiMinh City University of Technology and Education, Vietnam as a Senior Lecturer and Ph.D student as well. His research interests include convex optimization techniques, heterogeneous networks, Internet of Things, and Intelligent Reflecting Surfaces (IRS). Email: phuctq@hcmute.edu.vn.

ORCID:  https://orcid.org/0000-0003-2344-9436

References

H. E. Michail, G. S. Athanasiou, V. Kelefouras, G. Theodoridis, and a. C. E. Goutis, "On the exploitation of a high-throughput SHA-256 FPGA design for HMAC," ACM Transactions on Reconfigurable Technology and Systems, vol. 5, no. 1, pp. 1-28, 2012. DOI: https://doi.org/10.1145/2133352.2133354

R. García, I. A. Badillo, M. M. Sandoval, C. F. Uribe, and R. Cumplido, "A compact FPGA-based processor for the Secure Hash Algorithm SHA-256," Computers & Electrical Engineering, vol. 40, no. 1, pp. 194-202, 2014. DOI: https://doi.org/10.1016/j.compeleceng.2013.11.014

Y. Chen and S. Li, "A High-Throughput Hardware Implementation of SHA-256 Algorithm," in 2020 IEEE International Symposium on Circuits and Systems (ISCAS), Seville, Spain, 2020. DOI: https://doi.org/10.1109/ISCAS45731.2020.9181065

A. Fairouz and S. P. Khatri, "An FPGA-Based Coprocessor for Hash Unit Acceleration," in 2017 IEEE International Conference on Computer Design (ICCD), Boston, MA, USA, 2017. DOI: https://doi.org/10.1109/ICCD.2017.53

I. L. R. Azevedo, A. S. Nery, and A. da C. Sena, "A SHA-3 Co-Processor for IoT Applications," in 2020 Workshop on Communication Networks and Power Systems (WCNPS), Brasilia, Brazil, 2020. DOI: https://doi.org/10.1109/WCNPS50723.2020.9263759

S. Ni, Y. Dou, K. Chen, and L. Deng, "A Novel Design of Flexible Crypto Coprocessor and Its Application," in Advanced Computer Architecture - 10th Annual Conference, ACA 2014, Shenyang, China, 2014. DOI: https://doi.org/10.1007/978-3-662-44491-7_10

NXP Semiconductors, “Crypto Coprocessor C29x”, 2014 [Online]. Available: https://www.nxp.com/products/processors-and-microcontrollers/legacy-mpu-mcus/crypto-coprocessors/crypto-coprocessor:C29x.

IBM, “IBM PCIe Cryptographic Coprocessor”, 2023 [Online]. Available: https://www.ibm.com/products/pcie-cryptographic-coprocessor.

National Institute of Standards and Technology, "Secure Hash Standard (SHS)", Federal Information Processing Standards Publication, United States, 2015.

K. K. Ting, S. C. L. Yuen, K. H. Lee, and P. H. W. Leong, "An FPGA Based SHA-256 Processor," in Field-Programmable Logic and Applications, Reconfigurable Computing Is Going Mainstream, Montpellier, France, 2002. DOI: https://doi.org/10.1007/3-540-46117-5_60

R. McEvoy, F. Crowe, C. Murphy, and W. Marnane, "Optimisation of the SHA-2 family of hash functions on FPGAs," in IEEE Computer Society Annual Symposium on Emerging VLSI Technologies and Architectures (ISVLSI'06), Karlsruhe, Germany, 2006.

M. Padhi and R. Chaudhari, "An optimized pipelined architecture of SHA-256 hash function," in 2017 7th International Symposium on Embedded Computing and System Design (ISED), Durgapur, India, 2017. DOI: https://doi.org/10.1109/ISED.2017.8303943

Published

28-08-2024

How to Cite

[1]
Nguyễn Thị Hồng Hiếu, Trần Thị Ánh Dương, Văn Ánh Dương, Hồ Nhựt Minh, Nguyễn Ngô Lâm, and Trương Quang Phúc, “Design and Evaluation Secure Hash Algorithm SHA-256 On ZynQ-702 Hardware Platform”, JTE, vol. 19, no. 04, pp. 11–23, Aug. 2024.

Issue

Section

Research Article

Categories

Most read articles by the same author(s)