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

›› 2004, Vol. 30 ›› Issue (06): 12-.

• 论文 • 上一篇    下一篇

二进制域运算在DSP上的优化

张茹,刘明业   

  1. 北京理工大学计算机系 903实验室,厦门大学计算机与信息工程学院 北京 100081
  • 发布日期:2004-03-25

Optimizing Binary Field Arithmetics on DSP

ZHANG Ru1,LIU Mingye2   

  1. (1.Lab 903, Dept.of Computer Science & Technology, Beijing Institute of Technology, Beijing 100081; 2.Computer & Information Engineering School, Xiamen University, Xiamen 361005)
  • Published:2004-03-25

摘要: 主要研究二进制域运算在DSP上的实现。通过设置多个中间变量,实现了对数组的并行计算,将最佳正规基模乘算法提高到6级流水。重构almost inversion多项式基模逆算法结构,消除跳转语句,实现程序设计模块化。在TMS320C6201上执行113位和191位算法证实确实提高了模乘和模逆两种运算的速度。以循环移位取代乘法的模乘算法,限制了C6201的流水深度。

关键词: 椭圆曲线加密, 二进制域, 域运算, 模乘, 模逆, DSP

Abstract: This paper mainly discusses how to implement binary field arithmetics on DSP. By setting several middle variables, the parallel computation of arrays are implemented, which improves the streamline of optical normal basis modular multiplication method to six levels. The structure of polynomial basis modular inversion method, almost inversion, is reconstructed, and goto statements are deleted, to realize modularization of program design. It is proved that the speeds of modular multiplication and inversion method are both improved by performing 113 bits and 191 bits methods on TMS320C6201. The modular multiplication method, of which rotating shifts replace multiplications, limits the depth of C6201's streamline.

中图分类号: