A method of data stream encryption, which uses the hardware module of a chip to perform data encryption and high-speed transmission, with higher security and faster transmission speed. It can be implemented either by FPGA or by designing a dedicated integrated circuit. This method abandons the traditional data passing in and out by CPU transport mode, but uses the hardware module in the chip to realize the process of encryption and transmission. Each step is responsible for the special hardware module. The special algorithm module completes the fast encryption of data stream, the high-speed transmission interface completes the data transmission, and the large amount of data can flow truly and safely. Encrypted at the same time in high-speed transmission, so as to achieve real-time encryption of data stream transmission, to meet the security, mobile storage, secure communications and other fields of speed and security requirements.
【技术实现步骤摘要】
【技术保护点】
1.一种数据流加密的方法,其特征在于,采用高速的通讯接口、高速的加解密模块、接收模块、发送模块和内存或存储器配合,对同一流动方向接收和发送的数据流进行分离处理,完成数据流的打包接收、加密或解密和发送,高速接口采用双端口的方式,具体步骤如下:每个功能模块分别对应一个内存,在第n个周期接收到的数据包存放在内存内;在第n+1个周期,将内存切换对应到加密或解密模块,对明文或密文数据加密或解密;在第n+2个周期,再将内存切换对应到发送模块,并将内存中的明文或密文发送出去,完成同一个数据包的处理过程;为实现流水线工作方式,在同一个周期内,同时处理3个数据包,在第n个周期接收数据到内存1,加密或解密内存2中的数据,并同时将内存3中的数据发送出去;在第n+1个周期中,内存1切换到加密或解密模块,内存2切换到发送模块,而内存3切换到接收模块,这3个功能模块再分别对相应的数据进行处理,以保证平均一个处理周期处理一个数据包,实现的流水线工作方式;采用先进先出FIFO存储器的处理步骤如下:数据接收模块在收到数据后立刻将数据发送到第一FIFO存储器中,只要第一FIFO存储器不满,就继续接收新的数据,加密模块从第 ...
【技术特征摘要】
【专利技术属性】
技术研发人员:万海山,孙强,朱启超,李栋,苗功勋,欧钰鹏,
申请(专利权)人:山东中孚信息产业股份有限公司,
类型:发明
国别省市:88
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。