CN112291237A - Reconfigurable symmetric encryption method for realizing software definition based on domestic FPGA - Google Patents

Reconfigurable symmetric encryption method for realizing software definition based on domestic FPGA Download PDF

Info

Publication number
CN112291237A
CN112291237A CN202011173773.1A CN202011173773A CN112291237A CN 112291237 A CN112291237 A CN 112291237A CN 202011173773 A CN202011173773 A CN 202011173773A CN 112291237 A CN112291237 A CN 112291237A
Authority
CN
China
Prior art keywords
reconfigurable
encryption
instruction
software
decryption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011173773.1A
Other languages
Chinese (zh)
Inventor
于治楼
沈忱
耿士华
陈亮甫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN202011173773.1A priority Critical patent/CN112291237A/en
Publication of CN112291237A publication Critical patent/CN112291237A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7867Architectures of general purpose stored program computers comprising a single central processing unit with reconfigurable architecture
    • G06F15/7871Reconfiguration support, e.g. configuration loading, configuration switching, or hardware OS
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7867Architectures of general purpose stored program computers comprising a single central processing unit with reconfigurable architecture
    • G06F15/7885Runtime interface, e.g. data exchange, runtime control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The invention designs a reconfigurable symmetrical encryption method for realizing software definition based on a domestic FPGA. The software-defined reconfigurable data symmetric encryption structure drives and controls hardware resources through self-defined software in a system host, different cryptographic algorithms can be selected to complete dynamic reconfiguration to encrypt and decrypt data in real-time operation according to a control command sent by the system host, and the system host is connected with a reconfiguration controller and can complete updating of the cryptographic algorithm configuration file through transmitting the cryptographic algorithm configuration file through Ethernet. The technology completely meets the requirements of definable requirement, reconfigurable hardware, reconfigurable software and reconfigurable function in software definition.

Description

Reconfigurable symmetric encryption method for realizing software definition based on domestic FPGA
Technical Field
The invention relates to the field of encryption, in particular to a reconfigurable symmetric encryption method for realizing software definition based on a domestic FPGA (field programmable gate array).
Background
The research of the FPGA reconfigurable technology starts late, but some remarkable achievements are achieved in recent years after more and more colleges and scientific research institutions are added into the research queue of the FPGA reconfigurable technology. Wu Wenbo, the university of electronic technology in 2016, proposes a design scheme of a radar timer system based on an FPGA local dynamic reconfigurable technology, and the design scheme fully applies the design idea of a local reconfigurable method on the existing logic level of the radar timer and uses the local dynamic reconfigurable technology to realize reconstruction of the radar timer. The signal generated by the radar timer becomes a programmable signal by using the FPGA reconfigurable technology, and the flexibility is great. The Baoshuang of the university of Beijing industry in 2017 applies the FPGA reconfigurable technology to the field of industrial controllers. The industrial controller communicates with various control devices by using a field bus, however, with the development of the industrial field bus, the types of communication protocols are continuously increased, and the realization of an industrial controller with complete functions and strong universality faces huge challenges. The FPGA reconfigurable industrial controller with the Baoshuang design can realize the seamless switching between different communication protocols without power failure, and greatly improves the real-time property, the universality, the flexibility and the expandability of the industrial controller. In addition, the FPGA reconfigurable technology has wide application in other fields. Such as: adaptive hardware systems, wireless video encoders, adaptive Viterbi decoders, encryption applications, network remote reconstruction, and the like.
Disclosure of Invention
The invention aims to provide a reconfigurable symmetric encryption method for realizing software definition based on a domestic FPGA, and the method improves the real-time property, the universality, the flexibility and the expandability.
In order to achieve the purpose, the invention is realized by the following technical scheme:
a reconfigurable symmetric encryption method for realizing software definition based on a domestic FPGA comprises the following steps:
1) the user-defined software is responsible for sending a reconstruction control instruction, receiving a returned reconstruction state and transmitting a password algorithm configuration file;
2) the configuration file memory is used for storing logic configuration files of various encryption and decryption algorithms and is configured into an on-chip reconfigurable configuration partition through the reconfiguration controller during reconfiguration;
3) the reconfigurable area is composed of an encryption and decryption module and a reconfigurable high-speed protocol controller, the encryption and decryption module is composed of a cryptographic algorithm dynamic reconfigurable module for realizing encryption and decryption tasks and the like and a static non-reconfigurable module for data management and the like, and the encryption and decryption module is used for designing corresponding hardware logic to complete functions of managing a system clock, controlling data communication, working states and the like by using a reconfigurable area carrier;
4) the encryption and decryption module controls dynamic writing of configuration files, dynamic scheduling of configuration tasks and transmission of internal data by using the reconfiguration controller.
Preferably, the data path has two data paths, one is a data path in an unencrypted normal working state, and the other is an encryption/decryption data path after the user-defined software sends out an encryption instruction to complete dynamic reconstruction of a cryptographic algorithm.
Preferably, the control program of the dynamic reconfigurable hardware acceleration controller comprises the following steps:
1) starting a storage function, and waiting for the system host to self-define software to send an instruction;
2) judging whether a reconstruction instruction is received or not, if not, continuing to wait, if so, continuing to analyze the reconstruction instruction and generate a control signal, once sending a storage stop working instruction to the data management module, sending a configuration information transmission instruction to the configuration file storage, and sending a reconstruction starting instruction to the cryptographic algorithm reconstruction module;
3) judging whether the reconstruction is finished or not, if not, continuing to wait, and if so, sending a starting data encryption and decryption instruction to the data management module;
4) and judging whether the encryption and decryption are started successfully or not, if not, continuing to wait, and if so, sequentially sending a storage starting working instruction to the data management module and returning a completion state to the system host self-defined software.
The invention has the advantages that: the method can realize that corresponding logic is configured in a specified logic resource area according to different requirements of custom software during real-time operation, and the logic unit and the interconnection unit are correspondingly modified, thereby realizing the functions of encryption and decryption or direct storage of different cryptographic algorithms of data.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention.
Fig. 1 is a reconfigurable data symmetric encryption overall structure of the invention.
FIG. 2 is a flowchart of the dynamic reconfiguration control system program of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The structure of the invention is mainly completed by the cooperation of four parts of custom software, a configuration file memory, a reconfiguration controller and a reconfigurable area in a system host. The custom software is mainly responsible for sending a reconstruction control instruction, receiving a returned reconstruction state and transmitting a password algorithm configuration file. The configuration file memory is used for storing logic configuration files of various encryption and decryption algorithms, and the logic configuration files are configured into the on-chip reconfigurable configuration partition through the reconfiguration controller during reconfiguration. The reconfigurable area is the key for stable operation of the dynamic reconfigurable process and consists of an encryption and decryption module and a reconfigurable high-speed protocol controller. The encryption and decryption module consists of a dynamic reconfigurable module for realizing cryptographic algorithms such as encryption and decryption tasks and a static non-reconfigurable module for data management and the like. The encryption and decryption module is used for reconstructing a regional carrier, designing corresponding hardware logic to complete functions of managing a system clock, controlling data communication, working state and the like, and controlling functions of dynamic writing of configuration files, dynamic scheduling of configuration tasks, transmission of internal data and the like by using a reconstruction controller. The method can realize that corresponding logic is configured in a specified logic resource area according to different requirements of custom software during real-time operation, and the logic unit and the interconnection unit are correspondingly modified, thereby realizing the functions of encryption and decryption or direct storage of different cryptographic algorithms of data. The overall structure of the reconfigurable data symmetric encryption structure is shown in fig. 1.
The whole structure has two data paths, one is a data path in a non-encrypted normal working state, and the other is an encryption and decryption data path after the user-defined software sends out an encryption instruction to complete dynamic reconstruction of a cryptographic algorithm. Before the whole framework is operated, the configuration file of the cryptographic algorithm is required to be interconnected with the reconstruction controller through custom software, and the configuration file of the cryptographic algorithm is written into a configuration file storage.
After the software-defined reconfigurable data symmetric encryption overall architecture design is completed, the design of a control program in a dynamic reconfigurable hardware acceleration controller needs to be performed to meet the software-defined dynamic reconfigurable functional requirements, and the flow of the dynamic reconfigurable control program is shown in fig. 2.

Claims (3)

1. A reconfigurable symmetric encryption method for realizing software definition based on a domestic FPGA is characterized by comprising the following steps:
1) the user-defined software is responsible for sending a reconstruction control instruction, receiving a returned reconstruction state and transmitting a password algorithm configuration file;
2) the configuration file memory is used for storing logic configuration files of various encryption and decryption algorithms and is configured into an on-chip reconfigurable configuration partition through the reconfiguration controller during reconfiguration;
3) the reconfigurable area is composed of an encryption and decryption module and a reconfigurable high-speed protocol controller, the encryption and decryption module is composed of a cryptographic algorithm dynamic reconfigurable module for realizing encryption and decryption tasks and the like and a static non-reconfigurable module for data management and the like, and the encryption and decryption module is used for designing corresponding hardware logic to complete functions of managing a system clock, controlling data communication, working states and the like by using a reconfigurable area carrier;
4) the encryption and decryption module controls dynamic writing of configuration files, dynamic scheduling of configuration tasks and transmission of internal data by using the reconfiguration controller.
2. The reconfigurable symmetrical encryption method for realizing software definition based on the domestic FPGA according to claim 1, wherein the data path comprises two data paths, one is a data path in a non-encrypted normal working state, and the other is an encryption/decryption data path after the custom software sends an encryption instruction to complete dynamic reconfiguration of a cryptographic algorithm.
3. The method for realizing software-defined reconfigurable symmetric encryption based on the domestic FPGA according to claim 1, wherein the control program of the dynamic reconfigurable hardware acceleration controller comprises the following steps:
1) starting a storage function, and waiting for the system host to self-define software to send an instruction;
2) judging whether a reconstruction instruction is received or not, if not, continuing to wait, if so, continuing to analyze the reconstruction instruction and generate a control signal, once sending a storage stop working instruction to the data management module, sending a configuration information transmission instruction to the configuration file storage, and sending a reconstruction starting instruction to the cryptographic algorithm reconstruction module;
3) judging whether the reconstruction is finished or not, if not, continuing to wait, and if so, sending a starting data encryption and decryption instruction to the data management module;
4) and judging whether the encryption and decryption are started successfully or not, if not, continuing to wait, and if so, sequentially sending a storage starting working instruction to the data management module and returning a completion state to the system host self-defined software.
CN202011173773.1A 2020-10-28 2020-10-28 Reconfigurable symmetric encryption method for realizing software definition based on domestic FPGA Pending CN112291237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011173773.1A CN112291237A (en) 2020-10-28 2020-10-28 Reconfigurable symmetric encryption method for realizing software definition based on domestic FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011173773.1A CN112291237A (en) 2020-10-28 2020-10-28 Reconfigurable symmetric encryption method for realizing software definition based on domestic FPGA

Publications (1)

Publication Number Publication Date
CN112291237A true CN112291237A (en) 2021-01-29

Family

ID=74373095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011173773.1A Pending CN112291237A (en) 2020-10-28 2020-10-28 Reconfigurable symmetric encryption method for realizing software definition based on domestic FPGA

Country Status (1)

Country Link
CN (1) CN112291237A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836080A (en) * 2021-09-23 2021-12-24 合肥芯荣微电子有限公司 Computer system with software reconfigurable processor circuit and method thereof
CN114047948A (en) * 2021-11-08 2022-02-15 可信计算科技(无锡)有限公司 Reconfigurable trusted cryptographic module simulator, implementation method and simulation reconstruction method
CN114124389A (en) * 2021-11-09 2022-03-01 国网山东省电力公司电力科学研究院 Reconfigurable computing-based national cryptographic algorithm FPGA deployment method and system
CN116541898A (en) * 2023-07-07 2023-08-04 山东多次方半导体有限公司 FPGA-based reconfigurable password card design method for realizing multiple algorithms

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495980A (en) * 2011-11-25 2012-06-13 中国航天科工集团第二研究院七〇六所 Credible password module capable of reconstructing dynamically
CN104572213A (en) * 2015-01-23 2015-04-29 北京控制工程研究所 Reconstruction method of satellite-borne control computer
CN106775869A (en) * 2016-12-16 2017-05-31 四川九洲电器集团有限责任公司 A kind of loading method and terminal device
CN106789006A (en) * 2016-11-28 2017-05-31 范睿心 A kind of decryption method and system
CN109101829A (en) * 2018-08-28 2018-12-28 北京计算机技术及应用研究所 Safe solid-state disk data transmission system based on restructural cipher processor
CN109739833A (en) * 2018-12-18 2019-05-10 山东超越数控电子股份有限公司 A kind of Domestic Platform database accelerator system and method based on FPGA
CN110989417A (en) * 2019-10-29 2020-04-10 西南电子技术研究所(中国电子科技集团公司第十研究所) Period detection system adaptive to FPGA local reconstruction
CN111274183A (en) * 2020-02-21 2020-06-12 山东超越数控电子股份有限公司 Multi-path high-speed protocol interface dynamic reconfigurable system and implementation method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495980A (en) * 2011-11-25 2012-06-13 中国航天科工集团第二研究院七〇六所 Credible password module capable of reconstructing dynamically
CN104572213A (en) * 2015-01-23 2015-04-29 北京控制工程研究所 Reconstruction method of satellite-borne control computer
CN106789006A (en) * 2016-11-28 2017-05-31 范睿心 A kind of decryption method and system
CN106775869A (en) * 2016-12-16 2017-05-31 四川九洲电器集团有限责任公司 A kind of loading method and terminal device
CN109101829A (en) * 2018-08-28 2018-12-28 北京计算机技术及应用研究所 Safe solid-state disk data transmission system based on restructural cipher processor
CN109739833A (en) * 2018-12-18 2019-05-10 山东超越数控电子股份有限公司 A kind of Domestic Platform database accelerator system and method based on FPGA
CN110989417A (en) * 2019-10-29 2020-04-10 西南电子技术研究所(中国电子科技集团公司第十研究所) Period detection system adaptive to FPGA local reconstruction
CN111274183A (en) * 2020-02-21 2020-06-12 山东超越数控电子股份有限公司 Multi-path high-speed protocol interface dynamic reconfigurable system and implementation method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113836080A (en) * 2021-09-23 2021-12-24 合肥芯荣微电子有限公司 Computer system with software reconfigurable processor circuit and method thereof
CN114047948A (en) * 2021-11-08 2022-02-15 可信计算科技(无锡)有限公司 Reconfigurable trusted cryptographic module simulator, implementation method and simulation reconstruction method
CN114124389A (en) * 2021-11-09 2022-03-01 国网山东省电力公司电力科学研究院 Reconfigurable computing-based national cryptographic algorithm FPGA deployment method and system
CN114124389B (en) * 2021-11-09 2023-08-11 国网山东省电力公司电力科学研究院 Reconfigurable computing-based FPGA (field programmable Gate array) deployment method and system
CN116541898A (en) * 2023-07-07 2023-08-04 山东多次方半导体有限公司 FPGA-based reconfigurable password card design method for realizing multiple algorithms
CN116541898B (en) * 2023-07-07 2023-10-13 山东多次方半导体有限公司 FPGA-based reconfigurable password card design method for realizing multiple algorithms

Similar Documents

Publication Publication Date Title
CN112291237A (en) Reconfigurable symmetric encryption method for realizing software definition based on domestic FPGA
CN103180817B (en) Memory expansion unit and server
CN103036736B (en) A kind of configuration equipment monitoring system based on data source and method
CN106648896B (en) Method for dual-core sharing of output peripheral by Zynq chip under heterogeneous-name multiprocessing mode
CN103747024A (en) Intelligent interactive robot system based on cloud computing and interactive method
CN111625496B (en) Deployment method, device and equipment of distributed file system in virtual machine environment
CN104657308A (en) Method for realizing server hardware acceleration by using FPGA (field programmable gate array)
CN102388583B (en) Series rate allocation method, relative device and system
CN111625497B (en) Deployment method, device and equipment of distributed file system and storage medium
JPWO2003023602A1 (en) Data processing system and control method thereof
CN102253860A (en) Asynchronous operation method and asynchronous operation management device
CN103034295A (en) Input/output capability-enhanced reconfigurable micro-server
Alam Tactile internet and its contribution in the development of smart cities
CN109582479B (en) OpenDDS distributed communication method based on reflective memory card
CN104919425A (en) Systems and methods for device-to-cloud message delivery
CN112912862A (en) Data system on module (DSoM) for connecting computing device and cloud-based service
WO2024032785A1 (en) Wireless transmission method, computer device, and storage medium
CN105578505A (en) State management method of wireless communication module and wireless communication module
CN111740960A (en) Communication method of Internet of things equipment, Internet of things equipment and storage medium
CN113225250A (en) Gateway system and information transceiving method
Yao et al. A dynamic reconfigurable design of multiple cryptographic algorithms based on FPGA
CN109358520B (en) Local dynamic unlocking system for smart home Internet of things
CN110781506A (en) Operation method, operation device and operation system of virtualized FPGA
CN214335545U (en) Production line control system
CN114356830B (en) Bus terminal control method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210129

RJ01 Rejection of invention patent application after publication