Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for encrypting and decrypting ZYNQ chip program mirror image file

An image file, encryption and decryption technology, applied in the information field, can solve the problems of loss of power-off content, increased battery power supply for hardware circuits, and decreased battery performance, and achieves the effect of flexible encryption algorithm, strong practical value, and high security.

Pending Publication Date: 2020-12-25
BEIJING INST OF COMP TECH & APPL
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

BBRAM can support repeated programming, but the content will be lost when power off, so an external battery is required
[0005] Disadvantages of this secure boot: 1. If the key is saved on the eFuse, it only supports one-time programming, and the program cannot be changed once it is started
high cost
2. If the key is stored in BBRAM, the hardware circuit needs to be powered by a battery
In harsh environments, the performance of the battery will decrease, which will cause the risk that the program cannot be loaded
Therefore many devices that do not allow the use of batteries will not be able to use this encryption function
3. If you start the safe mode, you need to disable JTAG, the software will not be able to debug online, if there is a problem with the software, you will not be able to find the cause

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
  • Method for encrypting and decrypting ZYNQ chip program mirror image file
  • Method for encrypting and decrypting ZYNQ chip program mirror image file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0019] figure 1 Shown is a hardware circuit block diagram of the system corresponding to a method for encrypting and decrypting ZYNQ chip program image files, as shown in figure 1 As shown, the hardware circuit module of the solution of the present invention mainly includes: ZYNQ module, DDR circuit, FLASH storage module, reset circuit, power supply circuit, crystal oscillator and various interface circuits.

[0020] Such as figure 1 As shown, the boot process of the non-secure boot mode. Stage 0: After the program is powered on, execute the code in the BootROM of the ZYNQ7000Soc to configure the ARM processor and necessary peripherals. Phase 1: Execute FSBL. FSBL code is usually stored in FLASH, including initiali...

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 relates to a method for encrypting and decrypting a ZYNQ chip program mirror image file, which comprises the following steps that: the ZYNQ chip program mirror image file comprises an uploading program and an application program, the uploading program and the application program are stored in different addresses in a FLASH memory, and the function of the uploading program is dividedinto two parts: the first part is used for starting a timer after the uploading program is electrified; the RS422 interface receives data sent by the upper computer software, judges whether application program mirror image data sent by the upper computer software is received or not according to the frame header, and if effective data is received, closes the timer, sends the received mirror image data to the FPGA to be encrypted and then writes the encrypted mirror image data into an address of the FLASH; after the second part of the uploading program is powered on, valid data sent by the uppercomputer is not received, the timer interrupts the response, and the program jumps; and the uploading program receives the mirror image data of the application program sent by the upper computer, andencrypts and decrypts the mirror image data.

Description

technical field [0001] The invention relates to information technology, in particular to a method for encrypting and decrypting ZYNQ chip program image files. Background technique [0002] With the development of information technology, Zynq-7000Q series programmable Soc devices are more and more used in the military field. Its boot mode is divided into two types: secure boot mode using static memory such as NAND, parallel NOR, serial NOR (QSPI) and SD card. and non-secure boot mode using JTAG or static memory. To use secure boot mode, JTAG needs to be disabled, and online debugging is not possible. [0003] ZYNQ is a new SoC chip launched by Xilinx, which combines FPGA and ARM system. Is a fully programmable embedded platform. The ZYNQ chip contains an AES-256 decryption engine and an HMAC authentication engine, and comes with a secure boot function to protect customers' designs from being stolen. Safe boot process: the first step is to power on the circuit, and ZYNQ s...

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): G06F21/14G06F11/36G06F8/61G06F8/65
CPCG06F21/14G06F11/3656G06F8/63G06F8/65G06F21/107Y02D10/00
Inventor 李妍秦勇
Owner BEIJING INST OF COMP TECH & APPL