Fast software implementation of the block cipher uBlock algorithm
CSTR:
Author:
Affiliation:

(School of Cyber Science and Technology, Beihang University, Beijing 100191, China)

Clc Number:

TP309.7

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    To optimize the software implementation of the domestic block cipher uBlock algorithm, the AVX2 instruction set supporting 256 bit data width was implemented, the automatic optimization level of the compiler was increased, optimizing the calling process of functions, and the methods of data storage structure optimization, high-level parallelism and low latency instruction logic optimization were used in order to implement parallel computing under the single-thread condition. Using this efficient combination method, the speed of single key short message encryption of uBlock-128/128 algorithm, uBlock-128/256 algorithm and uBlock-256/256 algorithm are 269%, 182% and 49% higher than the original code. Based on these optimization methods,the implementation of single-key scenario and multi-key scenario are given for three algorithm versions of uBlock-128/128, uBlock-128/256 and uBlock-256/256.

    Reference
    Related
    Cited by
Get Citation

GAO Ying, WANG Longxin, TIAN Lei, HU Yang, ZHANG Yupeng, YAN Yu, WU Qianhong. Fast software implementation of the block cipher uBlock algorithm[J]. Journal of National University of Defense Technology,2024,46(6):96-106.

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:April 06,2022
  • Revised:
  • Adopted:
  • Online: December 02,2024
  • Published: December 28,2024
Article QR Code