《计算机应用》唯一官方网站 ›› 2023, Vol. 43 ›› Issue (11): 3527-3533.DOI: 10.11772/j.issn.1001-9081.2022111690

所属专题: 先进计算

• 先进计算 • 上一篇    下一篇

流密码非线性布尔函数可重构运算单元设计方法RA-NLBF

张宗仁1,2, 戴紫彬1(), 刘燕江1, 张晓磊1   

  1. 1.解放军信息工程大学,郑州 450001
    2.31642部队,云南 临沧 677000
  • 收稿日期:2022-11-15 修回日期:2023-03-07 接受日期:2023-03-20 发布日期:2023-05-12 出版日期:2023-11-10
  • 通讯作者: 戴紫彬
  • 作者简介:张宗仁(1994—),男,湖北襄阳人,硕士研究生,主要研究方向:安全专用芯片设计、可重构计算
    戴紫彬(1966—),男,河南西峡人,教授,博士生导师,博士,主要研究方向:信息安全、体系结构 daizb2004@126.com
    刘燕江(1990—),男,河南南阳人,博士,主要研究方向:安全专用芯片设计、侧信道攻击
    张晓磊(1992—),男,河北青县人,硕士研究生,主要研究方向:安全专用芯片设计。
  • 基金资助:
    “核高基”国家科技重大专项(2018ZX01027101?004)

RA-NLBF: design method of reconfigurable operation unit for stream cipher non-linear Boolean function

Zongren ZHANG1,2, Zibin DAI1(), Yanjiang LIU1, Xiaolei ZHANG1   

  1. 1.PLA Information Engineering University,Zhengzhou Henan 450001,China
    2.Unit 31642 of PLA,Lincang Yunnan 677000,China
  • Received:2022-11-15 Revised:2023-03-07 Accepted:2023-03-20 Online:2023-05-12 Published:2023-11-10
  • Contact: Zibin DAI
  • About author:ZHANG Zongren, born in 1994, M. S. candidate. His research interests include special security chip design, reconfigurable computing.
    DAI Zibin, born in 1966, Ph. D., professor. His research interests include information security, architecture.
    LIU Yanjiang, born in 1990, Ph. D. His research interests include special security chip design, side-channel attacks.
    ZHANG Xiaolei, born in 1992, M. S. candidate. His research interests include special security chip design.
  • Supported by:
    National Science and Technology Major Project(2018ZX01027101-004)

摘要:

分组密码中的S盒(多输出)以及流密码中的反馈函数都需要特殊的布尔函数来保证密码算法的安全性。为解决现有流密码算法中非线性布尔函数(NLBF)可重构硬件运算单元资源占用过大、时钟频率低等问题,提出一种高效的基于与非锥(AIC)的NLBF可重构运算单元设计方法(RA-NLBF)。以密码学理论为基础,在着重分析多种流密码算法的NLBF特性,提取了涵盖与项次数、与项个数、输入端口数等NLBF函数特征的基础上,提出基于“混合极性Reed-Muller(MPRM)”和“传统布尔逻辑(TB)”双逻辑混合形式的NLBF化简方法,NLBF的与项数量减少29%,形成了适用于AIC的NLBF表达式;根据化简后的表达中与项个数、与项次数分布等特征,设计了可重构AIC单元和互联网络,形成可满足现有公开流密码算法中的NLBF运算的可重构单元。基于CMOS 180 nm工艺对提出的RA-NLBF进行逻辑综合验证,结果显示该方法的面积为12 949.67 μm2,时钟频率达到505 MHz,与现有相同功能的单元可重构序列密码逻辑单元(RSCLU)相比,面积减少了59.7%,时钟频率提高了37.3%。

关键词: 流密码, 可重构实现, 非线性布尔函数, 与非锥, 混合极性RM

Abstract:

Both the S-box (multiple outputs) in block ciphers and the feedback function in stream ciphers require special Boolean functions to ensure the security of the cipher algorithm. To solve the problems of excessive resource consumption of reconfigurable hardware operation units and low clock frequency caused by Non-Linear Boolean Function (NLBF) in the existing algorithms of stream cipher, a high-efficiency AIC(And-Inverter Cone)-based design scheme for NLBF reconfigurable operation units was proposed, namely RA-NLBF. Based on the theories of cryptography, after analyzing the NLBF characteristics of various stream cipher algorithms and extracting the function features of NLBF including the times of AND terms, the number of AND terms, and the number of input ports, an NLBF simplification method based on the dual-logic hybrid form of “Mixed Polarity Reed-Muller (MPRM)” and “Traditional Boolean function (TB)” was proposed, which reduced the number of NLBF AND terms by 29% and formed an NLBF expression suitable for the AIC. Based on the simplified expression characteristics, such as the distribution of the number of AND terms and the times of AND terms, reconfigurable AIC units and interconnection networks were designed to form the reconfigurable units that can satisfy the NLBF operation in the existing public stream cipher algorithms. The proposed RA-NLBF was verified by logic synthesis based on CMOS 180 nm technology, and the results show that the area of RA-NLBF is 12 949.67 μm2, and the clock frequency reaches 505 MHz, which is a 59.7% reduction in area and a 37.3% increase in clock frequency compared with Reconfigurable Logic Unit for Sequence Cryptographic (RSCLU), an existing method with the same function.

Key words: stream cipher, reconfigurable implementation, Non-Linear Boolean Function (NLBF), And-Inverter Cone (AIC), Mixed Polarity Reed-Muller (MPRM)

中图分类号: