Software and hardware collaborative segmented scanning type Montgomery modular exponentiation computing system and readable storage medium

A computing system and scanning technology, applied in the field of encryption and decryption operations, can solve the problems of low efficiency of large numbers and low modularity and poor flexibility of FPGA, and achieve the effect of improving efficiency, weighing efficiency and reducing the number of calls.

Pending Publication Date: 2022-03-04
NANJING UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to speed up the calculation process of modular exponentiation, many modular exponentiation optimization algorithms need to pre-calculate at the software level before the modular exponentiation calculation, and then pass the calculated value to the FPGA as an input...

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
  • Software and hardware collaborative segmented scanning type Montgomery modular exponentiation computing system and readable storage medium
  • Software and hardware collaborative segmented scanning type Montgomery modular exponentiation computing system and readable storage medium
  • Software and hardware collaborative segmented scanning type Montgomery modular exponentiation computing system and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In the following description, numerous specific details are given in order to provide a more thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without one or more of these details. In other examples, some technical features known in the art are not described in order to avoid confusion with the present invention.

[0053] The specific implementation of the present invention is based on the 256bit Montgomery modular exponentiation (M E modN), the ARM side is used to complete the overall task scheduling, and 2 k The pre-computation and correction coefficients required by the binary scanning algorithm are stored in the specified FPGA address, and the result data is moved out of the FPGA after the calculation is completed. The FPGA side completes computationally intensive tasks and accelerates the calculation of modular exponents. For the specific structure, see figure 1 . ...

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 provides a soft and hard collaborative segmented scanning type Montgomery modular exponentiation calculation system. An ARM processor and FPGA resources are arranged in the SoC platform. The ARM end is mainly used for overall task scheduling and data preprocessing necessary for a system segmentation scanning algorithm. Storing the processed data into a specific address of an SRAM (Static Random Access Memory), and then starting an FPGA (Field Programmable Gate Array) for operation. The FPGA end realizes modular design and comprises an address generation module, a modular inversion module, a CIOS Montgomery modular multiplication module, a segmented scanning type Montgomery modular exponentiation control module and the like. According to the invention, 256-bit modular exponentiation is realized, a 6-bit segmented scanning mode is adopted, and data to be pre-processed is stored in an SRAM (Static Random Access Memory). Specifically, the Montgomery modular multiplication module is realized by adopting a CIOS algorithm, large-bit-width 256-bit multiplication is subjected to 64-bit splitting, the area consumption caused by the large-bit-width multiplication is reduced, meanwhile, the CIOS algorithm is optimized in the streamlined aspect, two original internal loops are subjected to streamlined processing, the two internal loops are completed only by increasing a small number of periods, and the execution efficiency is improved.

Description

technical field [0001] The invention relates to the field of encryption and decryption operations, in particular to a segmented scanning Montgomery modular exponentiation calculation system and a readable storage medium with software and hardware cooperation. Background technique [0002] In recent years, with the development of computers and e-commerce, human beings have entered the information age. Today, with the information explosion, the security requirements for privacy are increasing. People have further requirements for the rapid encryption of information, secure transmission, and confidentiality preservation. Information security is not only related to the safety of the country, the trend of war, economic development and other major aspects, but also related to personal identity information, bank accounts, information transmission and other vital interests. Therefore, the development of cryptography has more urgent needs in the field of electronic information. In cr...

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
IPC IPC(8): G06F7/72
CPCG06F7/722G06F7/723G06F7/728
Inventor 傅玉祥孙玉祥龙威王峰李伟何书专
Owner NANJING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products