Journal of South China University of Technology(Natural Science Edition) ›› 2023, Vol. 51 ›› Issue (5): 24-35.doi: 10.12141/j.issn.1000-565X.220355

Special Issue: 2023年计算机科学与技术

• Computer Science & Technology • Previous Articles     Next Articles

Fast Modulus Algorithm for Internet of Things Key Exchange Based on Mersenne-like Numbers

QIN Jiancheng1 ZHONG Yu2,3 CHENG Zhe4 HUANG ChenghaiLU Yiqin1,5 PAN Weiqiang5   

  1. 1.School of Electronic and Information Engineering,South China University of Technology,Guangzhou 510640,Guangdong,China
    2.Zhaoqing Branch of China Telecom,Zhaoqing 526000,Guangdong,China
    3.School of Software Engineering,South China University of Technology,Guangzhou 510006,Guangdong,China
    4.School of Computer Science and Engineering,South China University of Technology,Guangzhou 510006,Guangdong,China
    5.Information and Network Engineering and Research Center,South China University of Technology,Guangzhou 510640,Guangdong,China
  • Received:2022-06-06 Online:2023-05-25 Published:2023-01-16
  • Contact: 陆以勤(1968-),男,教授,博士生导师,主要从事SDN、网络功能虚拟化、网络安全研究。 E-mail:eeyqlu@scut.edu.cn
  • About author:覃健诚(1976-),男,博士,高级工程师,主要从事加密算法、物联网、SDN、网络安全研究。E-mail:jcqin@scut.edu.cn
  • Supported by:
    the Key-Area R&D Program of Guangdong Province(2020B0101120002)

Abstract:

In order to adapt to the limited computing performance and energy of numerous lightweight sensor nodes in the encrypted transmission of IoT (Internet of Things), this paper proposed a fast modulus algorithm (CZ-Mod algorithm) based on Mersenne-like numbers to slove the bottleneck problems of computing speed, power consumption and so on during the sensors run PKI (Public Key Infrastructure) encryption algorithms such as RSA (Rivest-Shamir-Adleman), DHM (Diffie-Hellman-Merkle), Elgamal, etc., and to simplify the corresponding hardware encrypting circuit logic design. CZ-Mod algorithm uses the mathematic characteristics of Mersenne numbers, and lowers the time complexity of its essential operation mod (modulo) into O(n). Firstly, a fast modulus algorithm mod1 using Mersenne-like numbers as modulus was presented, changing complex mod operation into simple binary shift/add operation; secondly, a fast modulus algorithm mod2 using any positive integers near Mersenne-like numbers as modulus was presented, expanding the modulus value range while simplifying mod operation; and then logic circuits of mod1 and mod2 operations were designed, simplifying mod operation hardware circuit. Finally, the above work was applied to the key exchange of IoT nodes, so as to lower the computing complexity and improve the speed of PKI encryption algorithms. The experiment test results indicate that the speed of DHM key exchange with CZ-Mod algorithm can reach 2.5 to 4 times of that of the conventional algorithm; CZ-Mod algorithm is concise and fits the hardware circuit design for the IoT sensors.

Key words: network security, sensor key, Mersenne number, encrypting operation circuit

CLC Number: