Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Circuit and method for dynamically generating symmetric cipher with round key

A technology of symmetric cryptography and round key, which is applied in the field of dynamically generating symmetric cryptography by round key, can solve the problems of occupying RAM area and low data throughput rate, and achieve the effect of increasing throughput rate

Active Publication Date: 2018-12-14
WUHAN RUINAJIE ELECTRONICS TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a circuit and method for dynamically generating a symmetric cipher with a round key, which aims to solve the problem that the round key occupies the RAM area in the prior art, and the encryption process needs to wait for all the round keys to be generated before starting , the problem of low data throughput

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Circuit and method for dynamically generating symmetric cipher with round key
  • Circuit and method for dynamically generating symmetric cipher with round key
  • Circuit and method for dynamically generating symmetric cipher with round key

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] figure 1 A specific structural block diagram of a circuit for dynamically generating a symmetric cipher by a round key provided in Embodiment 1 of the present invention is shown. For convenience of description, only parts related to the embodiment of the present invention are shown. In this embodiment, the circuit includes: a round key iteration register file 1, a data iteration register file 2, a first round operation unit 3 and a second round operation unit 4, the round key iteration register file 1 and data iteration The register 2 stack is composed of several 32-bit D flip-flops, the output terminal Q of the round key iteration register stack 1 is connected to the input terminal of the first round operation unit 3, and the output terminal of the first round operation unit 3 is connected to the round key iteration The input end of the register file 1; the output end of the data iteration register file 2 and the output end of the round key iteration register file 1 ar...

Embodiment 2

[0033] figure 2 The implementation flow of the method for dynamically generating a symmetric cipher with a round key provided in Embodiment 2 of the present invention is shown, and the details are as follows:

[0034] In step S201, a clock rising edge is detected in real time.

[0035] In this embodiment, CLK is a clock signal. Before the rising edge of the clock arrives, the data of the output terminal Q of the data iteration register file and the data of the output terminal Q of the round key iteration register file are received after passing through the second round operation unit. Input D on the data iteration register file.

[0036] In step S202, at the rising edge of the clock, the data at the output end of the round key iteration register file is updated by the first round operation unit, and at the same time the output end data of the data iteration register file and the output of the round key iteration register file The terminal data is updated by the second-round...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the technical field of digital circuits, and provides a circuit and a method of using round keys to dynamically generate a symmetric cipher. The circuit comprises a round key iterative register file, a data iterative register file, a first round operation unit and a second round operation unit, wherein an output end of the round key iterative register file is connected with an input end of the first round operation unit; an output end of the first round operation unit is connected with the input end of the round key iterative register file; an output end of the data iterative register file and the output end of the round key iterative register file are connected with an input end of the second round operation unit; an output end of the second round operation unit is connected with an input end of the data iterative register file; the first round operation unit and the second round operation unit are respectively used for updating the round key and the data of the data iterative register file at each clock rising edge. According to the circuit and the method disclosed by the invention, the encryption process can be begun when not all the round keys are generated, so that the RAM can be saved, and the data throughput rate can be increased.

Description

technical field [0001] The invention belongs to the technical field of digital circuits, and in particular relates to a circuit and a method for dynamically generating a symmetric cipher by a round key. Background technique [0002] SMS4 is a block symmetric cipher algorithm for wireless LAN products announced by China National Commercial Cryptography Administration in January 2006. [0003] The Advanced Encryption Standard (AES) is a new security encryption standard released in the early 21st century. Since AES is a replacement for DES, it has been adopted as the de facto cryptographic standard by banking, administration and industry since its adoption as a standard. [0004] Most of the traditional AES algorithm and SMS4 algorithm circuit implementation adopt the round key pre-calculation method, that is, first calculate all the round keys required for each round of operation, store them in RAM, and then take them out one by one when performing round operations. In this ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L9/06
Inventor 陈毅成张明宇郑朝霞资以纯
Owner WUHAN RUINAJIE ELECTRONICS TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products