摘要: 基于片上操作系统(COS)的Hash函数可扩展性较差。针对该问题,提出一种可重构的Hash接口方法。该方法引入面向对象的概念,由Hash算法接口与Hash算法设置接口2个部分组成,利用存储在EEPROM中的Hash算法设置接口对Hash算法接口进行实例化,使之具备密码服务功能。验证结果表明,该方法具有较强拓展性,能够达到预期设计目标。
关键词:
Hash算法,
可重构,
密码服务,
算法接口
Abstract: To solve the problem of the Hash algorithm expansibility based on the Chip Operating System(COS), a flexible Hash interface is designed. The interface which takes the object-oriented thought is made up by Hash algorithm interface and Hash algorithm setting interface. The Hash algorithm interface is set by the Hash algorithm setting interface, which is stored in the EEPROM, to be an instance and has the capability to provide the cryptographic service. The results of experiment show that Hash interface has good expansibility to add other algorithms, and get the purpose to design it.
Key words:
Hash algorithm,
reconfigurable,
cryptographic service,
algorithm interface
中图分类号:
郑斌, 李峥, 王瑞蛟. 基于COS的Hash接口设计与实现[J]. 计算机工程, 2011, 37(24): 136-137.
ZHENG Bin, LI Zheng, WANG Rui-Jiao. Design and Implementation of Hash Interface Based on COS[J]. Computer Engineering, 2011, 37(24): 136-137.