作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (21): 105-107. doi: 10.3969/j.issn.1000-3428.2011.21.036

• 安全技术 • 上一篇    下一篇

有限域模乘专用指令设计

刘建国,张 军,杨晓辉,戴紫彬   

  1. (解放军信息工程大学电子技术学院,郑州 450004)
  • 收稿日期:2011-05-09 出版日期:2011-11-05 发布日期:2011-11-05
  • 作者简介:刘建国(1960-),男,副教授,主研方向:密码学,信息安全;张 军,硕士研究生;杨晓辉,博士研究生;戴紫彬,教授
  • 基金资助:
    国家“863”计划基金资助项目(2008AA01Z103)

Design of Dedication Instruction for Finite Field Modular Multiplication

LIU Jian-guo, ZHANG Jun, YANG Xiao-hui, DAI Zi-bin   

  1. (Institute of Electronic Technology, PLA Information Engineering University, Zhengzhou 450004, China)
  • Received:2011-05-09 Online:2011-11-05 Published:2011-11-05

摘要: 针对椭圆曲线密码算法中有限域模乘运算的需求,提出其专用模乘指令。利用指令域中的组参数实现算法多组模乘运算,通过对参数进行配置,使指令支持运算长度拓展,在模乘运算单元中实现Montgomery模乘算法,并设计素域和二进制域统一的硬件流水线,以及双域乘法器单元结构。实验结果表明,该有限域模乘指令和硬件运算单元具有较高的执行效率和较好的灵活性。

关键词: 有限域, 模乘, 专用指令, Montgomery算法, 向量

Abstract: Analysis of finite field modular multiplication requirement of Elliptic Curve Cryptography(ECC), the application specific instruction for modular multiplication computation is designed in this paper. It uses group parameters in instruct inside the country to realize multigroup modular multiplication, and by means of parameters disposition to support operation length expanding. The corresponding hardware actually adopts Montgomery modular multiplication algorithm and unified pipeline architecture in dual fields. Experimental results show that, the modular multiplication instruction and hardware unit presented in this paper can achieve high performance and guarantee high flexibility.

Key words: finite field, modular multiplication, dedication instruction, Montgomery algorithm, vector

中图分类号: