Acta Scientiarum Naturalium Universitatis Pekinensis

Previous Articles     Next Articles

Optimize Cryptographic Symmetric Primitives Performance

LIU Yong, CHEN Yu, CHEN Zhong>1   

  1. 1Institute of Software,School of Electronic Engineering and Computer Science,Peking University; Key Laboratory of High Confidence Software Technologies,Ministry of Education,Beijing 100871;
  • Received:2007-09-20 Online:2008-09-20 Published:2008-09-20

对称密码算法的性能优化

刘勇,陈宇,陈钟1   

  1. 1北京大学信息科学技术学院软件研究所,高可信软件技术教育部重点实验室,北京100871;

Abstract: How to optimize AES-128, SHA-256, SHA-512 and Whirlpool algorithms on Loongson-2E is discussed The corresponding optimize techniques are raised for the four algorithms, and the optimized results are analyzed The programs are, to the best knowledge, the fastest implementations on Loongson-2E This paper also proposed several new instructions for speedup symmetric primitives and a parallel hash function mode

Key words: Loongson-2E, Hash function, symmetric primitives, SHA, AES, fast implementation

摘要: 选择AES-128,SHA-256,SHA-512和Whirlpool4个目前应用最为广泛的对称算法进行优化。首次讨论了如何在龙芯2E通用处理器上优化对称密码算法。针对每种算法提出了具体的优化技术,并对优化后的结果进行了分析。优化后所获得的性能是目前已知的龙芯处理器上的最好结果。针对对称密码算法,给出了龙芯2E新指令扩展的建议和一个新的并行Hash函数模式。

关键词: 龙芯2E, Hash函数, 对称密码算法, SHA, AES, 快速实现

CLC Number: