摘要
国密算法是国家密码局制定和发布的算法标准,目前已经在电力、能源、通信、金融、交通、政务及个人应用等领域广泛使用。为满足和支持在主机端多线程、多会话、多任务等情况下对密码算法交叉调用的需求,提出一种实现方法,对目前的商密算法实现方式进行修改、调整,使得在采用三段式密码算法调用时能够保持各自独立的中间状态,从而满足多线程、多会话、多任务对国密算法调用的需要。
The Guomi cryptographic algorithm is a series of algorithm standards formulated and issued by the State Cryptography Administration Office of Security Commercial Code Administration(OSCCA).It has been widely used in the fields of electricity,energy,communications,finance,transportation,government affairs and personal applications.In order to meet and support the need for cross-calling of cryptographic algorithms in the host-side multi-thread,multi-session,and multi-task situation,an implementation method is proposed to modify and adjust the current implementation of these commercial encryption algorithms,so that they can maintain independent intermediate states when using three-stage cryptographic algorithm calls,thereby meeting the requirements of multi-thread,multi-session,and multi-task for Guomi algorithm calls.
作者
张小领
谢演
冯乃琪
ZHANG Xiaoling;XIE Yan;FENG Naiqi(Chengdu Javee Microelectronics Co.,Ltd.,Chengdu Sichuan 610041,China)
出处
《通信技术》
2021年第1期188-193,共6页
Communications Technology
基金
国家重点研发计划(No.2017YFB0801900)。
关键词
国密算法
三段式调用
交叉调用
多线程支持
Guomi algorithm
three-stage call
cross-calling
multi-thread support